Setting AspMaxRequestEntityAllowed Value in IIS

By | October 14, 2011

You all might be aware of the problem that occurs while Importing Bulk Data into CRM. What actually happens is that CRM tries to upload the file though the routine but a small value in AspMaxRequestEntityAllowed in the IIS settings or rather the Metabase.XML file cause the import routine to fail mid way and throws Time out script error on the screen. We have already shared a blog with you all earlier few years back regarding this hitch. You can follow the link to go through the article again
In the above blog we had explained how to get rid of this by making some changes in Metabase.XML file. This time we would like to share another technique to increase the “AspMaxRequestEntityAllowed” limit without actually opening the Metabase.xml file. This can be achieved through the good old command prompt. To resolve this issue, we have to modify the value in the AspMaxRequestEntityAllowed property to set the maximum number of bytes that are permitted in the entity body of an ASP request. To do this, follow these steps:

1. At a command prompt, type the following command, and then press ENTER:
cd drive:inetpubadminscripts
Note In this command to change folders, drive is a placeholder for the hard disk where IIS is installed.
2. At a command prompt, type the following command, and then press ENTER:
cscript adsutil.vbs set w3svc/ASPMaxRequestEntityAllowed size
Note In this command, size is a placeholder for the largest file size upload that you want to allow. The maximum value is 1,073,741,824 bytes. Set this value to the lowest possible value that allows for the functionality that you want.
3. At a command prompt, type the following command, and then press ENTER:
Before performing the above steps make sure that your IIS Server is not running. Always back up the Metabase.XML before you edit it.
Troubleshoot About Us
Greytrix a globally recognized Premier Sage Gold Development Partner is a one stop solution provider for Sage ERP and Sage CRM needs. Being recognized and rewarded for multi-man years of experience, we bring complete end-to-end assistance for your technical consultations, product customizations, data migration, system integrations, third party add-on development and implementation expertise.

Greytrix has some unique integration solutions for Sage CRM with Sage ERPs (Sage Enterprise Management (Sage X3), Sage Intacct, Sage 100Sage 500 and Sage 300).We also offer best-in-class Sage ERP and Sage CRM customization and development services to Business Partners, End Users and Sage PSG worldwide. Greytrix helps in migrating of Sage CRM from Salesforce | ACT! | SalesLogix | Goldmine | Sugar CRM | Maximizer. Our Sage CRM Product Suite includes Greytrix Business Manager, Sage CRM Project Manager, Sage CRM Resource Planner, Sage CRM Contract Manager, Sage CRM Event Manager, Sage CRM Budget Planner, Gmail Integration, Sage CRM Mobile Service Signature and Sage CRM CTI Framework.

Greytrix is a recognized Sage Rockstar ISV Partner for GUMU™ Sage Enterprise Management – Sage CRM integration also listed on Sage Marketplace.

For more information on our integration solutions, please contact us at We will be glad to assist you.