The 'microsoft.jet.oledb.4.0' provider is not registered on the local machin

场景:64位系统访问access数据库出错。

环境:window7 64位、iis 6.1   office版本为32位的

原因:64位系统访问32位的office找不到驱动。解决方法:vs中生成改为x86系统、iis程序池里改为 兼容32位

 

 

 改了之后,可能会遇到:

The current identity (xxxxx) does not have write access to C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files

这时,需要重新注册一下。

 

posted @ 2019-08-05 10:55  幸福安康  阅读(848)  评论(0编辑  收藏  举报