all groups > iis security > october 2004 >
You're in the

iis security

group:

IIS 6.0 400 - Bad Request with an ISAPI DLL



IIS 6.0 400 - Bad Request with an ISAPI DLL Sofia Katchi
10/7/2004 3:44:27 PM
iis security: I have an ISAPI DLL that runs fine under IIS 5 / 5.1.
Recently bumped up to IIS 6 and now I am getting
intermittent 400 "Bad Request" errors. The client
performs web requests through XMLHTTP only. I've tried
to connect with the client on 2000 and 2003 and get the
same problem. After about 5-6 web requests (HTTP GET in
all cases) I'll come back with a 400. I assume that
XMLHTTP is sending RFC 2616 compliant HTML (using CRLF
instead of just CR) but I don't know how I can determine
this categorically. Either way, if it wasn't sending
good HTML then it should always fail, not fail
intermittently.

What is happening is the client EXE is caching a number
of tables from the server during the client's start up
process. The HTML requests are coming in rapid
succession from the same client. Again this server works
fine on IIS 5 / 5.1 (Win 2000, XP and XP SP2).

The ISAPI is runing in IIS 5 compatibility mode in "Low"
isolation mode (same problem occurs in "Medium" mode).
Re: IIS 6.0 400 - Bad Request with an ISAPI DLL Sofia Katchi
10/8/2004 9:23:24 AM
No, all it tells me is 400 bad request. No details.

Sofia


[quoted text, click to view]
Re: IIS 6.0 400 - Bad Request with an ISAPI DLL Sofia Katchi
10/8/2004 1:56:53 PM
No server extensions.

The error is always a 400, never a 404. I'm trying to
set up an ISAPI filter to grab the raw data
(SF_NOTIFY_READ_RAW_DATA) so I can pull the complete
request. It's very odd; sometimes the client will 400 on
the very first request, other times it will go for 3-4,
maybe even 6-7 requests before 400-ing. I'm convinced
the problem is on the client side but the client uses
IXMLHTTP (MSXML3.DLL). It's straight HTTP (not HTTPS)
and it's inside the intranet.

-Sofia

[quoted text, click to view]
Re: IIS 6.0 400 - Bad Request with an ISAPI DLL Ken Schaefer
10/8/2004 2:30:16 PM
Hmm - anything in the httperr.log file on the webserver?

Cheers
Ken


[quoted text, click to view]

Re: IIS 6.0 400 - Bad Request with an ISAPI DLL BJM
10/8/2004 5:25:35 PM
Just a thought

Under web service extensions in the IIS management console

Have you allowed ISAPI extensions. In 2003/IIS6 unknown ISAPI extensions
are redirected to a 404 page in the same way that they were sent by the IIS
lockdown tool in IIS 5/5.1

Barry
[quoted text, click to view]

AddThis Social Bookmark Button