|
Comments
Did you read today's front page stories & breaking news?
SYS-CON.TV
|
Azure Windows Azure Tips & Tricks
Solution to “Not Found” error when uploading large data in your Azure web application
By: Onkar Singh
Feb. 10, 2011 07:15 AM
So you deployed your brand-new ASP.NET web application to Azure cloud. All seems to be working perfectly until a user tried to upload large amount of data (approx. over 30MB) through your application UI. Unfortunately the operation failed. Surprisingly small file uploads works just fine. To fix the problem you need to ensure that the following configuration is made in the web.config file.
Here value of maxRequestLength is in KB so that makes it 100MB. Having a bigger executionTimeOut value ensures that the file upload operation is not terminated prematurely by the web server.
Here the value of maxAllowedContentLength is in bytes so that makes it 100MB again. Restart the website and large data uploads should work just fine. Reader Feedback: Page 1 of 1
SOA World Latest Stories
Subscribe to the World's Most Powerful Newsletters
Subscribe to Our Rss Feeds & Get Your SYS-CON News Live!
|
SYS-CON Featured Whitepapers
Most Read This Week |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||