To preserve the content-type when the Exchange Client Access server reports HTTP errors to Forefront Unified Access Gateway (UAG), you must configure the IIS server on Forefront UAG to return detailed errors, as described in the following procedure.
To configure error reporting
-
On the Forefront UAG server, click Start, and then in the Start Search box, type inetmgr and press ENTER.
-
In the Internet Information Services (IIS) Manager, in the navigation tree, under Sites, click the site name corresponding to your portal.
-
In the center pane, in the IIS section, double-click Error Pages.
-
In the Actions pane, click Edit Feature Settings.
-
On the Edit Error Pages Settings dialog box, in the Error Responses area, click Detailed errors, and then click OK.