Skip to main content
Participant
June 14, 2011
Question

Error Pages IIS 7.5 CF 8.01

  • June 14, 2011
  • 1 reply
  • 1312 views

Setup:

Server 2008_R2 64bit Enterprise, 8 gig RAM IIS 7.5, Coldfusion 8.01 w/ hot fix 4.

We are taking sites currently existing on 2003 IIS 6 servers witht he same version of CF and builgin new web servers.  When errors occur on the new servers we are seeeing IIS and our custom Error page being displayed simultaneously.  This happens for 404 and 500 errors.  Has anyone encountered this before?

    This topic has been closed for replies.

    1 reply

    Participant
    August 19, 2011

    I have exactly the same issue you have reported. The only way for me to work around the issue is to accept that IIS will always try and report the error first. So go into IIS and setup some custom 404 and 500 error pages to the ones you would normally use for CF. As these should be basic html you can create htm/html versions of them. Go into the edit feature set and change to custom errors only. Test your error pages again and you will now get your custom IIS error then your CF error duplicated. You can now either setup blank CF error messages in those files you have configured in CFIDE or add conditional logic for those lucky few to see the duplicated message.

    For me this issue occurs on servers running IIS 7.5 CF 9.0.1

    Some interesting articles can be found here:

    http://stackoverflow.com/questions/4968018/coldfusion-error-and-iis7-5-error-pages/6618714#6618714

    http://stackoverflow.com/questions/3936722/iis7-hijacks-my-coldfusion-error-page

    I suspect the issues are to do with updates to IIS and the fact CF 9.0 is still using IIS6 DLL files.

    Inspiring
    July 23, 2012

    Has there been any other news or a better solution to this problem found?  I just installed IIS 7.5 w/ CF10 and this problem is driving me up the wall.