ASP.NET Maximum request length exceeded

//I modified <system.web>..</system.web>  and <system.webServer>..</system.webServer>. The problem got solved.
<system.web>
    //I added this maxRequestLength="100000" in system.web
    <httpRuntime targetFramework="4.5" maxRequestLength="100000"/>
</system.web>
 
<system.webServer>
    //I also added the block <security>..</security>
    <security>
      <requestFiltering>
        <requestLimits maxAllowedContentLength="1073741824" />
      </requestFiltering>
    </security>
</system.webServer>
  
  
//There are some other suggestions from various blogs/forums
<system.web>
  <httpRuntime executionTimeout="100000" maxRequestLength="214748364" />
</system.web>
Advertisements

Leave a Reply

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

WordPress.com Logo

You are commenting using your WordPress.com 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 )

Google+ photo

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

Connecting to %s