473,654 Members | 3,076 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Intermittent http-400 Errors

I don't know if this is an ASP.NET issue, an IIS issue, or a user browser
issue, but on one of our web applications we have been getting an increasing
amount of 400 'Bad Request' errors. The following is what we know about the
issue mostly from looking at LiveStats and the IIS log:

- It is Intermittent. Most of the time it behaves correctly but the amount
of 400 errors has been increasing in frequency.
- When the 400 does occur it is on a postback, not on the first request to
the page.
- Once the error occurs, it will occur for all subsequent refreshes to the
page.
- There is evidence that sometimes the user is able to submit the page
correctly the first time, but when they come back to that same page later it
produces the 400 error when they try to submit the form. So it does not
happen consistently for the same user.
- ASP.NET does not catch this 400 error. We use the global error event to
catch errors, and while it picks up 404's it is not picking up this 400.
- IIS server 2003, Dotnet framework 1.1.
- It has occured on both IE 6 and IE 7 browsers, with no indication that it
will not occur on others.
- The IIS logs also shows network code 64. Nothing was listed in the event
log.

We have never been able to duplicate this error, but it seems to be
happening to an increased number of customers on the site. This is affecting
our sales. It is high priority for us to resolve this. If no one knows the
answer I would like to be directed to an area where I can get assitance.

Thank You
Darrel
May 1 '07 #1
2 4653
400 is a bad request, meaning what IIS received is not a valid http
request. you should run a network sniffer/trace to catch what is
actually sent to IIS.

a common cause is using integrated security which requires connection
keep alives for the out-of-band security exchange messages, and some
proxy server is not honoring the keep alive.
-- bruce (sqlwork.com)

Darrel wrote:
I don't know if this is an ASP.NET issue, an IIS issue, or a user browser
issue, but on one of our web applications we have been getting an increasing
amount of 400 'Bad Request' errors. The following is what we know about the
issue mostly from looking at LiveStats and the IIS log:

- It is Intermittent. Most of the time it behaves correctly but the amount
of 400 errors has been increasing in frequency.
- When the 400 does occur it is on a postback, not on the first request to
the page.
- Once the error occurs, it will occur for all subsequent refreshes to the
page.
- There is evidence that sometimes the user is able to submit the page
correctly the first time, but when they come back to that same page later it
produces the 400 error when they try to submit the form. So it does not
happen consistently for the same user.
- ASP.NET does not catch this 400 error. We use the global error event to
catch errors, and while it picks up 404's it is not picking up this 400.
- IIS server 2003, Dotnet framework 1.1.
- It has occured on both IE 6 and IE 7 browsers, with no indication that it
will not occur on others.
- The IIS logs also shows network code 64. Nothing was listed in the event
log.

We have never been able to duplicate this error, but it seems to be
happening to an increased number of customers on the site. This is affecting
our sales. It is high priority for us to resolve this. If no one knows the
answer I would like to be directed to an area where I can get assitance.

Thank You
Darrel
May 1 '07 #2
Thank you Bruce for your answer.

I had passed this information along to our network staff and web host. And
we will be posting similar questions in network forums.

I would like to verify that this is a network error and not an asp.net
error. Since we have not uploaded any changes to the code lately, and since
the asp.net gloabl event handler does not seem to be catching it, it does
appear to be network related.

If anbody knows anything about this issue that could be asp.net related, or
there is something I could do as an asp.net developer to help resolve this,
please let me know.

Darrel

"bruce barker" wrote:
400 is a bad request, meaning what IIS received is not a valid http
request. you should run a network sniffer/trace to catch what is
actually sent to IIS.

a common cause is using integrated security which requires connection
keep alives for the out-of-band security exchange messages, and some
proxy server is not honoring the keep alive.
-- bruce (sqlwork.com)

Darrel wrote:
I don't know if this is an ASP.NET issue, an IIS issue, or a user browser
issue, but on one of our web applications we have been getting an increasing
amount of 400 'Bad Request' errors. The following is what we know about the
issue mostly from looking at LiveStats and the IIS log:

- It is Intermittent. Most of the time it behaves correctly but the amount
of 400 errors has been increasing in frequency.
- When the 400 does occur it is on a postback, not on the first request to
the page.
- Once the error occurs, it will occur for all subsequent refreshes to the
page.
- There is evidence that sometimes the user is able to submit the page
correctly the first time, but when they come back to that same page later it
produces the 400 error when they try to submit the form. So it does not
happen consistently for the same user.
- ASP.NET does not catch this 400 error. We use the global error event to
catch errors, and while it picks up 404's it is not picking up this 400.
- IIS server 2003, Dotnet framework 1.1.
- It has occured on both IE 6 and IE 7 browsers, with no indication that it
will not occur on others.
- The IIS logs also shows network code 64. Nothing was listed in the event
log.

We have never been able to duplicate this error, but it seems to be
happening to an increased number of customers on the site. This is affecting
our sales. It is high priority for us to resolve this. If no one knows the
answer I would like to be directed to an area where I can get assitance.

Thank You
Darrel
May 3 '07 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
2147
by: Tom Chadwin | last post by:
Hello all Using PHP 4.1.2, I am seeing intermittent visible escaping backslashes in my HTML output. Try refreshing the following page a few times to see what I mean: http://www.actorscentrene.co.uk/thread.php?messageThread=25 It seems totally random. Any ideas? The extra escaping backslashes are not present in the underlying MySQL records. magic_quotes_gpc is on.
8
5040
by: trinitypete | last post by:
Hi all I have a strange problem with IIS windows pass through authentication. Heres the setup IIS running with Windows Authentication for our intranet site. ACL has been set to everyone for all web directories. This is all on a windows 2003 server. We add the intranet site to the intranet zone so the windows credentials will automatically get passed to IIS 90% of the time it works fine, but Intermittently we get access forbidden -...
4
2181
by: akhare1 | last post by:
OK, before I start, let me clarify a few things here. This is not the run of the mill failure to read a registry key while trying to write to the Event Log. Here's our setup: a) IIS 6.0 server w/ SharePoint installed b) ASP.NET application w/ NTLM authentication running under an account (application pool) with ADMIN privileges on the local box. c) We are NOT using impersonation
2
1861
by: Mike Krajewski | last post by:
We are having an intermittent problem using an ExecuteScalar command on a asp.NET page accessing SQL Server. 2 characters of the sql statement get intermittently altered. The code looks as follows: SqlCommand command = new SqlCommand("SELECT fkOWSStatusID FROM vwUsersCleanups WHERE pkCleanupID = 123", connection); object nReturn = command.ExecuteScalar(); About 10% of the time, the 'rs' in vwUsersCleanups get altered into...
3
2032
by: Lee Chapman | last post by:
Hi, I have a problem where my ASP.NET application occasionally generates a MissingFieldException exception. This unexpectedly happened on my development box, and so I was able to extract some information from the debugger: The field that is "missing" is called 'logger'. Here's it's description taken from ildasm.exe: ..field public static class log4net.ILog logger
0
1219
by: Shane C | last post by:
Intermittent Error: Server was unable to process request  Object reference not set to an instance of an object I have windows application that references a XML web service on our web server. The application sends and receives information fine most of the time. We do, mostly during peak usage hours, receive the above mentioned error. 1. What would cause the intermittent nature? 2. What can be done to fix this problem?
0
1533
by: Brano | last post by:
Hi all, I have a asp.net website that has been live for about 2 weeks now and there were no problems with it. I have got a new server that is Win 2003 IIS 6.0 I have moved my application onto the new server and basically copied the settings from the server it worked on perfectly. But now i am getting an Intermittent error it happens for instance
8
1863
by: Dave | last post by:
I am getting an intermittent database error on my asp page. I am using Access 2003 with classic ASP. The error is this: Microsoft JET Database Engine Error 80040e10 No value given for one or more required parameters /subweb/search.asp, line 163 Line 163 is starred below:
0
1208
by: Joey Bersche | last post by:
I've been experiencing an intermittent crash where no python stacktrace is provided. It happens for a url downloading process that can last up to 12 hours and crawls about 50,000 urls. I'm using urllib2 for the downloads. There are 5-10 downloading threads, and some custom website exploration code for providing the urls to crawl. The downloads are completed in memory (not piped), then saved to a file. There are also nice per domain...
15
5601
by: jonnyboy | last post by:
Hello, I'm having an intermittent problem with the back-end of my database. On an intermittent basis, the back-end tables will become read-only. This only happens when the back-end is located on a network share. It isn't a permissions issue because the problem occurs only intermittently when logged in as the same user. If I open the back-end database on its own and then the front-end client (on the local drive) this problem goes...
0
8375
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8290
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8815
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
8707
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
5622
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4294
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2714
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
1
1916
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
2
1593
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.