Enterprise Vault toolbar for Outlook Web Access 2007 SP1 does not load - 500.19 IIS error
book
Article ID: 100002017
calendar_today
Updated On:
Description
Error Message
After enabling EV logging within the Web.config of the OWA virtual directory a review of the log file will show something similar to the following when calling "https://localhost/ews/exchange.asmx":
[ConvertId::DoConvertId] Exception calling ConvertId: System.InvalidOperationException: Client found response content type of 'text/html; charset=utf-8', but expected 'text/xml'.
The request failed with the error message:
The content of the error can be copied from the Enterprise Vault OWA log file and placed into a new text file with the .html extension and then loaded into a browser for viewing. In addition browsing to the following address "https://localhost/ews/exchange.asmx" from the Client Access Server will show the same error, which will look like the following example:
HTTP Error 500.19 - Internal Server Error
Absolute physical path "C:\inetpub\custerr" is not allowed in system.webServer/httpErrors section in web.config file. Use relative path instead.

Cause
For the specific error listed above when the Web.config file, located in the EWS directory, is examined an absolute path is not specified in the 'httpErrors' sub-section of the 'system.web' section. This is expected because the error specifically states that the absolute path has been specified in the 'system.webServer' section in the Web.config, this section only exists in the Web.config found in the root directory of the Website. In some instances when a redirection is enabled on the 'Default Web Site' the 'httpErrors' section of the Web.config will become populated with an absolute path, which then leads to this error occurring. Opening the Web.config file found in 'c:\inetpub\wwwroot\' will look similar to the following:
-
-
- <httpErrors errorMode="DetailedLocalOnly">
Resolution
Remove the '' section (in bold above) from the Web.config file of the Default Web Site as this should not be needed for proper error handling of IIS 7.
Issue/Introduction
The Enterprise Vault (EV) toolbar for Outlook Web Access (OWA) 2007 SP1 and above does not load because the Exchange Web Services (EWS) is mis-configured and throws a 500.19 IIS error
Was this article helpful?
thumb_up
Yes
thumb_down
No