Skip navigation FileNet logo
  Open Client Developer's Guide
  Search  |  Index  |  Glossary   |  
Open menu Overview
Open menu Open Client Architecture
Open menu Developing for Process
Open menu Error and Exception Handling
Close menu Customizing the Framework
  Best Practices
  Customizing the Error Page
  Customizing the Java Viewer
  XML Schema to INI Format
Globalization / Localization
Open menu General Information
   

Customizing the Error Page

The file ..\Program Files\FnOpenClient\FnCustomError.asp is a custom error page included in the Open Client toolkit for handling unexpected errors. Using the CustomErrors tag in the ..\Program files\FnOpenClient\Web.Config file, developers can customize this Error Page:

  • To enable custom error messages, visible to all clients
    customErrors mode="On"
  • To enable custom error messages, yet hide them from remote clients
    customErrors mode="RemoteOnly"
  • To disable custom messages and just use the Open Client error messages
    customErrors mode=”Off”
  • To handle other errors than are currently listed in the file, such as
    Server Error (code=500)
    <customErrors mode="on" defaultRedirect="FnCustomError.asp">
    <error statusCode="500" redirect="InternalError.htm"/>