Sent Items Update – the updated message is too large

Problem:

If a message that is updated by Sent Items Update is too large, an exception may occur. This will typically be caused by a large attachment kn the message that is over several MB. As a result the message will not be updated.

Solution:

In order to solve the problem, you need to modify the ExchangeWebService settings that is responsible for updating messages in Exchange mailboxes. This can be done by editing the web.config file for the EWS service. The default path for this file is:

C:\Program Files\Microsoft\Exchange Server\ClientAccess\exchweb\ews\web.config

If the file or EWS is not located in this address, open IIS manager, go to Web Sites, Default Web Sites, and EWS.

185-1
Fig. 1. IIS Navigation Pane.

Right click and choose Properties. Read the location of the file.

185-2
Fig. 2. ExchangeWebServices properties view for IIS.

Edit the web.config file using the Notepad. In the file search for (node) xml <system.web> and add an entry:

 <httpRuntime maxRequestLength="size in Kbytes"/>

Between the quotes "", provide the maximum size of the message that will be accepted by EWS.