Bug reports Found a bug? Post it here please.
Version 4.x > Bug reports > The remote host closed the connection. The error code is 0x80072746. View modes: 
User avatar
Member
Member
srizzetto-microgate - 6/26/2009 2:38:31 AM
   
The remote host closed the connection. The error code is 0x80072746.
There are several month that I'm affected by this bug. I use Health Monitoring system of ASP.NET that sends me an email every exception it occurs.

I receive dozen of these every day (see below); when a user download a file or show a pictures it raises that error

I the beginning I was thinking it happens only for large files and when the user's connection speed was very low. But now it happens also with ME myself (I recognize that it was me from the IP) who am in LAN with the webserver and try to download a picture of 30 kb !!

Your support (ticket 72929) suggested me to increase timeout and lenght in web.config, so I put:

<httpRuntime maxRequestLength="2097151" executionTimeout="999999" />

Then I try to put
Response.BufferOutput = true;

in the SendFile() method of GetFile.aspx.cs file

None has worked; I still receive these errors.

I only hope that for the final user this will be "transparent", because when it happens to me, I don't see any exception in navigation and it seems all is ok, but after a minute the mail comes, with the "bastard" exception :-)

Thanks for your help
Sandro
=====================

** Events **
---------------
Event code: 3005
Event message: An unhandled exception has occurred.
Event time: 6/26/2009 9:14:24 AM
Event time (UTC): 6/26/2009 7:14:24 AM
Event ID: 9da53c5ec35147f792100c74a6568c3e Event sequence: 164 Event occurrence: 3 Event detail code: 0

Process information:
Process ID: 3824
Process name: w3wp.exe
Account name: NT AUTHORITY\NETWORK SERVICE

Exception information:
Exception type: System.Web.HttpException
Exception message: The remote host closed the connection. The error code is 0x80072746.


Request information:
Request URL: http://www.optojump.de/CMSPages/getfile.aspx?height=150&width=200&guid=20c692d0-fa84-414d-9b04-5c388685b672
Request path: /CMSPages/getfile.aspx
User host address: 192.168.0.173
User:
Is authenticated: False
Authentication Type:
Thread account name: NT AUTHORITY\NETWORK SERVICE

Thread information:
Thread ID: 1
Thread account name: NT AUTHORITY\NETWORK SERVICE
Is impersonating: False
Stack trace: at System.Web.Hosting.ISAPIWorkerRequestInProcForIIS6.FlushCore(Byte[] status, Byte[] header, Int32 keepConnected, Int32 totalBodySize, Int32 numBodyFragments, IntPtr[] bodyFragments, Int32[] bodyFragmentLengths, Int32 doneWithSession, Int32 finalStatus, Boolean& async)
at System.Web.Hosting.ISAPIWorkerRequest.FlushCachedResponse(Boolean isFinal)
at System.Web.Hosting.ISAPIWorkerRequest.FlushResponse(Boolean finalFlush)
at System.Web.HttpResponse.Flush(Boolean finalFlush)
at System.Web.HttpResponse.Flush()
at CMS.UIControls.GetFilePage.WriteFile(String filepath, Boolean returnOutputData)
at CMSPages_GetFile.SendFile(CMSOutputFile file)
at CMSPages_GetFile.Page_Load(Object sender, EventArgs e)
at System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e)
at System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e)
at System.Web.UI.Control.OnLoad(EventArgs e)
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)

User avatar
Kentico Support
Kentico Support
kentico_jurajo - 6/30/2009 8:19:46 AM
   
RE:The remote host closed the connection. The error code is 0x80072746.
Hi,

I am sorry for this inconvenience but there is a problem in the getfile files. Could you please try to apply the latest hotfix package from our Bugtracker section?

If it won't help, please let us know. I will send you the corrected files.

Best Regards,
Juraj Ondrus

User avatar
Member
Member
srizzetto-microgate - 6/30/2009 8:43:40 AM
   
RE:The remote host closed the connection. The error code is 0x80072746.
Juraj,

I have installed the 4.0.0 (Version: 4.0 Build: 4.0.3350 ) and I see your last fix is 4.0.8

Should I install all the previous fix or the last one contains the other ?

User avatar
Kentico Developer
Kentico Developer
kentico_zbysekn - 6/30/2009 3:23:05 PM
   
RE:The remote host closed the connection. The error code is 0x80072746.
Hi,
it's not necessary install previous version, every hotfix includes fixes from all previous versions.
Best Regards,
Zbysek Nemec.

User avatar
Member
Member
mhunsinger-hagemeyerna - 9/17/2009 8:54:16 AM
   
RE:The remote host closed the connection. The error code is 0x80072746.
Hi, I'm having the same issue which results in w3wp.exe pegging my cpu on my web server. Can you direct me to the correct hotfix patch that fixes this issue please?

Mark

User avatar
Kentico Support
Kentico Support
kentico_jurajo - 9/17/2009 9:15:07 AM
   
RE:The remote host closed the connection. The error code is 0x80072746.
Hi,

You can download the last hotfix for version 4.0, which is 4.0.15 from here, the hotfixes are cumulative - devnet.kentico.com/Bugtracker/Hotfixes.aspx

Best Regards,
Juraj Ondrus