| By Onkar Singh | Article Rating: |
|
| February 10, 2011 07:15 AM EST | Reads: |
4,859 |
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.
<httpRuntime maxRequestLength="102400" executionTimeout="3600" />
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.
<system.webServer>
<security>
<requestFiltering>
<requestLimits maxAllowedContentLength="1024000000" />
</requestFiltering>
</security>
...
...
</system.webServer>
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.
Read the original blog entry...
Published February 10, 2011 Reads 4,859
Copyright © 2011 SYS-CON Media, Inc. — All Rights Reserved.
Syndicated stories and blog feeds, all rights reserved by the author.
More Stories By Onkar Singh
The author is the founder of 42Gears, developer of affordable Mobile Device Management tools.
- Ubuntu-based Open Source Linux Mint Tests KDE Version
- NetArt Chooses Open-Xchange to Enter into Cloud Application Business
- Rackspace Starts the Great OpenStack Migration
- Cloud Expo: Architect Full Performance Potential of IaaS Cloud Services
- Hot Tech Firms at the 2012 DoDIIS Conference
- Dell and Morphlabs Partner on SSD Cloud
- Microsoft Sets Up an Open Source Subsidiary
- Piston to Integrate Cloud Foundry & OpenStack
- Dell Buys Mainframe Modernizer in Cloud Push
- Informatica Upgrades Its iPaaS
- Inktank to Commercialize Ceph Big Storage
- Video Streaming Outside The Firewall Market Shares, Strategies, and Forecasts, Worldwide, 2012 to 2018
- Red Hat Executive Appointed to Technology Services Industry Association (TSIA) Support Services Advisory Board
- Ubuntu-based Open Source Linux Mint Tests KDE Version
- What Kind of Software Company Should You Work For?
- NetArt Chooses Open-Xchange to Enter into Cloud Application Business
- Rackspace Starts the Great OpenStack Migration
- TeamDrive 3.0 Unveiled at CeBIT: Brings Enterprise-Grade Security to Cloud File Sharing on the iPhone, iPad and Android
- Cloud Expo: Architect Full Performance Potential of IaaS Cloud Services
- Sorting Through the APM Clutter
- Hot Tech Firms at the 2012 DoDIIS Conference
- Swisscom Floats Red Hat Cloud
- Dell and Morphlabs Partner on SSD Cloud
- Microsoft Sets Up an Open Source Subsidiary
- The i-Technology Right Stuff
- Linux.SYS-CON.com Exclusive: Linus Discloses *Real* Fathers of Linux
- After Ubuntu, Windows Looks Increasingly Bad, Increasingly Archaic, Increasingly Unfriendly
- A Closer Look at Damn Small Linux
- Linus' Top Ten SCO Barbs
- SCO CEO Posts Open Letter to the Open Source Community
- Netscape Co-Founder's 12 Reasons for Growth of Open Source
- Where Are RIA Technologies Headed in 2008?
- *POINT - COUNTERPOINT SPECIAL* What's Wrong with the Open Source Community?
- Introducing "Cooperative Linux" - Linux for Windows, No Less
- Linux.SYS-CON.com Exclusive: What Would UserLinux Look Like?
- Why Recovering a Deleted Ext3 File Is Difficult . . .




















