简体   繁体   English

无法在SQL Server 2016中执行SSIS包

[英]Cannot execute SSIS package in SQL Server 2016

I've seen this posted several times, but none of the fixes are working from my instance. 我已经看到过多次发布的消息,但是这些修复程序都无法在我的实例上正常工作。 I'm using SSDT 2015 to create the package and deploying to a network server using SQL Server 2016. The package target server version is set to SQL Server 2016 and I've changed the run time from 64 to 32 bit (not sure if this is needed, but listed as a fix for this issue). 我正在使用SSDT 2015创建程序包并使用SQL Server 2016部署到网络服务器。程序包目标服务器版本设置为SQL Server 2016,并且我将运行时间从64位更改为32位(不确定是必需的,但已列为解决此问题的方法)。 The connection managers are using my local server (different from the server the package is being executed from) and the network server where the package is being deployed. 连接管理器正在使用我的本地服务器(不同于从中执行程序包的服务器)和正在部署程序包的网络服务器。 I'm able to successfully run the package in SSDT 2015, but when deployed to the server I get the errors below stating that the connection to my local server could not be established. 我能够在SSDT 2015中成功运行该程序包,但是在将其部署到服务器时,出现以下错误,指出无法建立与本地服务器的连接。 I the validation of the connection and the data flow to delay validation and the first two tasks run, but again, it cannot connect to my local. 我通过连接验证和数据流来延迟验证,并且前两个任务运行,但是同样,它无法连接到本地。 Since I'm running the package with my credentials, I'm not sure why it cannot connect. 由于我使用凭据运行程序包,因此我不确定为什么它无法连接。 I am a system admin for both Server instances and I've ensured that my login has ssis_admin role assigned on SSISDB. 我是这两个Server实例的系统管理员,并且确保我的登录名在SSISDB上分配了ssis_admin角色。 Any assistance would be greatly appreciated. 任何帮助将不胜感激。

Data Flow Task:Error: SSIS Error Code DTS_E_CANNOTACQUIRECONNECTIONFROMCONNECTIONMANAGER. 数据流任务:错误:SSIS错误代码DTS_E_CANNOTACQUIRECONNECTIONFROMCONNECTIONMANAGER。 The AcquireConnection method call to the connection manager "localDB\\SQL2016.Local" failed with error code 0xC0202009. 对连接管理器“ localDB \\ SQL2016.Local”的AcquireConnection方法调用失败,错误代码为0xC0202009。 There may be error messages posted before this with more information on why the AcquireConnection method call failed. 在此之前可能会发布错误消息,并提供有关AcquireConnection方法调用失败原因的更多信息。

ApplicationDataETL:Error: SSIS Error Code DTS_E_OLEDBERROR.  An OLE DB error has occurred. Error code: 0x80004005.
An OLE DB record is available.  Source: "Microsoft SQL Server Native Client 11.0"  Hresult: 0x80004005  Description: "Login timeout expired".
An OLE DB record is available.  Source: "Microsoft SQL Server Native Client 11.0"  Hresult: 0x80004005  Description: "A network-related or instance-specific error has occurred while establishing a connection to SQL Server. Server is not found or not accessible. Check if instance name is correct and if SQL Server is configured to allow remote connections. For more information see SQL Server Books Online.".
An OLE DB record is available.  Source: "Microsoft SQL Server Native Client 11.0"  Hresult: 0x80004005  Description: "SQL Server Network Interfaces: Error Locating Server/Instance Specified [xFFFFFFFF]. ".

Just to update everyone, this was issues that had issues and they had their issues. 只是为了更新每个人,这是有问题的问题,而他们也有问题。 First, the Integration Services on the network server had been stopped due to logon error, first major issue. 首先,由于第一个主要问题登录错误,网络服务器上的Integration Services已停止。 Second, in order to allow the network server to have access to my local server, I had to open the configuration manager on my local SQL instance and enable TCP/IP under the configuration settings for my 2016 instance. 其次,为了允许网络服务器访问本地服务器,我必须在本地SQL实例上打开配置管理器,并在2016实例的配置设置下启用TCP / IP。 At this point, I needed to run netstat on the command prompt using my SQL Server Instance ID to determine if it is listening to port 1433. To ensure remote access, I then had to add rules to my firewall to allow TCP 1433, UDP 1434, sqlservr.exe, and sqlbrowser.exe. 此时,我需要使用SQL Server实例ID在命令提示符下运行netstat以确定它是否正在侦听端口1433。为确保远程访问,我随后不得不向防火墙添加规则以允许TCP 1433,UDP 1434 ,sqlservr.exe和sqlbrowser.exe。 Once this was all completed, I was then able to connect to my local server through ssms on the network server. 一旦完成所有这些操作,便可以通过网络服务器上的ssms连接到本地服务器。 Using the proxy account I created for SQLAgent, I the job was then able to process successfully. 使用我为SQLAgent创建的代理帐户,该作业随后得以成功处理。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM