Anand -
Can you give me some additional code example to add to my application.cfm.
I don't have access to IIS or CFAdmin settings.
Regards -
Main Topics
Browse All TopicsI would like to add to my application.cfm template for users who encounter a 404 Page Not Fourn Error.
My current templates catches some:
<cferror type="request" template="help.cfm">
<cferror type="exception" template="help.cfm">
<cftry>
<cfcatch type="Any" template="help.cfm"></cfca
</cftry>
Thanks!
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
Actually a 404 error is always passed to ColdFusion on IIS, unless the tickbox "Check if file exists" is ticked, then you can specify your own 404 with IIS.
If you do not have access to IIS or the CF Admin then you'll have to contact your host and ask them to set up a custom 404 page for you specifically, they can do that if you are running a domain with them..
Application.cfm is a file that is executed before every coldfusion page is loaded.
If no coldfusion file is found, no application.cfm will be executed.
Same goes for OnRequestEnd.cfm, that file is executed at the end of a coldfusion page.
You should go to the coldfusion admin and set up you page to execute when the file is not found.
You could do mapping but it's more interesting to do it in the coldusion administrator:
http://localhost/CFIDE/Adm
Business Accounts
Answer for Membership
by: anandkpPosted on 2004-02-28 at 05:52:26ID: 10475919
u cant do this thru application.cfm
thou u cld do the same thru IIS default mappings for error templates
OR
U cld set it up thru CFAdmin -> Settings ->Missing Template Handler
hth
K'Rgds
Anand