RE: Error parameters when it's a database error question.

View: New views
1 Messages — Rating Filter:   Alert me  

RE: Error parameters when it's a database error question.

by DURETTE, STEVEN J (ATTASIAIT) :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Nevermind. I found it.  ERROR.ROOTCAUSE.WHERE, not ERROR.WHERE.

 

It's been a long day!

 

 

From: DURETTE, STEVEN J (ATTASIAIT)
Sent: Friday, November 06, 2009 2:22 PM
To: cf-talk
Subject: Error parameters when it's a database error question.

 

All,

 

I have a custom error template that emails me quite a bit of info
whenever there is a problem, however I'm not getting all the information
I want.

 

I know that if you dump or display/email #error.rootcause.SQL#, it
displays the sql code as it should. But it puts things like (param 1)
where there would be a value passed in (happens with using
cfqueryparam).  I looked up that if I dump or display/email
#error.where# I should get what those (param) items are, but I never get
any results from error.where.

 

I would really like to know what these values are because they really
help with troubleshooting.

 

Any ideas?

 

Steve

 



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists
Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:328100
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=17837.14401.4