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

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

问题描述

我试图得到一个新的DotNetNuke的网站和我们的64位服务器上运行,而我遇到了以下错误消息:

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:

我从你遇到了这方面的经验知道,当你的目标是64位组件的64位计算机上(有没有64位OLE-DB当前供应商)。在这种情况下,我只是针对x86的Visual Studio中,一切工作正常。

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%\inetpub\AdminScripts\adsutil.vbs set w3svc/AppPools/Enable32bitAppOnWin64 1
aspnet_regiis.exe -i

请参阅下面的详细信息:

See the following for more info:

  • <一个href="http://www.microsoft.com/technet/prodtechnol/WindowsServer2003/Library/IIS/5d306956-b2a2-4708-9bb9-72a395d474bb.mspx?mfr=true">http://www.microsoft.com/technet/prodtechnol/WindowsServer2003/Library/IIS/5d306956-b2a2-4708-9bb9-72a395d474bb.mspx?mfr=true
  • <一个href="http://blogs.msdn.com/irfanahm/archive/2008/12/15/how-to-use-a-32-bit-dll-in-asp-net-page-which-is-hosted-on-64-bit-iis.aspx">http://blogs.msdn.com/irfanahm/archive/2008/12/15/how-to-use-a-32-bit-dll-in-asp-net-page-which-is-hosted-on-64-bit-iis.aspx
  • http://support.microsoft.com/kb/895976
  • http://www.microsoft.com/technet/prodtechnol/WindowsServer2003/Library/IIS/5d306956-b2a2-4708-9bb9-72a395d474bb.mspx?mfr=true
  • http://blogs.msdn.com/irfanahm/archive/2008/12/15/how-to-use-a-32-bit-dll-in-asp-net-page-which-is-hosted-on-64-bit-iis.aspx
  • http://support.microsoft.com/kb/895976

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

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