Ureader.com  
Microsoft software help and Community
   home   |   control panel login   |   archive   |  
 
DotNet
acad.assignment.mngr
academic
adonet
aspnet
aspnet.announcements
aspnet.build.controls
aspnet.caching
aspnet.datagridcontrol
aspnet.mobile
aspnet.security
aspnet.webcontrols
aspnet.webservices
clr
compactframework
component_services
datatools
distributed_apps
drawing
faqs
framework
framework.wmi
general
internationalization
interop
languages.csharp
languages.jscript
languages.vb
languages.vb.controls
languages.vb.data
languages.vb.upgrade
languages.vc
languages.vc.libraries
myservices
odbcnet
performance
remoting
scripting
sdk
security
setup
vjsharp
vsa
webservi.enhancements
webservices
windowsforms
windowsforms.controls
winforms.databinding
winforms.designtime
xml
  
 
date: Fri, 15 Feb 2008 02:21:18 -0800 (PST),    group: microsoft.public.dotnet.distributed_apps        back       


400 Bad Request problem (repost from microsoft.public.inetserver.iis)   
Hi,

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
date: Fri, 15 Feb 2008 02:21:18 -0800 (PST)   author:   unknown

Re: 400 Bad Request problem (repost from microsoft.public.inetserver.iis)   
On 15 feb, 11:21, "joris.spr...@gmail.com" 
wrote:
> Hi,
>
> 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 interested, I think we fixed it (http://
forums.microsoft.com/MSDN/ShowPost.aspx?PostID=2850183&SiteID=1)

Joris Spriet
MESware nv
date: Mon, 18 Feb 2008 08:07:53 -0800 (PST)   author:   unknown

Google
 
Web ureader.com


    COPYRIGHT 2007, YARDI TECHNOLOGY LIMITED, ALL RIGHT RESERVE  |   contact us