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 asked
Medium Priority
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.
Watch Question

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


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!


You were absolutely right!

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

Thanks a lot!

you're welcome!


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

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