Normal
0
false
false
false
EN-US
X-NONE
X-NONE
MicrosoftInternetExplorer4
/* Style Definitions */
table.MsoNormalTable
{mso-style-name:"Table Normal";
mso-tstyle-rowband-size:0;
mso-tstyle-colband-size:0;
mso-style-noshow:yes;
mso-style-priority:99;
mso-style-qformat:yes;
mso-style-parent:"";
mso-padding-alt:0in 5.4pt 0in 5.4pt;
mso-para-margin-top:0in;
mso-para-margin-right:0in;
mso-para-margin-bottom:10.0pt;
mso-para-margin-left:0in;
line-height:115%;
mso-pagination:widow-orphan;
font-size:11.0pt;
font-family:"Calibri","sans-serif";
mso-ascii-font-family:Calibri;
mso-ascii-theme-font:minor-latin;
mso-hansi-font-family:Calibri;
mso-hansi-theme-font:minor-latin;}
Hello
All,
I am
facing a strange issue with IIS7, ASP.NET 3.5. Following is the problem
description with some background:
Please read the text in dark color to directly jump to
problem by skipping background and related information.
Two
years back I had developed ‘Upload Control’ for one of our clients.
Couple of days back the customer requested us to upgrade it to
asp.net 3.5, and make it work in IIS7 integrated mode.
As
HttpRequest Pipeline has been changed in IIS7, we restructured our code to suite
it. We had to plug our
code in to IIS7’s new HttpRequest pipeline, and do some changes in the incoming
request. (The reading of incoming request is done through our code, so that we
can keep updating status of the upload). We did that and its working Ok for
requests of small size (small file, ranging around 2 MBs). But once we pass on
bigger request (more than 30 MB or so), the Client-IIS connection is
disconnected (IIS7WorkerRequest.IsClientConnected() returns false) suddenly in
the middle of the request-reading process. We are not able to figureout the
reason for the connection breakage.
Following
are some facts that might help getting more idea:
-
The whole request is
not buffered in the RAM. I have pipelined it to file system.
-
I observed RAM
consumption in the TaskManager. It fluctuates around 50% to 60%. (So nothing
alarming there)
-
Following are the
configuration settings being applied:
o
<httpruntime
executiontimeout="3600" maxrequestlength="2097150"/>
o
<processmodel
memorylimit="60" timeout="60"/>
o
<system.webserver><security><requestfiltering>
<requestlimits
maxallowedcontentlength="4104857598">
-
Every
time it disconnected after reading different amount of data from the request!
Sometimes it banged at 5MBs, and couple of times it went up to 65+MBs..!
-
Maximum Requesting
Entity Body Limit (IIS Manager > ASP > Limits Properties) is set to ‘2,000,000,000’.
Question
we have here are:
-
Why
Client-IIS disconnects in middle of the request? Or, How/Where can we find out
the reason of the connection break? W3SVC Logs are not showing useful
information.
-
Is
there any other setting that’s needed to be set for allowing lengthier
requests?
-
Above
all, How to fix it?
Please
do let me know if any further information is required.
I
hope someone would be able to help us in this problem!
Cheers,
Kinjal.