当前位置:编程学习 > C#/ASP.NET >>

ACE.OLEDB.12.0 privider is not registered on the local machine

web使用vs2010 asp.net做的,有个excel(2007版本)批量导入数据功能,在32系统中测试没有问题,但是部署到服务器(mircosoft server 2012 x64)时,导入excel2007数据操作时出现 ACE.OLEDB.12.0 privider is not registered on the local machine
服务器已经有安装AccessDatabaseEngine.exe,但是问题还是未能解决,求解。 ACE.OLEDB.12.0  --------------------编程问答-------------------- 程序编译成x86
  
*****************************************************************************
签名档: http://feiyun0112.cnblogs.com/ --------------------编程问答--------------------
引用 楼主 black205 的回复:
web使用vs2010 asp.net做的,有个excel(2007版本)批量导入数据功能,在32系统中测试没有问题,但是部署到服务器(mircosoft server 2012 x64)时,导入excel2007数据操作时出现 ACE.OLEDB.12.0 privider is not registered on the local machine
服务器已经有安装AccessDatabaseEngine.exe,但是问题还是未能解决,求解。


试过编译为X86,没能解决。发现服务器中安装的AccessDatabaseEngine.exe 是32bit的,卸载重装AccessDatabaseEngine.exe(2010)64bit, 程序重新编译成any cpu,问题解决。谢谢楼上的。
补充:.NET技术 ,  ASP.NET
CopyRight © 2012 站长网 编程知识问答 www.zzzyk.com All Rights Reserved
部份技术文章来自网络,