How long is it taking to upload the file before you get the error? It rather sounds like the web-server is timing out the page/script rather than a file upload limit being reached - check your web-servers config settings to see if there's a page/script
time limit, and if so try increasing that.
Please remember to mark replies as answers if you find them useful =8)
Don't forget to click "Mark as Answer" on the post that helped you.
This credits that member, earns you a point and mark your thread as Resolved for the sake of Future Readers.
rameshduraik...
Member
219 Points
162 Posts
if its possible to upload morethan 10MB
Apr 24, 2009 08:00 AM|LINK
Hai to all...
i need to upload the pdf file more the 10MB to 20 MB.
if It is possible to upload the pdf file?
if it is possible means..Tell me the way to upload the file..
i got the error while uploading morethan 10MB."The page cannot be displayed in my browser"
Thanks/regards
Ramesh
http://rameshduraikannu.blogspot.com
anas
All-Star
73431 Points
7859 Posts
Moderator
Re: if its possible to upload morethan 10MB
Apr 24, 2009 08:27 AM|LINK
Check the maxRequestLength property of <HttpRutime> section
Ram Reddy Mekha
Star
9604 Points
1313 Posts
Re: if its possible to upload morethan 10MB
Apr 24, 2009 08:28 AM|LINK
Try these...
http://forums.asp.net/t/1390092.aspx
http://weblogs.asp.net/jgalloway/archive/2008/01/08/large-file-uploads-in-asp-net.aspx
http://dotnetslackers.com/Community/blogs/haissam/archive/2008/09/12/upload-large-files-in-asp-net-using-httpmodule.aspx
Abhiram Reddy Mekha, +91-994-840-4315
Please "Mark as Answer" if the post helps you.
Coool
Contributor
4393 Points
687 Posts
Re: if its possible to upload morethan 10MB
Apr 24, 2009 08:29 AM|LINK
It's too easy. Just look at the following article...
http://www.bloggingdeveloper.com/post/Limiting-the-File-Upload-Size-in-ASPNET.aspx
Parth Patel
Software Engineer
Mad-Halfling
Participant
1353 Points
692 Posts
Re: if its possible to upload morethan 10MB
Apr 24, 2009 08:30 AM|LINK
How long is it taking to upload the file before you get the error? It rather sounds like the web-server is timing out the page/script rather than a file upload limit being reached - check your web-servers config settings to see if there's a page/script time limit, and if so try increasing that.
Steelymar
All-Star
15193 Points
2223 Posts
Re: if its possible to upload morethan 10MB
Apr 24, 2009 08:30 AM|LINK
hi,
below you have same examples haw to achieve this:
http://www.15seconds.com/Issue/071025.htm
http://www.codeproject.com/KB/aspnet/uploadlargefilesaspnet.aspx
http://dotnetslackers.com/Community/blogs/haissam/archive/2008/09/12/upload-large-files-in-asp-net-using-httpmodule.aspx
Stefan Uzunov
MCTS: .NET Framework 3.5 ASP.NET Applications
www.pro4solution.com
nareshprakash
Participant
1396 Points
285 Posts
Re: if its possible to upload morethan 10MB
Apr 24, 2009 08:33 AM|LINK
Yes you can, Please do change in your web.config below code.
<system.web> <!-- this code using for set max length for fileupload control--><
httpRuntime maxRequestLength="15360"/> // you can change length as per your requirement, Default is 4 Mb i.e 4096</system.web>
Naresh Prakash.
Click Here : SKY IS NOT THE LIMIT
Don't forget to click "Mark as Answer" on the post that helped you.
This credits that member, earns you a point and mark your thread as Resolved for the sake of Future Readers.