I'm writing a cgi script that connects to an access DB in windows using
DBD::ODBC.
the program works great from the command line, but when I try to run it
from the browser, this is what I get
DBI->connect(mycddb) failed: [Microsoft][ODBC Driver Manager] Data source
name not found and no default driver specified (SQL-IM002)(DBD:
db_login/SQLConnect err=-1) at C:\scripts\db\db_auth.cgi line 41
here are lines 40 - 41 from my program for reference
$dsn = 'dbi:ODBC:mycddb';
$dbh = DBI->connect($dsn,'','',{RaiseError => 1,AutoCommit => 0}) or die
"Error opening database";
any ideas?
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]