SSIS ODBC Source Previews Data But Fails When Executing Package - ssis

This is really odd to me. I am using an ODBC connection as a data source in SSIS. I am able to preview data, but when I attempt to execute the package (still within Visual Studio for development), I get an error on the initial data source.
The error I am receiving is:
There was an error trying to establish an Open Database Connectivity (ODBC) connection with the database server.
The AcquireConnection method call to the connection manager xxx failed with error code 0xC0014009. There may be error messages posted before this with more information on why the AcquireConnection method call failed.
ODBC Source failed validation and returned error code 0x80004005.
Clearly I have the right username, password, and ODBC connection to some degree, because I am able to see the data. However I am failing on establishing the connection when I attempt to run the package, so I must be doing something wrong. Any idea what it might be?

It ended up being that the drivers associated with the ODBC connection (gsk8ssl.dll) installed on the machine needed to be added to the path variables on both my local and on the server. This was for connecting to a DB2 database.

Related

SSIS Logging to SQL Server does not see Project Connection

In VS 2019 I am running a simple SSIS package using a OLEDB Connection Manager which I have Parameterized the full db connection string as a Project Paramater.
This connection ('Booking') works fine throughout the package, however I have added SQL Server logging using the same connection and it is available in the configuration dropdown but when I run the package in VS I get the following error right at the start...
"Error: 0xC001000E at Package: The connection "Booking" is not found. This error is thrown by Connections collection when the specific connection element is not found."
The only thing I can think of is that I did rename the connection to 'Booking' and added parameters for teh connection string. Initially it was called something else and had no parameters. Could this renaming be the issue?

Failed to acquire connection to Oracle

I am trying to migrate my data from SQL Server to Oracle through SSIS.A simple package has been created for this particular task which is working completely fine on my local machine. But when I am trying to deploy it on server using config file it is not able to acquire the Oracle connection and failing with below Error:
[Execute SQL Task] Error: Failed to acquire connection "TargetDB". Connection may not be configured correctly or you may not have the right permissions on this connection.
Can anyone help please.
I have checked the permission of account and it is having read/write access.
Also tried validating the package using config file and it is successful. Only when the job runs I face this error.

The parent package in SSIS fails with the following

Open Database Connectivity (ODBC) error occurred. state: '08S01'. Native Error Code: 30046. [SAP][ASE ODBC Driver]Connection to the server has been lost. Connection died while reading from socket. Socket returned error code 10054. ERRNO returned 0. Check the server to determine the status of any open transactions.
This message points to problems with SAP. Contact SAP administrator and ask to check it there were any problem with SAP instance. You should also talk to network enigneer to verify if there was a problem with network connection.
On SSIS side everything looks fine.

SSIS Error Code DTS_E_CANNOTACQUIRECONNECTIONFROMCONNECTIONMANAGER

It has been a real struggle trying to get this to work on my Windows 7 64-bit machine.
I have a package which moves data from Oracle to SQL and, on our Windows 2008 R2 test server it works fine (within BIDS).
What I have tried so far....
Copied BIDS from Program Files (x86) to Program Files (to eliminate
the brackets issue)
Installed 32-bit and 64-bit Oracle as well as 32-bit ODAC.
Tried setting DelayedValidation to TRUE
Installed TOAD and am able to connect to Oracle database.
Within BIDS, I can test the connection successfully and even preview it, however when I try to execute the package fails on the DataSource task (ie Oracle connection).
Very frustrating and I appreciate any help on this.
Complete error below:
[OLE DB Source [1]] Error: SSIS Error Code
DTS_E_CANNOTACQUIRECONNECTIONFROMCONNECTIONMANAGER. The
AcquireConnection method call to the connection manager "LICS" failed
with error code 0xC0202009. There may be error messages posted before
this with more information on why the AcquireConnection method call
failed.
[SSIS.Pipeline] Error: component "OLE DB Source" (1) failed validation
and returned error code 0xC020801C.
thanks,
KS
Try doing this since your driver is 32 bits.
Right click on project > properties > Debugging > Run64bitsRuntime > False.
You guys are going to laugh.... but I set Run64bitsRuntime to TRUE and it works lol! I guess it is using the 64-bit driver then - now I'm confused. I dont even want to know whats going on here as long as it works!

SSIS - MySQL source: Could not create a managed connection manager

I'm using VS 2012 with SQL Server Data Tools installed. I have an ADO NET Source, which uses the .Net Providers\MySQL Data Provider and am trying to push some data to an OLE DB Destination, which uses a normal SQL Server Native Client 11.0 provider. Everything seems ok, I can preview data from the source and columns are mapped well - but when I run the project I get the following error:
[ADO NET Source [2]] Error: ADO NET Source has failed to acquire the connection {47479EC0-98BC-4664-A8F9-0FF0278969FD} with the following error message: "Could not create a managed connection manager.".
[SSIS.Pipeline] Error: ADO NET Source failed validation and returned error code 0xC0208449.
Most Google hits talk about setting the Run64BitRuntime to false. Mine is greyed out and defaulted to false already. Any other suggestions?
I ended up using an ODBC connection and was able to follow this post step by step to get an alternative route working:
SSIS MySQL Copying Table to SQL Server