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

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
 
G

Guilherme Magalhães [MVP]

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
 
S

S. Berwanger

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
 
C

CenGenTech

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top