Maximum request length exceeded exception

I just completed a project at work where I wrote an ASP.NET portal where file upload/download was part of the delivered functionality. During testing we discovered an issue where large files were uploaded to the solution and e got the exception “Maximum request length exceeded”. After some googling, I found Hosam Kamel’s Blog that had a shot and consis explaination on the issue.

The main solution is to set the maxRequestLength  element in httpRuntime (System.Web) in either machine.config or web.config.



Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s