Maximum Message Size in Outlook Web Access

In the last post i showed the way to increase the message size for the outlook users from different exchange scopes and how to modify the registry on the client to break the outlook limitation.

Today I’m going to increase the message size limit for the OWA users.

The modification has to be done on the CAS servers using Web.config file and the Exchange Management Shell.

To reach this goal you have to modify the maxRequestLength value by following the below steps:

  • Find the Web.config files on the Client Access server on OWA and EWS directories. The default locations are <drive>\Program Files\Microsoft\ExchangeServer\ClientAccess\Owa  and  <drive>\Program Files\Microsoft\ExchangeServer\ClientAccess\exchweb\ews

  • Make a backup copy of the file.

  • Use Notepad or another text editor to open the original file. Do not use Internet Information Services (IIS) to edit the Web.config file.

  • Find the maxRequestLength value, and change it to the value that you want. The value is in kilobytes (KB), and the default value is 30000.

    <httpRuntime maxRequestLength="70000" />

    image

  • Save and close the files

  • open the command prompt and run the following:
         cd \Windows\System32\inetsrv
    appcmd set config "Default Web Site/ews" -section:requestFiltering -requestLimits.maxAllowedContentLength:value
    appcmd set config "Default Web Site/owa" -section:requestFiltering -requestLimits.maxAllowedContentLength:value

    image

    image

     

  • do iisreset

     

     

    References:

    http://technet.microsoft.com/en-us/library/aa996835(v=exchg.80).aspx

    http://social.technet.microsoft.com/Forums/exchange/en-US/0f1901b7-40af-4ff1-8aab-0a0adc994b52/404-error-when-attempting-to-upload-file-through-owa

  • Advertisements

    Increase Message Size Limit in Exchange 2007 sp1 ( For Outlook Users )

    By default the message size limit is 10 MB for sending and receiving, what we are going to do is to increase this limit to make it 70 MB.

    here what  I’m going to do is for outlook users, (for OWA users will be in different post)

    The modifications have to be done on different levels:

    • Organization Level:

    The settings here will affect all exchange servers on the organization.

    Organization Configuration -> Hub Transport -> Global Settings tab ->  Transport Settings -> Properties -> set Maximum Receive Size and Maximum Send Size

    image

     

    Read the rest of this entry »