Jump to content


- - - - -
Photo

Windows: Receiving IIS Error Pages Instead of IP.Board Error Pages


If you are using IP.Board on a Windows Server 2008 machine running IIS 7 or IIS 7.5, you experience an issue where IP.Board error pages are intercepted by IIS and replaced with the server configured custom error pages.

The steps to disable this behaviour change depending on your version of IIS.

Important note: this change can be done on a per server or per-site basis.  If you are hosting your IP.Board with a Windows-based shared hosting provider, you may wish to advise your hosting provider of this change in case they wish to apply it for all users.

Steps:
  • Download and install the IIS Administration Pack extension from http://www.iis.net/ (only required for IIS 7 on Windows Server 2008.  This component is included by default with IIS 7.5 on Windows Server 2008 R2)
  • Open the IIS Manager console, and select your server, and drilling down to your site.  You can also apply this change to all sites on the server by selecting your server from the list instead of an individual site
  • With your server or site open, select the "Configuration Editor" option
    Attached Image: iismgr1.PNG
  • In the "Section" dropdown, locate the entry "httpErrors" directly under "system.webServer"
    Attached Image: iismgr2.PNG
  • Select the dropdown beside "existingResponse", and change the setting to "PassThrough"
    Attached Image: iismgr3.PNG

Once you have performed these steps, your IP.Board error pages will then appear normally.

(Screenshots are provided for convenience only.  Your environment may differ slightly from that shown).



2 Comments

I am having the same problem with nginx. Perhaps somebody knows which feature can be disabled to resolve this issue.
This is very helpful as it carry an error to IPB's error engine instead of custom errors in IIS.

Developer Docs · Error Codes