“'Microsoft.Jet.OLEDB.4.0' 提供程序未在本地计算机上注册"...DNN [英] "The 'Microsoft.Jet.OLEDB.4.0' provider is not registered on the local machine"...DNN

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

问题描述

我正在尝试在我们的 64 位服务器上启动并运行一个新的 DotNetNuke 站点,但遇到以下错误消息:

I'm trying to get a new DotNetNuke site up and running on our 64-bit server, and I'm encountering the following error message:

'Microsoft.Jet.OLEDB.4.0' 提供程序未在本地计算机上注册"

"The 'Microsoft.Jet.OLEDB.4.0' provider is not registered on the local machine"

我从经验中知道,当您在 64 位机器上定位 64 位程序集时会遇到这种情况(目前没有 64 位 OLE-DB 提供程序).在这种情况下,我只需在 Visual Studio 中定位 x86,一切正常.

I know from experience that you run into this when you target a 64-bit assembly on a 64-bit machine (there is no 64 bit OLE-DB provider currently). In that case, I simply target the x86 in Visual Studio and everything works fine.

但在这种情况下,该站点使用动态编译,因此没有简单的地方可以指定我需要以 x86 为目标.有什么想法吗?

But in this case, the site uses dynamic compilation, so there's no simple place to specify that I need to target x86. Any thoughts?

TIA.

推荐答案

您可以将运行该站点的应用程序池更改为作为 32 位应用程序运行.在 IIS7 管理器中,它位于应用程序池的高级设置"下,然后将启用 32 位应用程序"设置为 true.

You could change your app pool that you're running that site under to run as a 32 bit application. In the IIS7 manager, its under "Advanced Settings" of your app pool, and then set "Enable 32-bit Applications" to true.

您也可以使用 AppCmd 来做到这一点具有以下内容的控制台:

You could also do this with AppCmd from a console with the following:

appcmd apppool set /apppool.name:MyNukeSite /enable32BitAppOnWin64:true

在 IIS6 中 - 您可以尝试这样的操作(此处有 2 行,完成更改配置数据库值后运行 aspnet_regiis)...

In IIS6 - you could try something like this (2 lines here, run aspnet_regiis when finished changing the metabase value)...

cscript %SystemDrive%inetpubAdminScriptsadsutil.vbs set w3svc/AppPools/Enable32bitAppOnWin64 1
aspnet_regiis.exe -i

有关详细信息,请参阅以下内容:

See the following for more info:

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

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