Web Service Returning DataSets Error

E

Efren Alcuizar

Hi!
I find it awkward that some of my methods returning a typed dataset runs
ok. While some throws an error saying 'object not set to an instance...' I
debugged the web service though but even right at the return statement the
typed dataset is instantiated. The inner exception includes something about
being unable to deserialize.
As I understood, when the typed dataset reached the client, the client
was not able to deserialize it back. What could be the possible cause for
this and work arounds? Is there something that you have to do with a typed
dataset before returning it via a web method?
Thanks!
 
J

jun_alki

I got it. It produces such error only if I used the ImportRow to add new
rows to the dataset. When I tried just filling it nothing seems to go
wrong.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,432
Messages
2,571,680
Members
48,796
Latest member
Greg L.

Latest Threads

Top