.net - File upload and odd browser error -


i have .net 3.5 website uploading files sql server 2008 filestream. works great until hit file size , unexpectedly odd error returns in browser.

in ie 7, if upload file size of 100 meg, browser returns after 2 minutes error saying "internet explorer cannot display webpage". generic , totally useless error. timeout issue, expect see error little more explanation.

in firefox 3.6.7, when uploading same file browser returns after 4 minutes equally generic , useless error says "the connection reset". again, timeout error (eg - somewhere in code have connection timing out) @ least expect firefox return after 2 minutes generic error, because ie returned after 2 minutes.

i need ideas on how diagnose , track down causing problem.

also, have file upload size limited 1 gig in web.config.

<!-- 1 gig upload --> <httpruntime maxrequestlength="1048576" /> 

edit:

are there settings in iis 7 affecting this? i'm not iis guru, may have configured website wrong.

jagd,

try modifying webconfig with:

<system.web>   <httpruntime executiontimeout="999999" maxrequestlength="51200" /> 

Comments

Popular posts from this blog

c++ - How do I get a multi line tooltip in MFC -

asp.net - In javascript how to find the height and width -

c# - DataTable to EnumerableRowCollection -