|
I Can not connect to Oracle 10g XE from ASP perlscript web page on IIS 6 running on server 2003. I have set up the database and the ODBC connections. The ODBC connection is workinh and I can connect to it via the ODBC test. I have the same ASP application running on a VISTA workstation and it connects fine.
I am not using DBD I use ADODB.Connection.
This works on other servers. NT, VISTA, server 2000. Not sure if it is a permission issue in IIS or what. Thanks for any help
use Win32::ASP;
$Conn = $Server->CreateObject("ADODB.Connection");
$Conn->Open("DSN=SCDATA;UID=tcm;PWD=tcm");
$sql = "select distinct initials, lastname || ', ' || firstname lastname from nurses order by lastname";
$Rs = $Conn->Execute($sql);
while (! $Rs->EOF) {
$empl = $Rs->Fields('initials')->value;
$nme = $Rs->Fields('lastname')->value;
print "<option value=$empl>$nme</option>";
$Rs->MoveNext;
} # while
$Rs->Close;
|