Knowledge BaseOutlook 2011 and Exchange 2007/2010 large attachments
W P Staff asked 6 years ago

I have a number of Outlook 2011 (Outlook for MAC) users who are unable to send attachments that are much over 15MB.  I have already set the relevant parameter within webconfig.ini so that up to 50mb can be sent. Users still can’t send. What am i doing wrong?

1 Answers
W P Staff answered 6 years ago

Make a backup of any of the files before editing.  This example is for ~100 MB.  Taylor the values for your environment.
1. edit C:\Windows\System32\inetsrv\config\applicationHost.config
Requestfiltering=Allow

2. from a command prompt:
C:\Windows\System32\inetsrv\appcmd set config “Default Web Site/ews” -section:requestFiltering -requestLimits.maxAllowedContentLength:100800000
 
3. edit web.config in the ews directory of each CAS and set these values:

maxAllowedContentLength=100800000 (step 2 should have inserted this value) 
maxReceivedMessageSize=100800000 (multiple instances of this. Change all of them)
4. iisreset
If things go horribly wrong, restore the backup you made of the web.config file.