M
mechweb
I am trying to connect to a DB2 database on an AS400 via ASP. On the server
I can connect fine using VB, but keep getting a communcation link failure
when using the exact same code in ASP. Here is my code (I know the AS400
ODBC DSN works ok because I can connect to it from MS Access with no
problems):
set cnn = server.createobject("adodb.connection")
set rs = server.createobject("adodb.recordset")
cnn.open "DSN=SYSTEM2"
Help!
I can connect fine using VB, but keep getting a communcation link failure
when using the exact same code in ASP. Here is my code (I know the AS400
ODBC DSN works ok because I can connect to it from MS Access with no
problems):
set cnn = server.createobject("adodb.connection")
set rs = server.createobject("adodb.recordset")
cnn.open "DSN=SYSTEM2"
Help!