ASP .Net File Upload Maximum request length exceeded error

巧了我就是萌 提交于 2019-12-04 03:18:04

Your maxRequestLength is set for 512 MB which is excessively large. Try setting it for 12MB instead.

If it's IIS that is choking, try setting it as a non-application level; create a Web.Config in the file folder instead.

More information here:

http://weblogs.asp.net/jgalloway/archive/2008/01/08/large-file-uploads-in-asp-net.aspx

I finally got it resolved. As we are using Sitecore, we have page as an item on content tree at specific path. Now we also have some old pages which resides on file system. These pages which resides on file system has their own local web.config file which has limited maxrequest length. This setting was creating issues while uploading large files.

Thanks all of you for your help.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!