Runtime Web Error in Integrity - PAS ICS Integrity - 7.3 - Help - Intergraph

ICS Integrity Help

Language
English
Product
PAS ICS Integrity
Subproduct
ICS
Search by Category
Help
PAS Version
7.3

If a Runtime Error message is displayed, an application error occurred on the Integrity 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 Integrity 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 Integrity 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 Integrity:

  1. On the Integrity 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 Integrity website is created under).

  6. Click Integrity.

  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.