I'm writing an ASP.NET 2.0 web application in JScript.NET. It exchanges JSON messages with an AJAX client via HTTP POST.
This app runs flawlessly in local IIS 5.1 and in Visual Studio's ASP.NET Development Server (Cassini). However, on the IIS 6 production server, some requests fail (e.g. the user can't save the data s/he entered, but the exact same data can be saved in a local test).
I upload the app precompiled (ie. it compiles with 0 errors). The server definitely receives the POST request (I write out the request body to a log file), but then it fails (Charles reports: no response headers; i.e. no output is sent - xml http request status=0). I'm in trouble in reproducing this, because all is flawless in the local tests, but I don't have IIS 6.
One cause I suspect is timeout. This is a shared web hosting account, httpResponse executionTimeou t=30 sec. However, when I deliberately set the timeout in a local test to like 3 seconds to force a failure, I receive a HTTP 500 internal server error, while on the IIS6 server I get xml http request status=0 (i.e. really no output is sent to the client).
How to figure out what happens? I'd really appreciate any ideas or tips.
This app runs flawlessly in local IIS 5.1 and in Visual Studio's ASP.NET Development Server (Cassini). However, on the IIS 6 production server, some requests fail (e.g. the user can't save the data s/he entered, but the exact same data can be saved in a local test).
I upload the app precompiled (ie. it compiles with 0 errors). The server definitely receives the POST request (I write out the request body to a log file), but then it fails (Charles reports: no response headers; i.e. no output is sent - xml http request status=0). I'm in trouble in reproducing this, because all is flawless in the local tests, but I don't have IIS 6.
One cause I suspect is timeout. This is a shared web hosting account, httpResponse executionTimeou t=30 sec. However, when I deliberately set the timeout in a local test to like 3 seconds to force a failure, I receive a HTTP 500 internal server error, while on the IIS6 server I get xml http request status=0 (i.e. really no output is sent to the client).
How to figure out what happens? I'd really appreciate any ideas or tips.
Comment