Viewing Errors on a Remote Computer

Viewing Errors on a Remote Computer

If an error occurs on a Web server application, details of the error are, by default, not viewable on a remote computer (any computer other than the Web server).

To enable such remote error viewing, modify the web.config file so that it logs the error details to the Trace log (.etl) file, where an administrator can view them on any Microsoft Speech Server (MSS) using the MSSLogToText tool. For more information about MSSLogToText, see Installing Log File Tools.

Note Performing this procedure may expose more information about an application than preferred. If the Web server is accessible from clients other than MSS, be sure to weigh this procedure's potential risk against its benefits.

To make errors viewable on a remote computer

  1. On the Web server, locate the web.config file in the root directory of the current Web application.

  2. Locate the customErrors mode attribute in the file.

    <configuration>
    

   <system.web>       <customErrors mode="RemoteOnly"/>    </system.web> </configuration>

  1. Change the customErrors mode attribute from "RemoteOnly" to "Off", and then save the file.

  2. Error details can now be viewed on any MSS computer through the MSSLogToText utility.

See Also

Analyzing Logged Data | Showing Speech Server Errors