OLE DB提供者"Microsoft.ACE.OLEDB.12.0&"被提供.用于链接服务器“(null)" [英] The OLE DB provider "Microsoft.ACE.OLEDB.12.0" for linked server "(null)"

查看:172
本文介绍了OLE DB提供者"Microsoft.ACE.OLEDB.12.0&"被提供.用于链接服务器“(null)"的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试运行以下语句,但是正在接收下面的错误消息.我研究了无穷无尽的答案,但没有一个对我有用.我正在运行Office 365(64位).我已经加载了Microsoft Access数据库引擎(64位).这在带有SSDT的Visual Studio 2013和SQL Server 2012中.我无法访问更改环境或SQL Server的启动参数.感谢您的帮助.

I'm trying to run the following statement but am receiving the error messages just below. I have researched answers to no end and none have worked for me. I'm running Office 365 (64bit). I have loaded the Microsoft Access Database Engine (64bit). This is in Visual Studio 2013 with SSDT as well as SQL Server 2012. I do not have access to changing environment or startup parameters to SQL Server. Any help is appreciated.

SELECT * FROM OPENROWSET('Microsoft.ACE.OLEDB.15.0', 
    'Excel 12.0;Database=C:\Users\UserName\Folder\SomeFile.xlsx;;HDR=NO;IMEX=1', [Table 1$])

  • 消息7399,级别16,状态1,第1行OLE DB提供程序 链接服务器(null)"的"Microsoft.ACE.OLEDB.15.0"报告了一个 错误.提供者未提供有关该错误的任何信息.
  • 消息7303,级别16,状态1,行1无法初始化数据源 链接的OLE DB提供程序"Microsoft.ACE.OLEDB.15.0"的对象 服务器(空)".
查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆