devxlogo

Informix and ASP Error

Informix and ASP Error

Question:
When I try to connect to an Informix database (via ASP) located on another machine on our LAN, I get the following error:

Microsoft OLE DB Provider for ODBC Drivers error '80004005' [Microsoft][ODBC Driver Manager] Driver's SQLSetConnectAttr failed

How do I avoid this?

Answer:
I don’t do much VB programming, so this suggestion may be way out in left field. Try verifying that the PASSW, ID, and MYDB variables are set properly in your program to indicate the data set name. Your error message indicates that it may be a problem with the original connection, and the DSN is a prime suspect.

See also  How College Students Can Shape the Future of Tech Responsibility
devxblackblue

About Our Editorial Process

At DevX, we’re dedicated to tech entrepreneurship. Our team closely follows industry shifts, new products, AI breakthroughs, technology trends, and funding announcements. Articles undergo thorough editing to ensure accuracy and clarity, reflecting DevX’s style and supporting entrepreneurs in the tech sphere.

See our full editorial policy.

About Our Journalist