资讯王 发表于 2014-3-22 11:43:11

C# IIS error 'Microsoft.Ace.OLEDB.12.0' provider is not registered解决

IIS error System.InvalidOperationException: The 'Microsoft.Ace.OLEDB.12.0' provider is not registered on the local machine.
Because of you installed 32bit Microsoft.Ace.OLEDB.12.0 dll 因为你安装了 32bit的dll

1.    Open the IIS 7.5 manager and select the application pool corresponding to your web application.
2.    Right click the application pool and select ‘Advanced settings’.
3.    Select the field ‘Enable 32-bit applications’ and change it to 'true'.
4.    Restart your application pool and access your application to fix the error you saw.

http://1.bp.blogspot.com/-Y7U9_DjDqRY/Uy0FxZkMajI/AAAAAAAAC6Y/tVa8kTx2Qu0/s1600/IIS+Ole+Db.png
页: [1]
查看完整版本: C# IIS error 'Microsoft.Ace.OLEDB.12.0' provider is not registered解决