Change Max File Attachment Upload Size in MS CRM 3.0
By default, the maximum file size that can be uploaded as an attachment in Microsoft CRM 3.0 is 5Mb. To change this, I have found that there are really 4 steps:
1) Modify the following registry key (on the server) appropriately:
Key Path: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MSCRM\maxuploadfilesize
Value: The value is the desired byte limit. 1Mb = 1048576 bytes so if you wanted the limit to be 20Mb the decimal value for the registry setting would be 20971520.
2) If you want the ability to upload more than 8Mb then you need to increase the .Net maximum request length by modifying the CRM web.config file. To do this, navigate to the folder containing the MS CRM web files on the server or use the IIS Manager to explore the folder contents (right-click on CRM website, select explore). Locate the web.config file and edit in Wordpad. Locate the “maxRequestLength” value and change it appropriately (this time in kb). For our example of 20Mb the value would be “20480″.
3) Change the “maxuploadfilesize” key on the client machine. Follow the instructions in step 1, but this time, the key is located here:
HKEY_CURRENT_USER\Software\Microsoft\MSCRMClient\maxuploadfilesize
4) Restart the IIS services. Go to Start->Run->iisreset
February 26th, 2008 at 4:26 am
Is step 3 required if the client is a Web client?
If the client is a web client, then there is no such registry key to modify.
Regards
Nithin
March 11th, 2008 at 6:34 am
You are correct, no such registry key will be created on the client machine if they aren’t using the Outlook client.
August 28th, 2009 at 12:26 pm
Thanks, it helped!