Runtime Web Error in DOC4000 - Honeywell DOC4000 - 7.3 - Administration & Configuration - Intergraph

DOC4000 Administration Guide

Language
English
Product
Honeywell DOC4000
Subproduct
Cyber
Search by Category
Administration & Configuration
PAS Version
7.3

If a Runtime Error message is displayed, an application error occurred on the DOC4000 server. The current custom settings for the application prevent the details of the application error from being viewed remotely for security reasons. You can view the details by using a browser running directly on the DOC4000 server.

If you want to allow the details of the error message to be viewable on remote machines, create a <customErrors> tag in the web.config file located in the root folder of the DOC4000 web application. Set the mode attribute in this <customErrors> tag to Off.

<!-- Web.Config Configuration File -->

<configuration>

   <system.web>

      <customErrors mode="Off" />

   </system.web>

</configuration>

You can replace the displayed error page with a custom error page by modifying the defaultRedirect attribute of the <customErrors> configuration tag in the web.config file to point to a custom error page URL.

<!-- Web.Config Configuration File -->

<configuration>

   <system.web>

      <customErrors mode="RemoteOnly" defaultRedirect="mypage.htm" />

   </system.web>

</configuration>

You can also set .NET Trust Levels to Full Internal in IIS.

To set the .NET Trust Levels for DOC4000:

  1. On the DOC4000 server, click Windows Start > Run.

  2. Type inetmgr, and then click OK to start Internet Information Services (IIS) Manager.

  3. In the left pane, expand the local computer.

  4. Expand the Sites folder under the local computer.

  5. Expand Default Web Site (or whichever node the virtual path for the DOC4000 website is created under).

  6. Click DOC4000.

  7. In the middle pane, double-click the .NET Trust Levels icon.

    admin-trouble-iis-net-trust

  8. In Trust level, select Full (internal).

  9. Under Actions in the right pane, click Apply.