Hi Folks
I am running a IIS server and MSSQL7, both on the same machine.
The database server is called JUSTIN. The database is called test and
the table is called test.
This is my connect string.
$dbh = DBI->connect('DBI:ODBC:test','****');
This is my error.
CGI Error
The specified CGI application misbehaved by not returning a complete set
of HTTP headers. The headers it did return are:
DBI->connect(test) failed: [Microsoft][ODBC Driver Manager] Data source
name not found and no default driver specified (SQL-IM002)(DBD:
db_login/SQLConnect err=-1) at D:\Web_Clients\test\cgi-bin\db.pl line 7
Can't call method "prepare" on an undefined value at
D:\Web_Clients\test\cgi-bin\db.pl line 17.
debug dude where is my script
What am I doing wrong?
Kind Regards
Justin