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

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

问题描述

我有一个在x86平台上编译的应用程序。我试图在我的本地PC上运行它,一切都没问题。但是当我在服务器中托管我的应用程序时,每当我运行使用Microsoft.ACE.OLEDB.12.0的特定函数时,它都会返回如上所述的错误消息。



我的服务器上安装了Access Runtime 2010但它仍然无法解决问题。我比较了我的本地PC和服务器,结果证明服务器缺少Microsoft .NET Framework 4 Client Profile和Microsoft .NET Framework 4 Extended。我需要在服务器内安装这些组件吗?



谢谢。



我尝试过:



1.在服务器中安装Access Runtime 2010

Hi, I have an application which is compiled in x86 platform. I have tried to run it in my local PC and all is ok without any problem. But when I host my application in a server, whenever I run a particular function that is using Microsoft.ACE.OLEDB.12.0, it returns me the error message as stated above.

I have Access Runtime 2010 installed in my server but it still does not solve the problem. I have compared my local PC and server, turns out to be the server is missing Microsoft .NET Framework 4 Client Profile and Microsoft .NET Framework 4 Extended. Are these components that I need to install inside my server?

Thank you.

What I have tried:

1. Installed Access Runtime 2010 in server

推荐答案

这取决于您在服务器上安装的MS Ace.OleDb版本的版本...您必须安装x64版本并使用AnyCPU选项编译您的程序;)





更多信息:

'Microsoft.ACE.OLEDB.12.0'提供程序未在本地计算机上注册 - ConnectionStrings.com [ ^ ]

c# - 'Microsoft.ACE.OLEDB.12.0'提供程序未在本地计算机上注册 - Stack Overflow [ ^ ]

OLEDB Provider未在本地计算机上注册 [ ^ ]

已解决 - Microsoft.ACE.OLEDB.12.0提供程序未在本地计算机上注册 [ ^ ]

'Microsoft.ACE.OLEDB.12.0'提供程序未在本地计算机上注册。 [ ^ ]
It depends on what version of MS Ace.OleDb version have you installed on server... You have to install x64 version and compile your programme with AnyCPU option ;)


More at:
The 'Microsoft.ACE.OLEDB.12.0' provider is not registered on the local machine - ConnectionStrings.com[^]
c# - 'Microsoft.ACE.OLEDB.12.0' provider is not registered on the local machine - Stack Overflow[^]
OLEDB Provider is Not Registered on the Local Machine[^]
Solved - The Microsoft.ACE.OLEDB.12.0 provider is not registered on the local machine[^]
The 'Microsoft.ACE.OLEDB.12.0' provider is not registered on the local machine.[^]


如果您的代码仅编译为x86,则必须安装32位版本的Access Runtime。



如果您的代码编译为AnyCPU或x64,那么您应该如果服务器运行的是64位Windows,则在服务器上安装64位版本的Access Runtime。
If your code is compiled x86 only, you MUST install the 32-bit version of the Access Runtime.

If your code is compiled AnyCPU or x64, then you should install the 64-bit version of the Access Runtime on the server, IF the server is running 64-bit Windows.


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

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