This is my first shot at ASP but I do have a fair amout of VBA experiance.
Anyway, My ADODB.Connection fails in the ASP page
CODE -
set conShark = Server.CreateObject("adoDB.CONNECTION"
conShark.Open "DSN=SYSinformix33;UID=test;PWD=test"
ERROR in IE 5.5 -
Microsoft OLE DB Provider for ODBC Drivers (0x80004005)
[Microsoft][ODBC Driver Manager] Driver's SQLSetConnectAttr failed
/asp/test1.asp, line 64
The DSN is good. It works when you perform a test connect in the ODBC manager, as well as a different VB application.
I get the same error when I use a connect string instead of a DSN.
I don't get an error when I create the ADODB object. It happens when trying to open it.
Any ideas what may be causing the error. I've run out of ideas.
Thanks
Doug
Anyway, My ADODB.Connection fails in the ASP page
CODE -
set conShark = Server.CreateObject("adoDB.CONNECTION"
conShark.Open "DSN=SYSinformix33;UID=test;PWD=test"
ERROR in IE 5.5 -
Microsoft OLE DB Provider for ODBC Drivers (0x80004005)
[Microsoft][ODBC Driver Manager] Driver's SQLSetConnectAttr failed
/asp/test1.asp, line 64
The DSN is good. It works when you perform a test connect in the ODBC manager, as well as a different VB application.
I get the same error when I use a connect string instead of a DSN.
I don't get an error when I create the ADODB object. It happens when trying to open it.
Any ideas what may be causing the error. I've run out of ideas.
Thanks
Doug