标题: 关于 The 'Microsoft.ACE.OLEDB.12.0' provider is not registered on the local m... [打印本页] 作者: zhgc 时间: 2020-10-20 18:09 标题: 关于 The 'Microsoft.ACE.OLEDB.12.0' provider is not registered on the local m...
For version 12.0 you need to install MDAC 2010 from here.
This has to be done on the server where you publish your application. You need to install the x86 version if the target machine is 32 bit or the x64 version if the target machine is 64 bit and your application is built with configuration Any CPU.作者: zhgc 时间: 2020-10-20 18:13
Solution
You need to change the Solution Platform from "Any CPU" to "x86". The steps are given below:
Right click on the Solution File in Solution Explorer:
Image 2
Click on the Configuration Manager.
Click on the Active Platform Drop down, if x86 is already there then select that, else click on New.
Image 3
Select x86 from the new platform dropdown:
Image 4
Compile and run your application.
If you are still facing the issue, then try installing Office System Driver.