[英]online error of “The 'Microsoft.ACE.oledb.12.0' provider is not registered on the local machine.”
I am creating my website using my visual studio and Microsoft access as to create my database. 我正在使用Visual Studio和Microsoft访问权限来创建网站,以创建数据库。 in my local server and my own PC this web compile and run perfectly , but whenever I try to upload my web on the server and then run the part of my website that the web try to get access to the database I get the following error : 在我的本地服务器和我自己的PC上,此Web可以编译并完美运行,但是每当我尝试将Web上传到服务器上,然后运行网站的一部分以使Web可以访问数据库时,都会出现以下错误:
The 'Microsoft.ACE.oledb.12.0' provider is not registered on the local machine.
I've searched the internet and they all said it's because you are running on 64 bit windows and its' configs are for win 32 bit. 我搜索了互联网,他们都说这是因为您正在64位Windows上运行,并且其配置是针对Win 32位的。
I have windows XP 32 bit and it works perfectly on my PC, but I think it's because of the servers local machines that are running on windows 64 bit (maybe). 我有32位Windows XP,并且可以在我的PC上完美运行,但是我认为这是因为在64位Windows(也许)上运行的服务器本地计算机。 but the problem is I don't know what to do here. 但问题是我不知道该怎么办。 I don't know what to do. 我不知道该怎么办。 and all the internet solutions were for offline console programs, not the web services. 所有的Internet解决方案都是针对脱机控制台程序的,而不是针对Web服务的。
Try by installing this?: http://www.microsoft.com/en-us/download/details.aspx?id=13255 尝试通过安装吗?: http : //www.microsoft.com/zh-cn/download/details.aspx ? id= 13255
OR 要么
Greatz 大茨
The simplest workaround is to change the Target Platform of your application through Visual Studio menu 最简单的解决方法是通过Visual Studio菜单更改应用程序的目标平台
In Project explorer: 在项目浏览器中:
Solution (Right-Click) -> Configuration Manager -> Active Solution Platform -> x86
If the x86
option is not already there, then select NEW, name it x86
, Copy Settings from AnyCPU
and check Create new project platforms 如果还没有x86
选项,则选择“新建”,将其命名为x86
,从AnyCPU
复制设置并选中“创建新项目平台”。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.