Steven - Thank you for the reply.
1. SSL is not an issue here, using staight http
2. No uploads always when writing a response to the client so request length
would not be an issue (but yes we have modified for some apps that require
it). I am writing out pdf and images, via aspx page, from sources not
direclty accessible by client. The majority are not large enough to to
result in a request timeout, but a few are and even in 1.1 I had changed the
time out, for example <httpRuntime executionTimeout="600" />. I am
capturing the errors in Application_Error, which is how I know about there
errors (our apps use a custom global class which emails full details of
errors, including page, full error and detials about client such as ip,
browser, etc). I know the exact pages where the error occurs but it is not
an error easily reproduced: considering these apps are accessed hundreds of
times a day the total number of errors amoung all of them is fifteen or less
a day.
Brad
"Steven Cheng[MSFT]" <st*****@online.microsoft.com> wrote in message
news:7Q*************@TK2MSFTNGXA01.phx.gbl...
Hi Brad,
Thank you for posting.
As for the "remote host closed connection exception...", it indicates the
response of the ASP.NET worker thread has been closed due to some certain
internal exception when flushing data out to the response stream. And from
the internal diassemblied code, this error message is a general exception
message and we can not get the detailed cause from it or the related
exception handling code logic.
Based on my experience, there is several possible things can cause the
httprequest connection be closed unexpectedly.
1. when establshing https/ssl connection
2. when upload or flush out large data content cause the request timeout or
exceed the max allowed request length.
For your scenario, #1 is not likely the cause. I'm wondering how often
does the error occur in your converted ASP.NET 2.0 applicaiton. Also, is
the problem occuring when the page is flushing out large data content that
is time consuming? For the ASP.NET request, there is max value setting for
the request length and executiontime, I'm not sure whether your application
or server has ever manualy modified that value in 1.X(in machine.config),
and after converted to 2.0, the application will inherit 2.0's global
configuration which hasn't changed the value accordingly? The
executionTimeout and other httpRuntime related setting are in the following
configuration element:
#httpRuntime Element (ASP.NET Settings Schema)
http://msdn2.microsoft.com/en-us/lib...41(VS.80).aspx
If you are using the Application_Error event to handle the unexpected
exception, you can consider record the page that cause the problem. Thus,
we can check whether the problem occurs on some page which has some common
setting or code logic.
Anyway, since this is a concrete project specific issue, it would be more
helpful if we can generate a simplified page which can reproduce the
behavior.
Regards,
Steven Cheng
Microsoft Online Community Support
==================================================
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.
Get Secure!
www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)