Community discussion forum

ASP .NET Web Service Error Message ,"Client found response content type of 'text/html; charset=utf-8', but expected 'text/xml'."

  • 2 months ago

    Hi, I am calling a Web Service through my code aynchronously. Code is working perfectly fine in the local enviorment but when i put in the production , I get this message

    'Client found response content type of 'text/html; charset=utf-8', but expected 'text/xml''. I have checked all the permessins and given anonmyous access permisson too , but too no avail. Any idea experts ??

    Post was edited on 31/08/2009 15:22:42 Report abuse
  • 2 months ago

    Hi Vikram, you may get this error , when the web service , u r calling to , is down at thr end and that web service's virtual directory is pointing to wrong version. i mean suppose that ws is written in .net 2.0 and its virtual directory is pointing to 1.1 in IIS of that machine ,where that web service is installed.... in this case..u will get the error what ever u r getting right now....

Post a reply

Enter your message below

Sign in or Join us (it's free).

We'd love to hear what you think! Submit ideas or give us feedback