[英]SSIS package DataFlowTask for Excel Import to SQL Server 2014 runs on my local instance, but when deployed fails on the server
I have an SSIS package that imports data from a very simple Excel 2010 ( .xlsx
) file to SQL Server. 我有一个SSIS包,可以将数据从非常简单的Excel 2010(
.xlsx
)文件导入到SQL Server。 I can get the package to run on my local and can execute the package from my local to the server. 我可以让我的本地运行包,并可以从本地执行包到服务器。 However, when I deploy the package to the server it fails with
但是,当我将程序包部署到服务器时,它失败了
DTS_E_CANNOTACQUIRECONNECTIONFROMCONNECTIONMANAGER
DTS_E_CANNOTACQUIRECONNECTIONFROMCONNECTIONMANAGER
The Microsoft Access engine cannot open or write to the file \\server\\database\\filename' (for security reasons I cannot share the actual unc).Microsoft Access引擎无法打开或写入文件\\ server \\ database \\ filename'(出于安全原因,我无法共享实际的unc)。 It is already opened exclusively by another user, or you need permission to view and write its data'.
它已由另一个用户独占打开,或者您需要获得查看和写入其数据的权限。
I have been chasing this for about 3 weeks now. 我现在已经追了三个星期了。 Forcing the 32-bit runtime in the SSIS package and on the SQL Server Agent level does not correct the issue.
在SSIS包和SQL Server代理级别强制32位运行时不能解决问题。 I have also uninstalled the AccessDatabaseEngine (32 and 64 bit) from the server and reinstalled using the install exe that I used to configure my local.
我还从服务器卸载了AccessDatabaseEngine(32位和64位),并使用我用来配置本地的安装exe重新安装。 To no avail.
无济于事。 I also know for fact that the Excel file is not open or being accessed by another user/connection.
我也知道Excel文件未打开或被其他用户/连接访问。
I get a successful connection to the server, but not to the Excel file. 我成功连接到服务器,但没有连接到Excel文件。 I also need to mention the package was developed in VS2013 and the server it needs to run on is SQL Server 2014 (Build 12.0.5000.0).
我还需要提一下,该软件包是在VS2013中开发的,它需要运行的服务器是SQL Server 2014(Build 12.0.5000.0)。 My local is build 12.0.4468.0.
我的本地版本是12.0.4468.0。 Any ideas on this would be greatly appreciated.
任何有关这方面的想法将不胜感激。 My team is stumped.
我的团队很难过。
Thank you in advance for your feedback! 提前感谢您的反馈!
Your error clearly says you do not have the necessary permissions. 您的错误清楚地表明您没有必要的权限。
Please check with your admin try it again. 请与您的管理员联系再试一次。
You can use the deployment wizard to deploy your SSIS package. 您可以使用部署向导来部署SSIS包。
Regards Safi 关心萨菲
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.