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

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.
dotnetlifeAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

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

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
dotnetlifeAuthor 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!




0
dotnetlifeAuthor Commented:
You were absolutely right!

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

Thanks a lot!

0
PockyMasterCommented:
you're welcome!
0
dotnetlifeAuthor Commented:
Thanks again PockyMaster...
Let me grade you :)
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
.NET Programming

From novice to tech pro — start learning today.