Last post Dec 03, 2015 03:57 PM by deepalgorithm
Oct 28, 2015 03:48 AM|Thanuja G N|LINK
During an upload that happens, "Page cant be displayed" error occurs after one hour both in local and after hosting it in IIS. The session time out "in proc" is kept as 4 hours. The process is going on actually i guess but only the UI shows error. Even auto
refreshing the page didnt work.
Will be helpful if any insights can be provided on this.
Oct 28, 2015 06:22 AM|abrly|LINK
Thanuja, Leave the UI Thread responsive by assign upload task to a new thread.
Oct 28, 2015 08:59 AM|mgebhard|LINK
You'll need to supply a bit more information on what you're doing because Session has nothing to do with file upload unless the application subscribes to Session events.
Taking a shot in the dark, I imagine the error is likely due to a device in the connection chain closing the connection as ab hour is a long time for an HTTP connection. Consider using a tool like WireShark
to monitor the connection. It might provide more information on what going on. Also, consider contacting your network admin and let him/her know what you're doing and they should be able to provide assistance.
Dec 03, 2015 03:57 PM|deepalgorithm|LINK
If the upload is a fire and forget task, then you can run that process in the background.
// your code
catch (Exception ex)
// handle & log exception