I'm trying to do an insert and update of a record in a serviced component.
When I call these methods, I get an InvalidCastException: Unable to cast
object of type System.__ComObject to type System.Data.DataSet. Inside these
methods, there's really just the basic insert/update stuff. Attaching to my
component doesn't work anymore. So I can't step through the code. Executing
a select works well.
I'm using framework 1.1.
Where does this error come from? Is this some problem with datasets and
serviced components?
Thanks in advance,
Pieter
Pieter - 05 Aug 2003 09:07 GMT
I've just discovered that when I call a method of a serviced component with
a dataset as parameter I always get an error, even if this method contains
some dummy code.
Is this a bug in .Net?
Pieter
> I'm trying to do an insert and update of a record in a serviced component.
> When I call these methods, I get an InvalidCastException: Unable to cast
[quoted text clipped - 10 lines]
> Thanks in advance,
> Pieter