I\'ve read most of the discussion surrounding 32-bit/64-bit ODBC driver and application mismatches. I have implemented the suggestions in articles pertaining to the error messag
You need to download the Microsoft Access Database Engine 2010 Redistributable from the Microsoft download center. A 32bit driver and 64bit driver are both available. What works?
If you have a 64bit server with no Office installation then install the 64bit driver.
If you have a 64bit server with 32bit office installation then install the 32bit driver*.
If you have a 32bit server with no Office installation then install the 32bit driver.
If you have a 32bit server with 32bit Office installation then install the 32bit driver.
*If you are trying to install the 32bit drivers on a 64bit machine then the installer will complain and fail. However the install has an override flag if you install it via the command line (cmd.exe) with administrator privileges.
AccessDatabaseEngine_x64.exe /passive
ASP Classic Connection Strings
Access File
<%
Set Con = Server.CreateObject("ADODB.Connection")
Con.Open "Provider=Microsoft.ACE.OLEDB.12.0;Data Source=C:\temp\Database1.mdb;Persist Security Info=False;"
Con.Close
%>
Excel File
<%
Set Con = Server.CreateObject("ADODB.Connection")
Con.Open "Provider=Microsoft.ACE.OLEDB.12.0;Data Source=C:\temp\book1.xlsx;Extended Properties=Excel 12.0;"
Con.Close
%>
Download both drivers from microsoft download center