HOW TO: FIX ERROR - "the 'microsoft.ace.oledb.12.0' provider is not registered on the local machine"
-
2011年12月10日 下午 12:51
NOTE: i have found hundreds of threads on this error, yet they all seem to suggest using the 'Microsoft access database engine'. however for whatever reason (even though its made for 64-bit office) this did not work on my machine so i was forced to find an alternate method.
this resolution works with:
- 64-bit Windows 7
- 64-bit MS Office
- Please reply to this thread if it worked for you so i can make this a full "compatibility list"
trying to connect to an Access database in visual studio but keep getting this error?
try installing this first: http://www.microsoft.com/download/en/details.aspx?id=13255
however if, like me, that doesnt work for you, try the following method:
NOTE: this DOES work for office 2010 even though it is for 2007 office, dont ask me why it just does :)
1. download and install this: http://www.microsoft.com/download/en/confirmation.aspx?id=23734
2. in VS click add data source, follow the wizard and enjoy! :)
P.S thanks to everyone that helped me at my original thread: http://social.msdn.microsoft.com/Forums/en-US/csharpgeneral/thread/ebb05600-055a-44c4-8cd3-d33a79878b23
i did give up and tried storing to text files, but oh my god was that a bad choice! so i came back to trying to resolve this and managed to after HOURS AND HOURS of searching.
this thread is for all of those people being given a hard time connecting to Access databases!
Please share your opinions/ problems below!
- 已編輯 MaxJordan91 2011年12月10日 下午 12:51
- 已編輯 MaxJordan91 2011年12月10日 下午 12:53
所有回覆
-
2011年12月12日 上午 08:50
The second link worked for me 100%
Win 7 x64 and Office x64.
Thanks a million for this.
-
2011年12月12日 下午 09:03
It worked for me too!! The second solution. I don't believe it. I tried everything including hard search on registry!
Thanks very much..
-
2011年12月13日 下午 12:23
no problem guys :)
as i say i spent hours trying to find a solution so upon doing so, i felt the need to share it with everyone. i still want to know why it even works!
-
2011年12月15日 下午 11:34
Second link works just fine.. :)
Thanks.
-
2011年12月22日 上午 12:38Well, even installing the non-64-bit (32 bit) version of Access Database Engine 2010 (rather than the 2007 version you suggested) works for me on Windows Server 2008. It is just that the 64-bit version is not working for some mysterious reason!
-
2012年1月4日 下午 06:31The second solution worked for me. Thanks a lot. You made my day.
-
2012年1月7日 下午 09:07
This resolved the problem for me, but caused another one. I had installed Office 2010 64-bit, then installed the AccessDatabaseEngine.exe from the second link, which resolved my original issue. Then I tried to install Visio 2010 64-bit and it wouldn't let me, displaying a message saying:
-------------------
You cannot install the 64-bit version of Office 2010 because you have 32-bit Office products installed. These 32-bit products are not supported with 64-bit installations:
Microsoft Office Access database engine 2007 (English)
If you want to install 64-bit Office 2010, you must uninstall all 32-bit Office products first, and then run setup.exe in the x64 folder. If you want to install 32-bit Office 2010, close this Setup program, and then either go to the x86 folder at the root of your CD or DVD and run setup.exe, or get the 32-bit Office 2010 from the same place you purchased 64-bit Office 2010.
-------------------
I haven't tried it yet, but I assume I could uninstall the database driver and then install Visio and then reinstall the database driver, but this is not something I can put end users of my product through. I'm wondering if I made a grave mistake in basing my application on an Access database.
- Ian
-
2012年1月17日 下午 04:47
it worked for me, but now i get the couldn't find installable ISAM error.
everything i can find for that error is for Jet. it seems to be a registry error but i don't know how to fix - any suggestions?
(win 7, office 2010, vs2010)
-
2012年1月19日 下午 06:33
I am getting this error when trying to import Excel files to my SQL Server 2008 R2 database. I tried the first method and then the second. The second method took care of the problem. First post I tried, guess I got lucky.
Thank you.
-
2012年1月29日 下午 05:34
Hi there,
Installing the x86 version on the first link did the trick. That's brilliant, thank you.
-
2012年2月6日 下午 04:33
I have Windows 2008 R2 Standard Server with 64 Bit OS.
IT installed MS Office 2010 64 bit version and it did not work.
I installed 1st link and it did not work.
Then I installed 2nd link and it worked. Strange but true.
Thanks a lot.
Jayson.
- 已編輯 VCFan09 2012年2月6日 下午 04:35 to fix link error
-
2012年2月8日 上午 03:29
Hello Max,
I installed the two files and the error went away. Win 7, VS 2010, Office 2010 64.
Thank you for your post! You saved me alot of time and trouble.
WD
-
2012年2月22日 上午 12:51
I seem to still be struggling.
Trying to add the database from visual studio 2010 on a Win7 & office 2010 64bit
Im wondering if its due to my database setup.
In my database i do have 2010 features (including navigation, calculated fields as well)
Does anyone have these features? Any help would be amazing!
-
2012年2月24日 上午 05:19I'm using VS 2010 and the second method worked like a charm. Thank you!
-
2012年2月27日 下午 03:05tried the second link first (seems the more popular method) and it worked, nice hack.
64 bit OS and Office- 已編輯 prgmr6 2012年2月27日 下午 03:06
-
2012年3月1日 上午 09:48
True. The 2nd link works perfectly, even with x64 Office and x64 Windows7.
Well done & thanks!
-
2012年3月10日 上午 10:05
please update me if any one is getting a new connection in Visual studiio and with what name
when i installed on XP x64 machine both the versions did not work
one 32 bit version worked on my laptop which is 32 bit xp os but i am unable to get
to point to that is add data source using this driver for excel spread sheet or access database
there is no entry in data source which states or smells something like excel
2. in VS click add data source, follow the wizard and enjoy! :)
all replies are honoured and welcome
thanks in advance and warm regards
bye
-
2012年3月14日 上午 06:05
Thanks Max,
The second one works for me, it was 200777777777777777
-
2012年3月20日 下午 04:51
Hi,
I installed the program but my problem not solved. I've the same error which is "The 'Microsoft.ACE.OLEDB.12.0' provider is not registered on the local machine." What is wrong?
Win 7 x64 and Office x64.
Help me pls?
My Connection String
OleDbConnection Conn = new OleDbConnection("Provider=Microsoft.ACE.OLEDB.12.0;Data Source=" + excelPath + ";Extended Properties=\"Excel 12.0 Xml;HDR=YES\";");
-
2012年3月21日 下午 09:57
Seriously?!!?!?
This is a very perplexing work around. But it works! Thank you.
-
2012年3月31日 下午 06:27
Second link work's like magic!
Thanks!
-
2012年4月5日 下午 03:30Second link fixed this for my friend.
-
2012年4月9日 下午 11:58Worked, thank you!
-
2012年4月10日 上午 10:43
This is so nice and as others have commented but i am kinda new to this stuff, please break it down for me. I'll appreciate it.
My challenge is that the error comes up on my client's system >> "Microsoft.ACE.OLEDB.12.0" is not registered on the local machine. but it works perfectly on my system. Thanks
Goody-Christ
-
2012年4月19日 下午 02:43
I received this error when using SQL Server Management Studio and attempting to import data into a SQL Database. I selected Microsoft Excel as my data source, the highest Excel Version that I can select is 2007. When attemting to go to the next page of the wizard I receive the error message in your post.
I have downloaded and installed the second link to my Windows 7 x64 bit workstation and it solved my problem. When I go directly to the SQL server 2008 r2 running on a Windows 2008 and bring up SSMS and get the same error again. So it looks as if you need to install this fix on every maching that you will be running SSMS on, even if it is the server.
-
2012年4月23日 上午 05:41
Thank you very much...
Second link has absolutely worked for me.........
Thanks again... :)
-
2012年5月10日 下午 04:37
Thanks MaxJordan91,
Second point also wored for me. It save me.
Here is the sequence of operation i performed.
IIS Pool configured to the 32 bit.
Error: The 'Microsoft.Jet.OLEDB.4.0' provider is not registered on the local machine. Solution: So downloaded from the link and installed.
http://www.microsoft.com/en-us/download/details.aspx?id=13255
Error: The 'Microsoft.ACE.OLEDB.12.0' provider is not registered on the local machine. Solution: So downloaded from the link and installed.
http://www.microsoft.com/en-us/download/confirmation.aspx?id=23734Thanks,
Rakesh Ranjan
-
2012年5月14日 下午 12:08
Step 1 : Goto Project Menu Project Properties
Step 2 : Build
Platform target : x86
Save
Try this one..
Hope this will works..
Regards Manju K Gowda
- 已編輯 Manju K Gowda 2012年5月14日 下午 12:11
- 已編輯 Manju K Gowda 2012年5月14日 下午 12:14
-
2012年5月17日 下午 06:36
If you have installed the AccessDataEngine and are still getting the Not Registered error
AND
you are running IIS7 on a 64 bit server,
MAKE SURE
you have enabled 32-bit applications for the application pool associated with the website. In IIS, Right click on the application pool. In the properties window, the 2nd option from the top is "Enable 32-Bit Applications". Set it to true.
-
2012年5月19日 下午 02:13
I installed the 2nd link and tried to run my project and again I found that my project was not working.
But as soon as I used the trick posted by Manju K Gowda ,
My project started working properly.
and for this My connection string was something like this
string filename = "D:\\email.xls";
OleDbConnection strConn = new OleDbConnection(@"Provider=Microsoft.ACE.OLEDB.12.0;Data Source=" + filename + ";Extended Properties=\"Excel 8.0;HDR=Yes;IMEX=1\"");
Thanks a lot.
- 已編輯 Pushpendra7974 2012年5月19日 下午 02:16
-
2012年6月4日 下午 08:29(Second solution) worked for me - Win7 64 / Office 2010 64. Thanks- you're a life saver!
- 已編輯 tbiggins1111 2012年6月4日 下午 08:29
-
2012年6月5日 下午 04:13
The second link worked great!
Win 7 X64 and Office 2010
Thank You.
-
2012年6月11日 下午 01:21I know you said "this resolution works with:
- 64-bit Windows 7
- 64-bit MS Office"
So my question may be outside the scope of this thread, but what does one do if you have a 64-bit PC running 32-bit Windows 7 N and 32-bit MS Office 2010, and trying to connect to an Access MDB file from a Visual Studio (Visual Basic) program using an ADODB.Connection? Neither of the above solutions works. I still get
"Error 3706: Provider cannot be found" with Provider=Microsoft.ACE.OLEDB.12.0Any solution will be greatly appreciated.
-
2012年6月12日 下午 02:26
I had the problem on SQL mngt Studio / 64 bit Win7 / 64 Bit Office 2010 importing excel sheets
Installing the accessdbengine work for me.
- 已編輯 JAFA 2012年6月12日 下午 02:27
-
2012年6月24日 下午 03:30
I am developing a Winform application in c# 4, .Net 4.0 runtime. My dev platform is Windows 7 64-bits with Office 2010 32-bits,
I noticed that this error happens when the platform target is set to 'Any CPU'. When the platform target is x86 it works fine.
I havn't checked what happens if the platform target is set to x64.
I suspect that a 64-bits application cannot work with the 32-bits Jet ACE driver.
-
2012年7月28日 上午 07:26
wired. This link works for my Office 2010/x64 and OS/x64:
http://www.microsoft.com/en-us/download/confirmation.aspx?id=23734
but the Office 2010 X64 engine does not work!
-
2012年7月28日 上午 07:27
wired. This link works for my Office 2010/x64 and OS/x64:
http://www.microsoft.com/en-us/download/confirmation.aspx?id=23734
but the Office 2010 X64 engine does not work!
-
2012年8月3日 上午 08:28
Thanks.
I am able to run my application.
-
2012年8月24日 下午 03:05
This totally worked for me. I am so happy right now. Thanks a million for caring enough to post your findings. Mucho appreciated!
- win7 x64
- office 2010
- IIS 7.5
however if, like me, that doesnt work for you, try the following method:
NOTE: this DOES work for office 2010 even though it is for 2007 office, dont ask me why it just does :)
1. download and install this: http://www.microsoft.com/download/en/confirmation.aspx?id=23734
2. in VS click add data source, follow the wizard and enjoy! :)
Jb-
-
2012年8月28日 下午 10:13
Great!!
The 2nd link works
I am using SQL Server 2012 Management Studio , Microsoft Excel 2010 (64 Bit Office 2010)
/ Windows 7 64 bit
Thanks!!!MRod
-
2012年8月30日 下午 06:53
Unbelievable :)
The first link didn't work.
The second did.Environment:
* Visual Studio 2012 Ultimate (Trial)
* Office Access 2010 x64
* Windows 7 Ultimate x64Thanks a million!
-tsemer- 已編輯 tsemer 2012年8月30日 下午 06:54
-
2012年9月9日 上午 05:24
Hi,
I have installed the program from the second link (http://www.microsoft.com/download/en/confirmation.aspx?id=23734), the first error is gone, but I can't make the connection to Access 2010 files with the extension "accdb".
In the wizard for creating data connection, I have the following error message: Unrecognized database format "File.accdb".
For .mdb files, the connection is ok.
My environment is : Windows Server 2008 R2, VS 2010, MS Office 2010 64 bits
What can I do now ?
- 已編輯 antonacheradu 2012年9月9日 上午 05:26
- 已編輯 antonacheradu 2012年9月9日 上午 06:01
-
2012年9月21日 下午 08:41
Well done and thanks! Just got into Db programming and was frustrated with this error until I found your fix. Thanks very much....but I have to say that it is pretty poor that this even exists
-
2012年9月27日 下午 02:252nd link worked for me. thank you very much
-
2012年9月28日 下午 06:21
Second link worked for me. Importing data from a 2010 Excel file into SQL Server 2008 on Windows 7 64-bit OS.
Thanks!
-
2012年10月3日 下午 12:48
The second link worked for me as well. I got Windows 7 64-bit, Office 2010 64-bit, and running SQL Data Tools (also VS 2008 BIDS).
Hope we won't have an issue like this after the newer version of Office is released.
Thanks a lot,
Nachi -
2012年10月5日 上午 02:49
Its work for me!!!!!
Windows 7 Ultimate x64, Office 2010 x64
Thanks a lot man!!!!!!!!!
-
2012年10月16日 上午 10:48
Second link worked totally fine for me (Windows 7 x64 & Office 2010 x64).
btw: I don't think it's strange, that you have to use Office 2007, since you are adressing a driver with version number 12 (Microsoft.ACE.OleDB.12.0) which is the version number of Office 2007. I guess it would work with Office 2010 if you would address Microsoft.ACE.OleDB.14.0.
-
2012年10月26日 上午 07:53
Second link worked fine for me as well.
Win 7 x64 and Office x64
Thanks a lot!
-
2012年10月26日 下午 04:52
The second link worked for me too (smoothly)
Win 7 x64 and Office x64.
Thanks a lot
-
2012年10月31日 上午 06:13this really worked n thanks:)
-
2012年11月2日 下午 02:01Worked like a charm! Thank you for the help.
-
2012年11月6日 下午 04:44
The second link worked for me.
I am running Win 7 64bit + MS Office 64 bit.
Thanks!
-
2012年11月8日 下午 06:25Same here. The second link worked and got my customer up and running and happy with me again. :-)
- 已編輯 TQM Doctor 2012年11月8日 下午 06:25
-
2012年11月13日 上午 02:29
Win 8 Pro x64
Office 2010 x64
VS 2010 Ultimate x86
Second solution worked like a charm! Your the man, Max! Thanks for your post.
-
2012年11月15日 上午 07:44Thanks. The second link worked for me!
-
2012年11月18日 上午 07:45the second one is what works. saved me alot of time
-
2012年11月19日 上午 12:54
I am having the same issue I installed the 2007 Version but now get the "Unrecognized database format "File.accdb"."
Any Idea how to fix this?
Thanks
-
2012年11月26日 下午 02:36
Thanks for sharing , the second link works !
nice job
-
2012年11月29日 上午 08:48
Second one works!!
THANK YOU THANK YOU THANK YOU!!!!
-
2012年12月2日 上午 02:54
Second method worked for me ...Thanks so much!
-
2012年12月5日 下午 04:22
NOTE: i have found hundreds of threads on this error, yet they all seem to suggest using the 'Microsoft access database engine'. however for whatever reason (even though its made for 64-bit office) this did not work on my machine so i was forced to find an alternate method.
this resolution works with:
- 64-bit Windows 7
- 64-bit MS Office
- Please reply to this thread if it worked for you so i can make this a full "compatibility list"
trying to connect to an Access database in visual studio but keep getting this error?
try installing this first: http://www.microsoft.com/download/en/details.aspx?id=13255
however if, like me, that doesnt work for you, try the following method:
NOTE: this DOES work for office 2010 even though it is for 2007 office, dont ask me why it just does :)
1. download and install this: http://www.microsoft.com/download/en/confirmation.aspx?id=23734
2. in VS click add data source, follow the wizard and enjoy! :)
P.S thanks to everyone that helped me at my original thread: http://social.msdn.microsoft.com/Forums/en-US/csharpgeneral/thread/ebb05600-055a-44c4-8cd3-d33a79878b23
i did give up and tried storing to text files, but oh my god was that a bad choice! so i came back to trying to resolve this and managed to after HOURS AND HOURS of searching.
this thread is for all of those people being given a hard time connecting to Access databases!
Please share your opinions/ problems below!
YOU ARE MY HERO!!
I have been fighting with this problem for a long time when trying to debug while importing Excel files to be processed. I could run it in Beta testing and Production environments, but could not debug there. THANK YOU SO MUCH!!
-
2012年12月6日 下午 08:28running x64 Win 8 and x64 Office 2013, worked for me. Awesome, thanks so much!!
-
2012年12月12日 上午 08:10
See here:
http://kambiz-na.blogspot.com/2012/12/microsoftaceoledb120-provider-is-not.html
-
2012年12月13日 下午 03:44
Chabon la solución 2 funciono te re agradezco.
gracias,
chabon
-
2012年12月15日 上午 10:26
-
2012年12月23日 下午 07:54Thanks second link fixed error with sql 2012
-
2012年12月26日 下午 07:51
Thanks Max. I Googled the error and your answer came up second, though the first result was irrelevant. If it wasn't for those many hours you spent, I'd be spending them myself. Thanks greatly for posting your solution!
Glenn
Glenn T. Kitchen VB.NET Forums
-
2012年12月28日 上午 11:09
Thanks for the solution.
I had to uninstall office 32-bit and Installed office professional plus X64
Finally it worked
-
2013年1月5日 下午 08:32It worked for me. In my case I tried to create Excel connection in SSIS using SQL Server Data Tool (SQLServer 2012). Have to install the access database engine for Office 2007 to make it connect. The error it gave me was "Microsoft.ACE.OLEDB.12.0 is not registered".
-
2013年1月9日 上午 06:18It's work, thx so much
-
2013年1月18日 上午 10:46Great, thanks for your assistant, I install it ,and it is OK.
-
2013年1月29日 下午 01:07
Kudos to you MaxJordan91!
Have SQL 2012 CU1 on 64-bit Win 2008 R2. Couldn't import Excel data trough Management Studio: rightclick db, tasks, import data. Installed AccessDatabaseEngine.exe (that gives me a 32 bit connectivity package, I think?) from link two and then it worked.
Thank you for sharing!
JB
-
2013年2月13日 下午 09:37
Second link worked for :
-Windows Server 2008 R2 Enterprise (64-bit)
-Microsoft Office Professional Plus 2010 (64-bit)
Thank you very much.
-
2013年2月15日 上午 07:13
Thanks
Second link work for me .
you save my time
- 已編輯 Bhandari_Ankit 2013年2月15日 上午 07:15
-
2013年2月21日 上午 02:44
I am getting this error when trying to import Excel files to my SQL Server 2008 R2 database. I tried the first method and then the second. The second method took care of the problem. First post I tried, guess I got lucky.
Thank you.
Same situation here. I used the second method and it's work!
Thanks for the solutions!
-
2013年2月25日 下午 05:00
YES!! Brilliant! Worked for me.
Whats bizarre about this solution is on 64-bit Server boxes (2003 and 2008) the "Microsoft Access Database Engine 2010 Redistributable" is all thats needed to fully support older and newer Office files (97-2010). But only on Windows 7 64-bit, even AFTER installing Office 2010 64-bit AND "Microsoft Access Database Engine 2010 Redistributable", it does NOT work! Only after installing the 2007 components does this work. Why?
I suspect this is tied to the fact those old JET drivers are still being registered on Windows 7, for some reason, for backward compatibility. When the older files are loaded, they are addressed with 4-bit pointers, and use the JET, while Office 10 is 8-bit and its components are not removing the JET references. The OLEDB components on Windows 7, even after Office 10 installation, still point back to the 4-bit 2003 Office JET engine drivers, when they should have been upgraded to 8-bit. I guess the 2007 update fixes that.
-
2013年2月26日 下午 05:38
The second alternative fixed it for me. Everything was working fine until I upgraded from 32-bit Office 2010 to 64-bit Office 2013; then I started to get the 'provider not registered' errors. I tried the first option, but that didn't work. The second option worked like a charm :-).
Thanks for sharing this solution with the rest of us.
Terri
-
2013年3月4日 下午 10:24Thanks a lot. Now I dont have to go to the campus to run my program. I wonder how can Microsoft overlook such a simple thing such as making their program backwards compatible...
-
2013年3月6日 下午 07:29I used the x86 first link. Thinking about it, is logic. I am running an asp.net site compiled for x86 platform. So, I need a x86 version of Acces Database engine .
Thank you ! -
2013年3月11日 下午 01:35
Great...second link working.
Many thanks
-
2013年3月12日 下午 04:05
The second link works for me as well. This is "Microsoft Office Professional Plus 2010" 64-bit and Win7 64-bit.
However, as of my last attempt it appears I have to remove this if I want to install office 2013.
-
2013年3月14日 下午 03:52
Manju: Great posting. Could not get it to work even after downloading the
patches, but your fix did the trick. Thanks!
-
2013年3月20日 上午 11:30
I installed http://www.microsoft.com/en-us/download/details.aspx?id=13255 for reading an xlsm file with "Provider=Microsoft.ACE.OLEDB.12.0" in a C# project but I still got this error message. Then I installed http://www.microsoft.com/en-us/download/details.aspx?id=23734 and the file was successfully read.
The environment is Windows 7 Pro 64-bit, Visual Studio 2010 Pro and .NET 3.5.
-
2013年3月21日 上午 03:31
I am using Windows 7 64 bit OS, Office 2010 64 bit and Visual Studio 2010 32 bit..I installed the .exe from the second link..I have data in excel files that needs to be loaded into tabular model of Sql Server 2012.. I am still getting the error Microsoft.ACE.OLEDB.12.0 is not registered. I dont understand if I need to do any other steps followed by installation of .exe file? what does the step "in VS click add data source" means?
However, if I use powerpivot i can use the same provider to load the excel files..Can someone help me out what I need to do?
- 已編輯 Arunava0907 2013年3月21日 上午 03:33
-
2013年3月21日 上午 09:01
To get rid of this error message on Windows Server 2008 R2 I had to uninstall existing MS Access Database Engine (maybe it was 32-bit) and install 64-bit version of http://www.microsoft.com/en-us/download/details.aspx?id=13255.
Arunava0907, see the chapter System Requirements / Note here:
http://yoursandmyideas.wordpress.com/2011/02/05/how-to-read-or-write-excel-file-using-ace-oledb-data-provider/
-
2013年3月26日 下午 08:19
Thanks the second URL worked for me.
Initially I had Windows 7 64-bit and MS SQL Server 2012 Developer Edition with MS Office 2010.
Installing MS Office 2013 - it seems to me - caused the problem.
-
2013年3月26日 下午 10:05second option worked for windows server 2008 thank you very much for such an easy straight forward fix
-
2013年4月18日 下午 02:31
I am using Windows 8
64 bit Office 2013 and the 32-bit driver(AccessDatabaseEngine.exe) from the first link worked!
-
2013年4月19日 上午 07:58
Thank you it worked for me.
I was facing issue while importing data to SQL Server 2008 R2 from and Excel 2007 files. I installed from this link http://www.microsoft.com/download/en/confirmation.aspx?id=23734 and it worked :).
Cheers,
Abdul QadarMIS engineer
-
2013年4月23日 下午 01:37Thanksssssssssssssss a lot. 2nd link works fine for Office 2013.
-
2013年4月23日 下午 01:39
Thanks Manju K. Gowda. Your above method works fine on VS 2012 with Office 2013.
Once again Thank You very much.
-
2013年4月26日 下午 03:28
I have just resolved this problem on my machine using your method, thank you so much.
My machine is running Windows 7 Ultimate 64 bit + Office 2013 Professional Plus 64 bit
-
2013年4月29日 下午 12:12
I had previously installed the Microsoft Access Database Engine 2010 Redistributable. I installed your second link (2007 Office System Driver: Data Connectivity Components) in an attempt to resolve the issue. That did not work. I still got the The 'microsoft.ace.oledb.12.0' provider is not registered on the local machine message.
I resolved this error on my Windows 8 64-bit PC by changing the Visual Studio: Build | Platform Target explicitly to X86. I had it set to Any CPU previously.
- 已編輯 BrooklynParkMikey 2013年4月29日 下午 12:13
-
2013年5月3日 上午 08:34
I can't belive I forgot that solution! This happened me more than once and I still forget to do that simple setting to overcome that unbeliavable error. I was having the error (actually VS just executed and stopped without giving any error) in Release mode, and the code was working in debug mode. These errors always make me think "why am I insisting working as a developer after facing similar pains for 27 years"! :-)
Thank you for reminding this solution. I was about to break my laptop!
-
2013年5月8日 上午 09:28
I had similar issue with Win2008R2 x64 and custom program which used new Access format (I'm not a developer of it, so I only had an installer).
I had installed this:
http://www.microsoft.com/en-us/download/details.aspx?id=13255
It didn't work, then I had installed this:
http://www.microsoft.com/en-us/download/details.aspx?id=23734
And with two of these (or just the last one) program worked correctly.
-
2013年5月8日 下午 02:51Thank you. This link helped. :)
-
2013年5月12日 上午 08:29
This may help a few people with SSIS I just use OPENROWSET with Excel these days works fine in 64 and 32 IDE or Non-IDE
SELECT * FROM OPENROWSET('Microsoft.ACE.OLEDB.12.0', 'Excel 12.0;Database=C:\Temp\2010-11-Imports.xlsx', [Sheet1$])
Geoff Fane

