问题
We have a production SQL Server instance (Enterprise), on which all SSIS packages run fine. We've recently created a development server (on SQL Server development edition) and have run into the below error when trying to use an OLE DB connection in SSIS:
[Execute SQL Task] Error: Failed to acquire connection "[SERVER NAME]". Connection may not be configured correctly or you may not have the right permissions on this connection.
[Connection manager "[SERVER NAME]"] 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: "Unable to complete login process due to delay in opening server connection".
It might be worth noting that using an ADO NET Connection works fine. Also there are no problems when querying the database through SSMS.
回答1:
Changing the connection managers timeout limit to something other than 0 then changing it back to 0 to set the timeout to unlimited solved the issue.
来源:https://stackoverflow.com/questions/51083619/ssis-ole-db-source-55-error-0xc0202009