CF Admin -> Server Settings -> Settings -> Enable HTTP status codes



-----Original Message-----
From: Rick Root [mailto:rick.r...@webworksllc.com] 
Sent: Monday, March 02, 2009 11:21 AM
To: cf-talk
Subject: problem with cferror, trycatch and iis7


I have a couple issues with error trapping on our new server (CF801,
x64 windows 2k8 and IIS7)

Take a look at this code:

<cfset source = "u:\classcreator\003\000000700\1_5.jpg">
<p><cfoutput>file exists?  #fileExists(source)#</cfoutput></p>

<cftry>
        <cfx_imagecr3 getimageinfo="#source#" >
        <cfdump var="#imagecr#">
        <cfcatch type="any">
                <cfdump var="#cfcatch#">
                <cfabort>
        </cfcatch>
</cftry>


Pretty simple... it's not working, the cfx tag is causing an error, so
it should do a dump of the cfcatch, right?

Look what's happening... my error.cfm is still being run for some reason:

http://www.saline1990.com/test.cfm

So... #1 - why is my error.cfm being called and #2 - How did I get rid
of all the crap that IIS is spewing when I *DO* want my error.cfm to
run?  I don't want that giant SERVER ERROR and "500 Internal Server
Error" banner.


Thanks!

-- 
Rick Root
New Brian Vander Ark Album, songs in the music player and cool behind
the scenes video at www.myspace.com/brianvanderark



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
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:320015
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

Reply via email to