In some environments, the Exchange server response times can be very slow due to network connectivity or performance issues.
This is more often the case when dealing with hosted Exchange services.
Extending or Reducing the Timeout of Each Exchange Web Service Request
Two timeouts can be adjusted:
- Modify the timeout while resolving the mailbox during authentication.
- Modify the timeout used for all other requests.
Modifying the timeout while resolving the mailbox during the authentication
-
Set the following advanced option:
Ews.ResolveTimeout = nnnnn, where nnnnn is the number of milliseconds. (Default: 90,000 ms = 90 seconds.)
Example:
Ews.ResolveTimeout = 120000 (120,000 ms = 120 seconds = 2 minutes.)
Modifying the timeout used for all other requests
The way to modify the timeout used for anything except resolving the mailbox during authentication depends on the version of Riva
In Riva 3.0.58 or higher:
-
Start the Riva Manager application.
-
In the right pane, double-click the Exchange connection to edit it.
-
Click Connection Details.
-
In the right pane, below Additional Details, set the Service Timeout in seconds. (Default: 100 seconds = 1 minute and 40 seconds.)
-
Save the connection.
In Riva 3.0.57 or earlier:
-
Set the following advanced option:
Ews.ServiceTimeout = nnnnn, where nnnnn is the number of milliseconds. (Default: 100,000 ms = 1 minute and 40 seconds.)
Example:
Ews.ServiceTimeout = 120000 (120,000 ms = 120 seconds = 2 minutes.)