We help IT Professionals succeed at work.

How to solve "Error Message : There is an error in XML document (146, 7144)" when a web service method is called?

dotnetlife
dotnetlife asked
on
Medium Priority
571 Views
Last Modified: 2013-11-26
Hi Experts,
In my Visual Studio 2003 ASP.NET app, when I try to call a web service method, I get this error:
Error Message : There is an error in XML document (146, 7144).

I get this error in my local machine and production server with same parameters.

However when I try to execute the web service (with the same parameters as above) using 'Web Service Studio' tool, I get the intended data (XML)

Could anyone please let me know what I am not doing correctly?

If I'm not clear, please let me know.

Many thanks in advance.
Comment
Watch Question

does your webservice build correctly?
have you tried refreshing your web reference?

Author

Commented:
Thanks a lot for your reply, PockyMaster.

Yes, my web svc does build correctly.

I was just trying to refresh the web ref, pal...

Will let you know after I complete it...

Thanks again!




Author

Commented:
You were absolutely right!

Refreshing the web ref seems to have solved the pblm!!!

Thanks a lot!

you're welcome!

Author

Commented:
Thanks again PockyMaster...
Let me grade you :)

Explore More ContentExplore courses, solutions, and other research materials related to this topic.