How to Disable Custom Server Errors

THIS ARTICLE APPLIES TO:

All Versions of Knowledgebase

PROCESS:

Often times application web servers are configured to return Custom or Friendly Errors to users. Custom Errors prevent users from seeing code infused error messages when an application encounters a problem. By default Knowledgebase application servers are set to use Custom Errors.

In the Knowledgebase Application server there are two areas where Custom Errors can be disabled by a server admin. Both the Knowledgebase Admin Control Panel and the Customer Portal websites utilize Custom Errors.

Disable Custom Errors on the Knowledgebase Admin Control Panel

  1. On the KB Application server navigate to [DRIVE]:\Program Files\KnowledgeBase.Net\knowledgebase\applicationprogram\ui\http\ClientPortal
  2. Backup the existing web.config file
  3. Edit the web.config file in notepad
  4. Change the customErrors mode line to read: <customErrors mode="Off" defaultRedirect="/errorpage.aspx"/>
  5. Reset IIS

Disable Custom Errors on the Knowledgebase Customer Portal

  1. On the KB Application server navigate to [DRIVE]:\Program Files\KnowledgeBase.Net\knowledgebase\applicationprogram\ui\http\CustomerPortal
  2. Backup the existing web.config file
  3. Edit the web.config file in notepad
  4. Change the customErrors mode line to read: <customErrors mode="Off" defaultRedirect="/errorpage.aspx"/>
  5. Reset IIS

AFFECTED SYSTEMS & USERS:

Knowledgebase Application Server Admins who wish to disable Custom Server Errors

ADDITIONAL INFORMATION:

This article applies to non-hosted implementations of the Knowledgebase.  Hosted customers experiencing this issue should contact Moxie Software Product Support using the below procedure.

ESCALATION PROCEDURE:

If you have additional questions, please contact our Support team at 877-373-7848 (option 2) or via email at cimsupport@moxiesoft.com.