简体   繁体   English

SSIS包DataFlowTask for Excel导入到SQL Server 2014在我的本地实例上运行,但在服务器上部署失败时

[英]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.

相关问题 SSIS Package 在 VS2019 中运行良好,但在 SQL 2019 上的 SSISDB 中部署时立即失败 - SSIS Package runs fine in VS2019 but it fails immediately when it is deployed in SSISDB on SQL 2019 SSIS package 在由 sql 作业代理运行时失败 - SSIS package fails when runs by sql job agent SSIS包在服务器上运行,但不作为预定作业运行(SQL代理) - SSIS Package runs on the server but not as a scheduled job (SQL Agent) SSIS:升级到SQL Server 2012后工作包失败 - SSIS: Working package fails after upgrade to SQL Server 2012 使用本地帐户登录时无法连接到SQL Server Express 2014 - Unable to connect to SQL Server Express 2014 when signed in with local account SQL Server Agent 2012不执行连接到Oracle但从SSIS运行正常的SSIS 2012程序包 - SQL Server Agent 2012 not executing SSIS 2012 package that connects to Oracle but runs OK from SSIS 在SQL 2014上运行SSIS包 - Running SSIS package on SQL 2014 是否可以恢复在SQL Server中部署的SSIS包? - Is it possible to recover the SSIS packages that are deployed in SQL Server? 包含SQL身份验证的SSIS在IDE中运行,但在SQL Server代理作业中失败 - SSIS Containing SQL Authentication Runs in IDE but fails in SQL Server Agent Job 如何使用SQL Server代理作业在未安装excel的服务器上运行具有excel源的SSIS包 - How to run an SSIS package having excel source on a server where excel is not installed using SQL Server Agent Job
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM