Limit Upload File Size


Sometimes we need to limit the size of the file being upload to a website, in this case is on Sage CRM 7.0. We can set it in the “web.config” file in the root folder of the website. We need to add “requestLimits” element with “maxAllowedContentLength” parameter. We can put it like below in the “web.config” file.

<system.webSecurity>
    <security>
        <requestFiltering>
            <requestLimits maxAllowedContentLength="68157440" />
        </requestFiltering>
    </security>
</system.webSecurity>

Check the IIS website for the complete list and detail explanation.

And also check other references from various forums and websites:

 

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 )

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