IIS Error: Server found request content type to be 'text/html', but expected 'text/xml'

  • Thread starter Thread starter S. Berwanger
  • Start date Start date
S

S. Berwanger

Hallo NG,

I have a PDA application (WinCE 4.2) which using a XML-Webservice for data
exchanging.
Both parts are developed with VS2003. When I'm using IIS5.1 the system runs
without problems.
But if I use an Win2003 Server with IIS6 for my webservice I am receiving
the error:
Server found request content type to be 'text/html', but expected 'text/xml'

In the logfile I have found:
.... 80 HTTP/1.1 POST /xxx/yyy.asmx%00 400 - URL
.... 80 HTTP/0.0 Invalid - 400 - Verb

I can not understand why the the PDA application works with IIS5.1 and not
with IIS6.0.
Any Help?

Thanks in advance and best regards
Siegfried
 
Hi!

Do you have an proxy server between your device and the IIS server? ISA
Server used to mess with some HTTP requests if misconfigured.

Cheers,

Guilherme Magalhães
 
Hallo Guilherme,

Thank you for your considerations, but there is not a proxy in the LAN.
I think the Error message is not real the problem. The problem is the URL
with "%00".
IIS 5.1 accepts this and IIS 6.0 not. I must searching why the URL isn't
okay.

Best regards
Siegfried
 
Guilherme said:
Hi!

Do you have an proxy server between your device and the IIS server? ISA
Server used to mess with some HTTP requests if misconfigured.

Cheers,

Guilherme Magalhães
 
Back
Top