Hi gurus,
    I am trying to run my CGI's on WinNT. I can get the database
connectivity through CGI scripts when I run them on the  command prompt.
But I cannot connect to the database through the same CGI programs when
I run them through the browser. Please look at the Apache logs and let
me know if I have made a mistake. I am using DBI::ODBC for database
connectivity.


<snip>
[Tue Sep 03 11:03:47 2002] [error] [client 127.0.0.1] [Tue Sep  3
11:03:45 2002]
 c:\home\httpd\cgi-bin\ifund2.3\bin\LOGING~1.CGI: DBI->connect(karna)
failed:
[Microsoft][ODBC Driver Manager] Data source name not found and no
default driver
specified (SQL-IM002)(DBD: db_login/SQLConnect err=-1) at
/home/httpd/cgi-bin/IFUND2.3/lib//CommonFunctions.pm line 191

[Tue Sep 03 11:03:47 2002] [error] [client 127.0.0.1] [Tue Sep  3
11:03:45 2002]
 c:\home\httpd\cgi-bin\ifund2.3\bin\LOGING~1.CGI: Can't call method
"prepare"
without a package or object reference at
c:\home\httpd\cgi-bin\ifund2.3\bin\LOGING~1.CGI line 201.

</snip>


Thanx in advance,

Parvez


_______________________________________________
Perl-Win32-Users mailing list
[EMAIL PROTECTED]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to