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
> displaying....No 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/[email protected]/
> To Unsubscribe visit
> http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf
> _talk or send a message to [EMAIL PROTECTED] with
> 'unsubscribe' in the body.
------------------------------------------------------------------------------
Archives: http://www.mail-archive.com/[email protected]/
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebarRsts&bodyRsts/cf_talk or send a message
to [EMAIL PROTECTED] with 'unsubscribe' in the body.