Last post Feb 04, 2014 05:32 PM by dhoover50
May 04, 2005 10:20 PM|gsd|LINK
When i try to contact my web service , it is giving the following error:
Client found response content type of 'text/html; charset=utf-8', but expected 'text/xml'.
How can i solve this?
May 05, 2005 02:24 AM|BruceJohnson|LINK
May 05, 2005 10:07 AM|MatinSayed|LINK
i think, the problem lies in web.config file.
try to do the following :
if there is no spaces and the first line of the web.config looks ok then, try to remove the web.config file and add new web.config file
hope this will solve ur problem.
Feb 04, 2014 05:32 PM|dhoover50|LINK
After researching this problem it was found that the fault lies in the timout values in the web server.
<executionTimeout value="-1" />
<httpRuntime maxRequestLength="102400" executionTimeout="2700"/>