“The 'Microsoft.Jet.OLEDB.4.0' provider is not registered on the local machine”…DNN

前端 未结 3 570
独厮守ぢ
独厮守ぢ 2020-12-17 02:22

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\' pr

3条回答
  •  鱼传尺愫
    2020-12-17 02:34

    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:

    • 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

提交回复
热议问题