What about page not found error?

Ask a Question related to Macromedia ColdFusion, Design and Development.

  1. #1

    Default What about page not found error?

    I am trying to create a custom Page Not Found page similar to a 404 redirect in
    IIS. I have placed the following code in my Application file but the exception
    error continues to display when page in not available.

    <cferror type="exception"
    exception="TemplateNotFoundException"
    template = "404_page.cfm" />

    I have found that IIS will pick up anything without a ".cfm / .cfc" in the
    file name and properly redirect to my 404_page.cfm but if the .cfm/.cfc
    extension is in the file name the CF error page displays.

    CF 6.1, Win2003 Server Web Edt.

    See4th Guest

  2. Similar Questions and Discussions

    1. Page Not Found Error after Installation
      I just installed coldfusion 7. For some reason the flash remoting did not get installed or enabled. Everything appears to say it installs by...
    2. Page not found error
      I've just upgraded from CF 5.0 to CF MX 7.0. One of my CF scripts that includes looping through a DB query does not work well anymore. Under CF 5.0...
    3. Spontaneous Page Not Found error
      We've been experiencing some of our ColdFusion servers spontaneously stop being able to see a file, which results in a "Page cannot be found" error....
    4. page not found error in mx 7
      I just downloaded the trial version of MX 7. This is a completely brand new installation on IIS 6 and what happens is that the installation runs...
    5. Page Cannot be Found Error
      that error is a server error and has nothing to do with Publisher. I accessed your site just fine. assuming they entered the correct url what most...
  3. #2

    Default Re: What about page not found error?

    Do you have a sitewide error handler set up?
    Mike Greider Guest

  4. #3

    Default Re: What about page not found error?

    Mike,

    I am multi-homing over 30 sites on the server so I can't use the global error handler for this specific site. Do you have any ideas?

    Thanks,

    Jeff

    See4th Guest

  5. #4

    Default Re: What about page not found error?

    In IIS under the properties of the website, go to application configuration and for the .cfm extension, click the "Check that file exists" checkbox. That will cause it to use IIS's 404 error page.
    Brian Philippus Guest

  6. #5

    Default Re: What about page not found error?

    Brian,

    Thanks for the reply. I still get the CF error page.

    For the .cfm extension I checked "Verify the file exists", hit Apply, OK,
    stopped and started the website and still get the CF Error page. I have the IIS
    404 error handler directed to the url /404_page.cfm.

    You can take a look at [url]http://www.tampabaysoapboxderby.com[/url]. Only the first two
    nav items resolve to a page, so you can use all others to see the error page
    result.

    Let me know if you figure it out.

    Thanks,
    Jeff


    See4th Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139