On 14 feb, 19:38, "joris.spr...@gmail.com" <joris.spr... DeleteThis @gmail.com>
wrote:
> Hi,
>
> Not sure this is the right place to ask, since the issue is not with
> IIS.
> We develop an application in .NET that hosts web services using
> HttpListener.
> The application has already been deployed succesfully, but this week,
> we had an issue when installing at a new customer site. Occasionally
> we get "400 Bad Request" errors. The odd thing is, the very same
> binaries run just fine at another customers' site.
> We did some tests at our offices, and found the following:
> - everything works fine when hosting our webservice in IIS 6.0 on
> Windows 2003 R2 SP2
> - we get "400 Bad Request" errors when hosting the webservice
> ourselves on Windows 2003 R2 SP2
>
> The errors occur more or less erratic - so not every time - and, the
> most annoying thing : they _don't_ show up in the httperr log files.
>
> For now we've been looking with wireshark what could be the reason of
> the "400 Bad Request" errors, but for two identical (byte by byte
> compared) requests, one is accepted, while the other is rejected. In
> our webservice, the rejected call (logicallly) is undetectable.
>
> We will now compare what is sent over the wire when hosting in IIS
> compared to hosting the web service ourselves, but meanwhile, I would
> really appreciate some hints, tips or suggestions on what is going on
> here.
>
> Why does http.sys (we believe) sometimes reject messages when we host
> the webservice, and (up to now) never rejects
> it when IIS hosts it ?
>
> Thanks in advance,
>
> Joris Spriet
> MESware nv
For any one who might be interested : think we managed to fix it
(http://forums.microsoft.com/MSDN/ShowPost.aspx?
PostID=2850183&SiteID=1)
Joris Spriet
MESware nv
>> Stay informed about: 400 Bad Request problem