Copy link to clipboard
Copied
Copy link to clipboard
Copied
Copy link to clipboard
Copied
I know I'm dredging this up from way back but have also run into this problem just recently, IIS6, Windows2003 64bit, ColdFusion 9.
I have configured the IIS Custom Errors, 404 Error to use /error.cfm and this works great for any 404 type event, missing .jpg, htm, html, etc. However if there is a missing .cfm file then I get the standard CF Dump. Like the original poster I was able to get IIS to handle missing .cfm files by editing the Wildcard application map for ColdFusion and checking the 'Verify that file exists' box.
However, this breaks the cfcaptcha we were using. If I disable the checkbox, cfcaptcha works again.
Any help would be greatly appreciated, doesn't look like the original poster ever got his question answered so I hope this is not swept under the table once again.
Copy link to clipboard
Copied
Bdolnik, you say it gets “the standard CF Dump”, by which I suppose you man the plain, unformatted cf error page. But here’s a question: is it reporting that the file doesn’t exist? Or is it any other sort of error?
For instance, if you have a missing template handler defined in the CF Admin (or in the onmissingtemplate method of Application.cfc), then it could be that one of them is intercepting the “missing file” request but then having an error. Or it could be that the sitewide missing template handler points to a file that couldn’t be found (and so the “not found” error is really referring to that, not your requested file).
Let us know if that helps.
/charlie