SSIS The connection is not found. The error is thrown by connections collection - ssis

I have created a SSIS package using visual studio 2015 and deployed it SQL 2008 R2 server. I have attached the config file to SQL job step that executes the package and deployed the config file to the location.
When I run the SQL job, I get the error
The connection "XXXXX\SQL2008R2.XXXX" is not found. This error is thrown by Connections collection when the specific connection element is not found
After getting this error i Checked the configurations tab in the job step and noticed that the connections weren't selected
see screenshot below
I then checked the check boxes and reran the package to get the same error
I am not sure that I am missing. It looks like the package is not reading the config file correctly

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?

SSIS package from sql agent failed csv

I have sql server agent job that runs the SSIS package which loads the csv file to sql server destionation. All these days it was working fine but now I am getting the below error message.
There is no change in the package and file was not opened while running the job and also security looks fine.
the same works when I execute the package in dev environment but getting failed when I execute the same package as job in prod environment.
Thanks for all your suggestions/help.

SSIS Script Task fails when run from sql job

I have a created a SSIS package to load excel file into database but before Data Flow Task, i m using a script task to change data type of one the excel columns using interop.excel dll.
While running the package in VS2015 on the server itself, it completes with success, but when i am running it through sql server agent it is getting failed and giving following error message
"Script Task Error : Exception has been thrown by the target of an
invocation."
i have already registered the dll in GAC.
What others steps should i try to resolve the issue?
Edit :-
Error Message :
Retrieving the COM class factory for component with CLSID
{000209FF-0000-0000-C000-000000000046} failed due to the following
error: 80070005 Access is denied. (Exception from HRESULT: 0x80070005
(E_ACCESSDENIED)).
Hmm. As you succeed in running the package under your account and it fails run by SQL Job - the most probable case is that SQL Server Agent service account does not have an access to the Excel file.
I would create a job proxy, as described here How to add SQL Job Proxy with an account which has access to the Excel file.

file system task error an error occurred with the following error message the device is not ready in ssis

I have an File System Task that copies a file from one directory to another. But i executing package with different machine very first time I got device is not ready error message from file system tack component.
Any one guide me.
If you are executing package from SQL Server Job check credentials from which SQL Agent Service is running. If credentials is OK then it maybe network (DNS) or Active Directory issue.

SSIS 2012: Package fails from SQL Agent but runs OK manually

There is a Master package as below to call and run all child packages in my SSIS solution by Project Reference. Also, all connection managers are set at project level since all packages are sharing the same ones.
When manually running, everything works well from master to last child. However, when the master package is executed from a SQL Agent, it shows error as follows:
Code: 0xC001000E Source: Master
Description: The connection "{5A827D76-916C-4F22-ADE9-266ABBEB1E37}" is not found.
This error is thrown by Connections collection when the specific connection element is not found.
Then I checked the connection ID and found it is an OLE DB connection manager in the first child package as follows:
I'm not sure if I should replace project connections with package level to fix this issue. Hopefully someone could help me out. Thanks in advance!
Some more info that might be helpful:
All connection managers are connect to SQL-Server 2012 and my visual studio version is 2010.
An SSIS proxy is created with the same windows account of packages for SQL Agent to execute. It also has full control to all DBs used in solution.
SQL Agent is set as below: