![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
I'm trying to connect to a Pervasive 9.5 database using classic asp, and am getting error messages establishing the connection. I'm getting the same error messages with DEMODATA as I am with our custom database. This code: dim objconn set objconn = server.createobject("ADODB.Connection") objconn.connectionstring = "DSN=DEMODATA" objconn.open gives this error message: Microsoft OLE DB Provider for ODBC Drivers error '80004005' Specified driver could not be loaded due to system error 5 (Pervasive ODBC Engine Interface). If I specify the provider: dim objconn set objconn = server.createobject("ADODB.Connection") objconn.connectionstring = "DSN=DEMODATA" objconn.provider = "Pervasive ODBC Engine Interface" objconn.open I get this error: ADODB.Connection error '800a0e7a' Provider cannot be found. It may not be properly installed. The thing is, the DEMODATA and the custom datasource both work fine on the machine. The "Test" button in ODBC Setup works fine, I can connect to the data sources just fine via ODBC with Crystal Reports, etc. So, the Pervasive odbc driver is working fine. Is there a different one for IIS though? I can also connect to non-Pervasive ODBC DSNs just fine using ASP. I've made sure IUSR has full-control permissions for the data files and all parent folders. I've updated MDAC to the latest version. I've restarted the Web site and the whole machine. What else can I try? Thanks, |
![]() |
| Thread Tools | |
| Display Modes | |
| |