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.Connectio n.
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.Connectio n");
$Conn->Open("DSN=SCDA TA;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('initia ls')->value;
$nme = $Rs->Fields('lastna me')->value;
print "<option value=$empl>$nm e</option>";
$Rs->MoveNext;
} # while
$Rs->Close;
I am not using DBD I use ADODB.Connectio n.
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.Connectio n");
$Conn->Open("DSN=SCDA TA;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('initia ls')->value;
$nme = $Rs->Fields('lastna me')->value;
print "<option value=$empl>$nm e</option>";
$Rs->MoveNext;
} # while
$Rs->Close;
Comment