RE: Debugging an undefined DB
Actually, you do see an error when the DSN isn't setup. It looks kinda like this: Error Diagnostic Information ODBC Error Code = S1000 (General error) [Microsoft][ODBC Microsoft Access Driver] Could not find file '(unknown)'. Hint: The cause of this error is usually either (1) You have used an incorrect data source name, or (2) You have changed the location of your data source either by moving it or renaming one of its parent directories. After moving a data source make sure you update its attributes using the ColdFusion Administrator. -- Mark Warrick Phone: (714) 547-5386 Efax.com Fax: (801) 730-7289 Personal Email: [EMAIL PROTECTED] Personal URL: http://www.warrick.net Business Email: [EMAIL PROTECTED] Business URL: http://www.fusioneers.com ICQ: 346566 -- -Original Message- From: Gene Kraybill [mailto:[EMAIL PROTECTED]] Sent: Friday, September 15, 2000 10:55 PM To: [EMAIL PROTECTED] Subject: Debugging an undefined DB Why doesn't an attempt to access an undefined DB produce a CF error? Just spent too much time trying to figure out why pages on a db-driven site weren't displayingNo errors, no content, just the standard CGI variables, etc. at the bottom... It seemed to be a CFSETTING ENABLECFOUTPUTONLY problem, but eventually I remembered I hadn't defined the DSN after re-installing CF in the wake of a hard drive rebuild...Worked perfect once I redefined the DSN g... The odd thing was that even tho I have all CF debugging turned ON, my pages came up without any CF errors... Gene Kraybill - Gene Kraybill LPW Associates LLC www.lpw.net -- Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ To Unsubscribe visit http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf _talk or send a message to [EMAIL PROTECTED] with 'unsubscribe' in the body. -- Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ To Unsubscribe visit http://www.houseoffusion.com/index.cfm?sidebarRstsbodyRsts/cf_talk or send a message to [EMAIL PROTECTED] with 'unsubscribe' in the body.
Debugging an undefined DB
Why doesn't an attempt to access an undefined DB produce a CF error? Just spent too much time trying to figure out why pages on a db-driven site weren't displayingNo errors, no content, just the standard CGI variables, etc. at the bottom... It seemed to be a CFSETTING ENABLECFOUTPUTONLY problem, but eventually I remembered I hadn't defined the DSN after re-installing CF in the wake of a hard drive rebuild...Worked perfect once I redefined the DSN g... The odd thing was that even tho I have all CF debugging turned ON, my pages came up without any CF errors... Gene Kraybill - Gene Kraybill LPW Associates LLC www.lpw.net -- Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ To Unsubscribe visit http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk or send a message to [EMAIL PROTECTED] with 'unsubscribe' in the body.
Re: Debugging an undefined DB
You might be experiencing the "comment" bug in your code. If you did not complete the cf comment tags, nothing below the faulty comment tag will be executed. It has happend to me quite a few time. =) Xing From: Gene Kraybill [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] Date: Fri, 15 Sep 2000 22:55:10 -0700 To: [EMAIL PROTECTED] Subject: Debugging an undefined DB Why doesn't an attempt to access an undefined DB produce a CF error? Just spent too much time trying to figure out why pages on a db-driven site weren't displayingNo errors, no content, just the standard CGI variables, etc. at the bottom... It seemed to be a CFSETTING ENABLECFOUTPUTONLY problem, but eventually I remembered I hadn't defined the DSN after re-installing CF in the wake of a hard drive rebuild...Worked perfect once I redefined the DSN g... The odd thing was that even tho I have all CF debugging turned ON, my pages came up without any CF errors... Gene Kraybill - Gene Kraybill LPW Associates LLC www.lpw.net -- Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ To Unsubscribe visit http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk or send a message to [EMAIL PROTECTED] with 'unsubscribe' in the body. -- Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ To Unsubscribe visit http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk or send a message to [EMAIL PROTECTED] with 'unsubscribe' in the body.