So I took the paths out for the 404 path and submitted the cfadmin page so it set back to default. Now I get the stock 404 CF error if it cannot find a CFM page.
I put the path back in cfadmin and refreshed the missing page test1.cfm and my 404.cfm page ran. I tried another page test2.cfm and it displays the IIS 404. It did not try to run the CF 404 page. My 404.cfm page only runs on the first one I tried. Test1.cfm. It is like the javabyte code was created once so it is cached and now no other pages run the 404.cfm page. Strange. This is MX7. Maybe a bug? > -----Original Message----- > From: Chad Gray [mailto:[EMAIL PROTECTED] > Sent: Wednesday, November 19, 2008 3:55 PM > To: cf-talk > Subject: RE: Site-wide Error Handler > > Hmm ya I made a mapping to a folder called errors and put my 404 page and > error page in it. Then I used /errors/404.cfm in the cfadmin and it says > it found the pages, but they don't run on the web sites. The IIS 404 > runs, but my custom 404.cfm page in the errors mapping does not run. > > Like even if I do http://localhost/errors/404.cfm i get IIS's 404 page. > > Shouldn't the mapping deliver the 404.cfm page? > > > > > -----Original Message----- > > From: Ian Skinner [mailto:[EMAIL PROTECTED] > > Sent: Wednesday, November 19, 2008 3:06 PM > > To: cf-talk > > Subject: Re: Site-wide Error Handler > > > > Chad Gray wrote: > > > Where do I put the file and how to I format the path? > > > > There is a little understood weirdness to the MX generation of > > ColdFusion. It has two web roots in which it will look for CFM files. > > The first is the web root defined in the web server, IIS in your case. > > The second is in the Java server root. It is only in the latter that I > > have ever successfully used the site wide error handler. On my system > > this root folder is > > "drive:\JRun4\servers\cfusion\cfusion-ear\cfusion-war", but this will > > very greatly depending on what version, flavor and configuration choices > > of ColdFusion you have installed. > > > > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:315612 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4