| By Onkar Singh | Article Rating: |
|
| February 10, 2011 07:15 AM EST | Reads: |
4,863 |
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,863
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.
- Cloud Expo New York Speaker Profile: Mark Hinkle – Citrix Systems
- Big Data Expo New York Speaker Profile: Eric Baldeschwieler – Hortonworks
- IBM Rips Out Its Siebel Seats
- IBM & Red Hat Will Reportedly Join OpenStack
- System Center Virtual Machine Manager 2012 as Private Cloud Enabler
- Big Data: The ‘Perfect Storm’ Syndrome
- Cloud Expo New York: Industry-Leading CxOs to Present June 11-14
- Big Data: Information Spawns Innovation
- Eighteen Open Source Content Management Systems (Part 3)
- Virtual Private Cloud Computing vs. Public Cloud Computing
- MapR Adds Hadoop Connectors
- OpenNebula: Open Source Cloud Management
- Red Hat Executive Appointed to Technology Services Industry Association (TSIA) Support Services Advisory Board
- Cloud Expo New York Speaker Profile: Mark Hinkle – Citrix Systems
- Big Data Expo New York Speaker Profile: Eric Baldeschwieler – Hortonworks
- IBM Rips Out Its Siebel Seats
- Hadoop Quickstart: Create and Better Manage Hadoop Clusters on Rackspace
- IBM & Red Hat Will Reportedly Join OpenStack
- Apache Hadoop: Now, Next, and Beyond at Cloud Expo New York
- System Center Virtual Machine Manager 2012 as Private Cloud Enabler
- Big Data: The ‘Perfect Storm’ Syndrome
- Cloud Expo New York: Industry-Leading CxOs to Present June 11-14
- Big Data: Information Spawns Innovation
- Eighteen Open Source Content Management Systems (Part 3)
- After Ubuntu, Windows Looks Increasingly Bad, Increasingly Archaic, Increasingly Unfriendly
- SCO CEO Posts Open Letter to the Open Source Community
- Simula Labs Launches Hosted Delivery Platform To Enable Enterprise Open Source Adoption
- Where Are RIA Technologies Headed in 2008?
- Source Claims SCO Will Sue Google
- How Open Is "Open"? – Industry Luminaries Join the Debate
- Latest SCO News is Plain Weird
- SCO Claims Linux Lifted ELF
- IBM Tells SCO Court It Can't Find AIX-on-Power Code
- Flashback: Investing in 'Professional Open Source' - Exclusive 2004 Interview with David Skok, Matrix Partners
- Developing an Application Using the Eclipse BIRT Report Engine API
- HP Starts Pushing Desktop Linux




















