'microsoft.ace.oledb.12.0'提供程序未在本地计算机上注册。 Windows 7的 [英] The 'microsoft.ace.oledb.12.0' provider is not registered on the local machine. Windows 7

查看:70
本文介绍了'microsoft.ace.oledb.12.0'提供程序未在本地计算机上注册。 Windows 7的的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述





我在IIS中部署asp.net网站后出现此错误。



microsoft.ace.oledb.12.0提供程序未在本地计算机上注册。



我正在使用MS Access 2013数据库与asp Windows 7上的.net c#

我已将所有平台都更改为x86。这是我在web.config文件中的连接字符串。



Hi,

I am getting this error after deploying asp.net website in IIS.

the microsoft.ace.oledb.12.0 provider is not registered on the local machine.

I am using MS Access 2013 database with asp.net c# on windows 7.
I have changed all platforms to x86. This is my connection string in web.config file.

<connectionStrings>
    <add name="score_cs"
         connectionString="Provider=Microsoft.ACE.OLEDB.12.0; Data source=D:\SOFTWARE APPLICATIONS\EMP_SCORE\EMP_SCORE\EMP_SCORE\EMPSCORE.accdb"/>
  </connectionStrings>





需要帮助!!



我尝试了什么:



将所有平台更改为x86但仍无法正常工作



Need help!!

What I have tried:

changed all platforms to x86 but still not working

推荐答案

您必须下载并安装 MS Access 2007数据库引擎 ..



< a href =https://www.microsoft.com/en-in/download/details.aspx?id=23734>从官方Microsoft下载中心下载2007 Office System驱动程序:数据连接组件 [ ^ ]

我会这样做..
You have to Download and install the MS Access 2007 Database Engine..

Download 2007 Office System Driver: Data Connectivity Components from Official Microsoft Download Center[^]
I this will work..


这篇关于'microsoft.ace.oledb.12.0'提供程序未在本地计算机上注册。 Windows 7的的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆