IIS: Maximum request length exceeded

This usually happens because the you’ve reached a limit on the maximum request length while uploading a file or processing a request.

The default for this setting is around 4mb.

You can edit the web.config with the following lines:

<configuration>
<system.web>
<httpRuntime maxRequestLength=”1048576″ />
</system.web>
</configuration>

This will change the max to around 1 gb.

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