A Real Solution: an HttpModule to Handle File Uploads
There are better solutions to handling large file uploads in ASP.NET. A custom HttpHandler can provide a better user experience by displaying upload progress and allowing you to handle a file size problem in a more controlled fashion. Here's a summary
from a cursory search:
mrhammad
Member
2 Points
66 Posts
The connection was reset while uploading large data
Apr 26, 2012 11:35 AM|LINK
I am trying to upload about 100 MB file, after few min, error page comes saying "The connection was reset" try again.
i have changed the web.config file to accept large data e.g
<httpRuntime
requestValidationMode="2.0"
executionTimeout="999999999"
maxRequestLength="99999999"
/>
not sure, what else i have to change? it works well at my local machine though. Can someone help me in that?
kelviyean
Member
228 Points
54 Posts
Re: The connection was reset while uploading large data
Apr 26, 2012 11:40 AM|LINK
Hello,
Follow the thread with similar issue solved. It may help you.
http://forums.asp.net/t/1138117.aspx/1
kedarrkulkar...
All-Star
34473 Points
5545 Posts
Re: The connection was reset while uploading large data
Apr 26, 2012 11:41 AM|LINK
check this
http://weblogs.asp.net/jgalloway/archive/2008/01/08/large-file-uploads-in-asp-net.aspx
r u running this site on shared hosting provider? if yes, then you would need to contact their support team to do needful
hope this helps...
KK
Please mark as Answer if post helps in resolving your issue
My Site
mrhammad
Member
2 Points
66 Posts
Re: The connection was reset while uploading large data
Apr 26, 2012 11:47 AM|LINK
No, its not shared, its hosted on separate server machine.
mrhammad
Member
2 Points
66 Posts
Re: The connection was reset while uploading large data
Apr 26, 2012 12:49 PM|LINK
Thanks All, but i am still facing the issue.
Dino He - MS...
Star
8068 Points
1023 Posts
Microsoft
Re: The connection was reset while uploading large data
May 03, 2012 08:23 AM|LINK
HI
I think your data is too large, it will time out.
For the reason please refer to:
The Dark Side of FIle Uploads
So what you need as kedarrkulkarni provide:
A Real Solution: an HttpModule to Handle File Uploads
There are better solutions to handling large file uploads in ASP.NET. A custom HttpHandler can provide a better user experience by displaying upload progress and allowing you to handle a file size problem in a more controlled fashion. Here's a summary from a cursory search:
And you can google for the other control.
Hope it helpful.
If you have any feedback about my replies, please contact msdnmg@microsoft.com
Microsoft One Code Framework