Last post Nov 12, 2013 07:09 AM by Sabyasachis
Jan 24, 2011 04:06 PM|rahul.b|LINK
I get the error 'The 'Microsoft.ACE.OLEDB.12.0' provider is not registered on the local machine.', when i am trying to read an excel file.
I have already installed 2007 Office System Driver: Data Connectivity Components available on
I can see the entry of the installed driver on the registry.
The web server is a Windows 2003 R2 Enterprise x64 R2 machine.
After installing the driver the machine has been restarted.
Same build works on a similar machine (Similar Hardware/OS). Hence ruled out rebuilding the code in 64 bit settings.
Thanks in advance.
Jan 24, 2011 06:04 PM|shehzad.chhipa|LINK
You need to allow 32-bit application to run on 64-bit machine.
For that setting
You can either do
1. Open command prompt and navigate to the %systemdrive%\Inetpub\AdminScripts
2. cscript.exe adsutil.vbs set W3SVC/AppPools/Enable32BitAppOnWin64 true
That should do it hopefully.
OR you can go the IIS Manager and for the application pool (the one your application is running under) go to advanced settings and there should be the option to Enable 32-bit Apps on x64 machines.
Jan 25, 2011 05:31 PM|rahul.b|LINK
My problem was solved by installing a correct version of the oledb driver.
you would need the 32bit version called "AccessDatabaseEngine.exe" NOT the 64bit edition which is "AccessDatabaseEngine_x64.exe".
Apr 08, 2011 08:13 PM|Monte Balam|LINK
Thanks for the info but my quesiton is why is the 64 bit version not correct? If the 64 bit version is not appropiate for 64 bit Windows 2008 R2 then when is the 64 bit version appropriate?
Apr 08, 2011 11:27 PM|Lannie|LINK
OLEDB is 32-bit
Apr 09, 2011 12:13 AM|Monte Balam|LINK
If OLEDB is 32-bit I still think my question is valid and you that is not an answer. Microsoft has a 64 bit install named
AccessDatabaseEngine_x64.exe. If that tool will not work on Windows 2008 R2 bit then where does it work? The instuctions refer to OLEDB - if OLEDB is only 32 bit then what is
Apr 09, 2011 12:28 AM|Lannie|LINK
OLEDB is an old connection driver that can communicate with MS Office (Access, Excel), and other databases.
I believe you will find it listed as 32-bit only on MS Tech Net website.
For 64-bit, MS Office uses ADO.NET.
Apr 09, 2011 12:38 AM|Monte Balam|LINK
If I should be looking to a different product then please point me there
A 64 bit applicaiton is on www.microsoft.com/download/ with a date fo 12/16/2010
Based on the name and instuctions there is a 64 bit version and it support OLEDB
Please point me to the ADO.NET if that is what I should be using.
Users upload data in Excel to an ASP.NET Web Application that I recently migrated from Windows 2003 32 bit to Windows 2008 R2
But I still contend I have a valid question.
AccessDatabaseEngine_x64.exe is not vailid on Windows 2008 R2 then where is it valid?
Apr 09, 2011 08:09 PM|Lannie|LINK
Do not confuse the database engine with the various database connection protocols (ODBC, OLEDB, ADO.NET, and many others)
I have read the limitation of OLEDB is that it is limited to 32-bit.
I always found OLEDB too limiting and ADO.NET providing more functionality, so never wasted my time usng OLEDB.
Nov 12, 2013 07:09 AM|Sabyasachis|LINK
I tried this still I am getting the same issue.
I am using Windows 7 64 bit but office 32 bit is installed.
Please help me.
Thanks in advance