peachy
05-30-2004, 11:15 PM
I am trying to connect to a SQL database via ASP. Have done this one time before and it worked fine, but I have slept since then and now have a brain fade.
Using:
dim objConn,strConnection
strConnection = "DSN=DSN_name;UID=User_ID;PWD=Password"
set objConn = server.CreateObject("ADODB.Connection")
objConn.connectionstring = strConnection
objconn.Open
The error I am getting is:
[Microsoft][ODBC Driver Mager] Datasource name not found and no default driver specified.
Nrmally I program in RPG but this is a special project I have to get done, Please someone let me know "what" I am missing
Peachy:confused:
Using:
dim objConn,strConnection
strConnection = "DSN=DSN_name;UID=User_ID;PWD=Password"
set objConn = server.CreateObject("ADODB.Connection")
objConn.connectionstring = strConnection
objconn.Open
The error I am getting is:
[Microsoft][ODBC Driver Mager] Datasource name not found and no default driver specified.
Nrmally I program in RPG but this is a special project I have to get done, Please someone let me know "what" I am missing
Peachy:confused: