N
nathaniel_welch
I need some help with connecting to a Microsoft Access database using
DBI. My files are stored on a remote server. I really don't have any
clue why I can't make this work. The error I get really has me
confused as well. I tried the following (where recruit is the DSN
name):
use DBI;
print "Content-type:text/html\n\n";
print "<html><head><title>Test Page</title></head><body>";
print "test1<br><br>";
$dbh = DBI->connect("dbi:ODBC:recruit");
print "test2</body></html>";
exit;
and the error I get is: "CGI Error The specified CGI application
misbehaved by not returning a complete set of HTTP headers.".
I also tried using a DSN less connection, but got the same error.
This exact code works fine in my old environment, but will not work
here. I checked and the DBI module is installed, so that's not the
problem.
Any help would be GREATLY appreciated!
Thanks,
Nate
DBI. My files are stored on a remote server. I really don't have any
clue why I can't make this work. The error I get really has me
confused as well. I tried the following (where recruit is the DSN
name):
use DBI;
print "Content-type:text/html\n\n";
print "<html><head><title>Test Page</title></head><body>";
print "test1<br><br>";
$dbh = DBI->connect("dbi:ODBC:recruit");
print "test2</body></html>";
exit;
and the error I get is: "CGI Error The specified CGI application
misbehaved by not returning a complete set of HTTP headers.".
I also tried using a DSN less connection, but got the same error.
This exact code works fine in my old environment, but will not work
here. I checked and the DBI module is installed, so that's not the
problem.
Any help would be GREATLY appreciated!
Thanks,
Nate