“Microsoft.ACE.OLEDB.12.0”提供程序未在本地计算机上注册。它可以在localhost上成功运行,但不能在主服务器上运行(上传后) [英] The 'Microsoft.ACE.OLEDB.12.0' provider is not registered on the local machine. And it works on localhost successfully but not on main server(after upload)

查看:102
本文介绍了“Microsoft.ACE.OLEDB.12.0”提供程序未在本地计算机上注册。它可以在localhost上成功运行,但不能在主服务器上运行(上传后)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,当我尝试从Excel工作表导入数据时,我遇到了这个问题。

它在localhost上成功运行但是在主服务器上它抛出异常(上传后)。

有人能解决这个问题吗?

然后建议我..

谢谢。

解决方案

亲爱的,因为我正在使用GoDaddy.com 。

和GoDaddy托管帐户不支持从Excel数据库访问信息。

所以我更改了整个代码。

在GoDaddy,你可以将CSV文件导入MS SQL数据库,但不导入.XLSX文件。

有关详细信息,请访问此链接 -

http://support.godaddy.com/网上论坛/网站托管/论坛/主题/使用 - excel-spreadsheets-on-website



感谢大家的创意。 : - )


阅读本主题。它可能对你有帮助。 [ ^ ]


从以下链接安装Microsoft Access数据库引擎2010



http://www.microsoft.com/en-us/download/details。 aspx?id = 13255 [ ^ ]



根据您的系统配置,有32位和64位链接

下载exe。

Hi all, I am facing this problem when i am trying to import data from excel sheet.
It works successfully on localhost but on main server it throws that exception(after uploading).
can anyone solve this problem?
Then suggest me..
Thanks.

解决方案

Dear all, As i am using GoDaddy.com.
And GoDaddy hosting accounts do not support accessing information from an Excel Database.
So I have changed entire code.
In GoDaddy, You can import a CSV file into a MS SQL database, but not a .XLSX file.
For more details visit this link-
http://support.godaddy.com/groups/web-hosting/forum/topic/using-excel-spreadsheets-on-website

Thanks to everyone for their Ideas. :-)


Read This Thread. it may help you.[^]


Install Microsoft Access Database Engine 2010 from the below link

http://www.microsoft.com/en-us/download/details.aspx?id=13255[^]

There are to links 32 bit and 64 bit depending upon your system configuration
download the exe.


这篇关于“Microsoft.ACE.OLEDB.12.0”提供程序未在本地计算机上注册。它可以在localhost上成功运行,但不能在主服务器上运行(上传后)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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