使用分布式查询将 Excel 导入到 SQL Server
只要运行脚本时使用的用户凭据是 sysad,我就能够在本地和生产环境中成功设置此设置。
Sergey Vaselenko 的这个网址(http://www.excel-sql-server.com/excel-import-to-sql-server-using-distributed-queries.htm)非常有帮助,
它已经启动并运行了几个月。突然之间,大约在上周的某个时候,我收到了一位使用该上传器的用户的投诉,称他们无法再上传任何 Excel 文件。
链接服务器“(null)”的 OLE DB 提供程序“Microsoft.ACE.OLEDB.12.0” 返回消息“未指定的错误”。消息 7303,16 级,状态 1, 第 1 行 无法初始化 OLE DB 提供程序的数据源对象 链接服务器“(null)”的“Microsoft.ACE.OLEDB.12.0”。
没有人改变剧本。
没有人更新服务器或我的本地服务器。
使用该脚本的不同应用程序的所有服务器都遇到了错误。
我什至无法在我自己的本地电脑上运行它。(当我在本地电脑上使用 JET 作为驱动程序时,它仍然可以工作,但无法使用 ACE 驱动程序运行它)
我已经对 ace 上发生的事情感到非常困惑司机?
我开始怀疑是否有来自微软的任何更新后端或者 ace 驱动程序上存在某种错误?
如果您有类似的问题,希望有人可以帮助我。
I was able to set this up successfully on my local and on production, as long as the user credentials used on running the script is a sysad.
This url (http://www.excel-sql-server.com/excel-import-to-sql-server-using-distributed-queries.htm) By Sergey Vaselenko was very helpful
It's been up and running for months already. And just all of a sudden, sometime around last week, I received a complaint from one of our users who utilizes the uploader that they can no longer upload any excel files.
OLE DB provider "Microsoft.ACE.OLEDB.12.0" for linked server "(null)"
returned message "Unspecified error". Msg 7303, Level 16, State 1,
Line 1 Cannot initialize the data source object of OLE DB provider
"Microsoft.ACE.OLEDB.12.0" for linked server "(null)".
No one is altering the script.
No one has updated the server nor my local.
All of the servers for different apps that uses the script encountered the error.
I can't even run it on my own local pc.(When I use JET as a driver on my local it still works, but can't run it using ACE driver)
I'm really confused already on what happened on the ace driver?
I'm starting to wonder if there have been any update backend from microsoft or some kind of a bug on the ace driver??
Hope someone could help me if you have similar issue.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
可能是这个潜在问题:
It could be this potential prblem: