Your skill will accomplish what the force of many cannot |
|
PerlMonks |
CGI and DBIby howarda (Acolyte) |
on Nov 29, 2004 at 12:15 UTC ( [id://410902]=perlquestion: print w/replies, xml ) | Need Help?? |
howarda has asked for the wisdom of the Perl Monks concerning the following question:
Hello I am trying to write my first perl script using CGI, DBI and DBD::ODBC to connect to an Oracle database on my Windows XP pc.
I have got simple CGI scripts working on here but this is the first trying to connect to a database. Each time it runs I get CGI Timeout in the browser and a 502 error in the IIS log. 11:41:04 127.0.0.1 GET /CGI/ah1.cgi 502 I am able to run the database connection code in a stand alone script which works fine (even returns results) and the CGI script will run if the database connection code is comented out. My code is below and all I want at the moment is for the database connection to suceed and display a simple page telling me so
Thanks for any help regarding this. howarda
Back to
Seekers of Perl Wisdom
|
|