在共享主机的情况下,使用microsoft.ace.oledb.12.0访问excel文件(如果缺少驱动程序) [英] Access excel file using microsoft.ace.oledb.12.0 (if driver missing) in case of Shared Hosting

查看:160
本文介绍了在共享主机的情况下,使用microsoft.ace.oledb.12.0访问excel文件(如果缺少驱动程序)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


我的Asp.Net 4.0 应用程序在Window 7 32位开发箱中工作正常,但是当我在Window 2008 R2 64位服务器(IIS)中部署它时7.5),我无法使用microsoft.ace.oledb.12.0访问excel 2010文件

我有共享的托管计划,无法在服务器上安装驱动程序.是否可以进行web.config更改并将64位组件保留在bin文件夹中以使其正常工作.

谢谢问候

Hi
My Asp.Net 4.0 application is working fine in Window 7 32 bit development box but when i deployed it in Window 2008 R2 64 bit server (IIS 7.5), I cannot able to access excel 2010 file using microsoft.ace.oledb.12.0

I have shared hosting plan and cannot able to install drivers on server. Is it possible to do web.config changes and keep 64 bit component in bin folder to make it work.

Thanks Regards

推荐答案

我认为这是基于COM的API,因此需要安装.

您为什么不与您的供应商交谈,只是给他发送一封邮件,以使用最新的驱动程序更新他的服务器?

要从64位计算机访问此驱动程序,可以使用
本教程 [ ^ ]
I think it is COM based API so needs installation.

Why dont you speak with your Vendor, just dropping him a mail to update his server with latest drivers?

To access this driver from a 64 bit machine you can use
This tutorial[^]


这篇关于在共享主机的情况下,使用microsoft.ace.oledb.12.0访问excel文件(如果缺少驱动程序)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆