[Resolving] Maximum request length exceeded exception
You will get such an exception if you are trying to upload large files or making a requestA0 which exceeded 4MB.
System.Web.HttpException: Maximum request length exceeded.
A0A0 at System.Web.HttpRequest.GetEntireRawContent()
A0A0 at System.Web.HttpRequest.get_InputStream()
A0A0 at com...ProcessRequest(HttpContext context)
The problem is that .NET limits the maximum data sent in each request to 4096 KB (4MB) by default.
you can take a look on httpRuntime Elements here http://msdn.microsoft.com/en-us/library/e1f13641.aspx
To resolve this issue : try to increase the request size
1: <configuration>
2: <system.web>
3: <httpRuntime maxRequestLength="51200"
4: enable = "True"
5: executionTimeout="45"/>
6: </system.web>
7: </configuration>