This download was interrupted. error msg

If you have questions about using mojoPortal, you can post them here.

You may want to first review our site administration documentation to see if your question is answered there.

This thread is closed to new posts. You must sign in to post in the forums.
3/9/2012 8:18:19 PM
Gravatar
Total Posts 383
Thanks Squire Dude

This download was interrupted. error msg

Hi,

I have a customer who is telling me that he gets an error when downloading a file.  Msg "This download was interrupted."

I have tried several times to recreate the error and it downloads as expected when the DL speed is 70+KB/sec.  I was able to recreate it twice when the DL speed fell below the 68KB/sec thresh-holed then I do get the error.  I managed to capture the log for a failed event.

2012-03-09 21:10:24,935 INFO 76.173.205.135 - en-US - /Secure/Login.aspx?returnurl=%2fDefault.aspx - DotNetOpenAuth.Messaging.Channel - Scanning incoming request for messages: http://www.yachtlogsoftware.com/Secure/Login.aspx?returnurl=%2fDefault.aspx 2012-03-09 21:12:49,029 ERROR 76.173.205.135 - en-US - /SharedFiles/Download.aspx?pageid=32&mid=50&fileid=4 - mojoPortal.Web.Global - 76.173.205.135 /SharedFiles/Download.aspx?pageid=32&mid=50&fileid=4 Referrer(http://www.yachtlogsoftware.com/BasicDownload.aspx) useragent Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; WOW64; Trident/5.0) System.Web.HttpException (0x80004005): Request timed out. 2012-03-09 21:15:24,638 INFO 76.173.205.135 - en-US - /Secure/Login.aspx?returnurl=%2fDefault.aspx - DotNetOpenAuth.Messaging.Channel - Scanning incoming request for messages: http://www.yachtlogsoftware.com/Secure/Login.aspx?returnurl=%2fDefault.aspx

Anyone got any suggestions?

Thanks

3/10/2012 11:27:05 AM
Gravatar
Total Posts 18439

Re: This download was interrupted. error msg

Hi Phill,

System.Web.HttpException (0x80004005): Request timed out.

This means the download did not complete before the request timeout period. The timeout can be configured in web.config file on the <httpRuntime element. You would add the attribute (if it doesn't already have the attribute) executionTimeout="110" and adjust the value to make the timeout longer. The number is in seconds, the default when not specified is 110 seconds so you would want to try higher numbers but only go as long as really needed to provide enough time for the download to complete.

As always be very careful editing your web.config file, as you know the slightest typo or mistake will cause an error.

Hope that helps,

Joe

3/10/2012 12:02:49 PM
Gravatar
Total Posts 383
Thanks Squire Dude

Re: This download was interrupted. error msg

Hi Joe,

Damn guy how do you remember all these litle bits and peaces setting stuff?  It would take ten of me to remember all this stuff.

Thanks enjoy

Phill

3/10/2012 12:13:05 PM
Gravatar
Total Posts 18439

Re: This download was interrupted. error msg

Hi Phill,

I've been doing web development for a very long time and request timeout is a fairly common problem that I'm very familiar with.

But really one doesn't need to remember every detail, one just needs to know how to google effectively. The answer to this one could be easily found with a quick google of "asp.net request timeout". Half the time when people post errors I just google the error message for them. Hardly ever does an error happen that has not been seen before, almost always someone has posted about it somewhere on the web.

Thanks for the beer!

Cheers,

Joe

You must sign in to post in the forums. This thread is closed to new posts.