“‘Microsoft.Jet.OLEDB.4.0’” 提供商未在本地计算机上注册”...DNN

发布于 2024-07-29 06:02:15 字数 307 浏览 1 评论 0原文

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

“‘Microsoft.Jet.OLEDB.4.0’提供程序未在本地计算机上注册”

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

但在本例中,该站点使用动态编译,因此没有简单的地方可以指定我需要以 x86 为目标。 有什么想法吗?

TIA。

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:

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

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.

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.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(3

手心的海 2024-08-05 06:02:15

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

您还可以使用 AppCmd 从控制台执行此操作以下内容:

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

在 IIS6 中 - 您可以尝试类似的操作(此处 2 行,完成更改元数据库值后运行 aspnet_regiis)...

cscript %SystemDrive%\inetpub\AdminScripts\adsutil.vbs set w3svc/AppPools/Enable32bitAppOnWin64 1
aspnet_regiis.exe -i

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

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.

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

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

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:

想挽留 2024-08-05 06:02:15

您好,现在 Microsoft 发布了 2010 Office System 驱动程序测试版:数据连接组件,32 位和 64 位操作系统均支持该组件。 因此,使用此驱动程序而不是传统的 Microsoft.Jet.OLEDB.4.0 驱动程序将为我们提供在 64 位服务器上运行的 64 位应用程序(这正是我们真正需要的)。

虽然这是测试版,但对我来说效果很好。

您可以从 下载此驱动程序2010 Office System 驱动程序 Beta:数据连接组件

谢谢

HI, Now the Microsoft has released the 2010 Office System Driver Beta: Data Connectivity Components which is supported both in 32 bit as well as 64 bit OS. So using this driver instead of the traditional Microsoft.Jet.OLEDB.4.0 driver will give us a 64 bit application running on a 64 bit server (that is what we really need).

Though this is in beta, it worked fine for me.

You can download this driver from 2010 Office System Driver Beta: Data Connectivity Components

Thnks

沉溺在你眼里的海 2024-08-05 06:02:15

您不应尝试将应用程序定位为 32 位,否则您将失去使用 64 位系统的优势。 正如 aaa 所指出的,您可以使用最新的 访问 Database Engine 2010 来解决此问题。 请参阅我的博文 完整的解决方案。

希望能帮助到你。

You shouldn't try to target your application to 32-bit in which case you are losing the advantages of using 64-bit system. As aaa has pointed out, you can use the latest Access Database Engine 2010 to address this issue. Please refer to my blog post for complete solution.

Hope it helps.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文