ColtsFoot has asked for the wisdom of the Perl Monks concerning the following question:
When I run this cgi script from a web browser I get the following error message#!d:/perl/bin/perl.exe -w # use strict; use CGI; use CGI::Carp qw(fatalsToBrowser); use DBI; #DBI->trace(2, 'c:/temp/timetable.log'); my $dbh = DBI->connect('dbi:ODBC:TIMETABLE', '', '', {RaiseError=>1})o +r die "Failed to connect to database: ",DBI->errstr(); my $page = new CGI; print $page->header(); . . .
Can anyone shed some light on this pleaseSoftware error: DBI->connect(CMIS) failed: [Microsoft][ODBC Microsoft Access Driver] N +ot a valid file name. (SQL-S1000)(DBD: db_login/SQLConnect err=-1) at + d:/apps/apache/cgi-bin/timetable.pl line 9
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: DBI Failing to connect from cgi script
by Chmrr (Vicar) on Mar 27, 2002 at 12:58 UTC | |
|
Re: DBI Failing to connect from cgi script
by rdfield (Priest) on Mar 27, 2002 at 12:43 UTC | |
|
Re: DBI Failing to connect from cgi script
by peppiv (Curate) on Mar 27, 2002 at 13:10 UTC | |
|
Re: DBI Failing to connect from cgi script
by ColtsFoot (Chaplain) on Mar 27, 2002 at 13:42 UTC | |
|
Re: DBI Failing to connect from cgi script
by peppiv (Curate) on Mar 27, 2002 at 13:56 UTC |