SSIS package from sql agent failed csv - 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.

Related

SSIS Packages Randomly Cannot Find Connection

I am building out a new SQL Server 2019 database and using SSIS 2019 to import data from various sources. Most of my SSIS packages are randomly failing on the server (but not when I run them from Visual Studio), but then will run successfully, and then fail again. The failure error can change from failure to failure on the same package.
To simplify things, I built a brand new Test package that executes a stored procedure to see if I could isolate the problem. The Test package has only the one SQL task and the Connection Manager.
The Test package also randomly fails but is always for the same reason: cannot find the Connection, which it lists by the GUID. It will run several times, then fail once, sometimes twice, then run 5 or 6 times in a row, then fail. Off and on.
The packages are deployed to Integration Services Catalog and I'm calling them using Autosys to run the DTEXEC command.
Any ideas on what would cause a random failure like this?

SSIS Job failure : Script task Issue - the script returned a failure result

I do have ssis package which capture data from csv file using script task.The job ran fine without any issues but it is getting failed for past few days before . I have tried to run locally which is working fine but via SQL server Agent it is getting failed and error message also not clear. I am running job using proxy account and credentials both locally and via SQL server agent Job.
Error message : the script returned a failure result (in execution log)
Any help would be much appreciated.

SSIS package fails to run when called from a SQL Server Agent job step

I have an SSRS report. I am downloading that as an Excel file through SSIS package. I have created a script task for that. This is working fine.
But the problem is when I am trying to run the SSIS package through SQL Server Agent job, it fails. I am not able to find where I am going wrong in this?
Please help me solve this.
I have already tried creating Desktop folder in
C:\Windows\SysWOW64\config\systemprofile
I have also tried changing the ProtectionLevel to DontSaveSensitive at both project and package level.
Error Description: The script returned a failure result. End Error DTExec: The package execution returned DTSER_FAILURE (1).

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

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

SSIS Connection to MySQL when run in Jobagent

I need to use SSIS to copy data from a external MySQL database to another external SQL database. When I run the pacakge in Visual stidio, everything works fine. But when I deploy
to a local Integration services catalog (on local SQL server) and run the package through jobagent, I get the following error:
The AcquireConnection method call to the connectionmanager MySQLDB.com
failed with error code 0xC0014009.
The validation of the ODBC connection to (MySQL) is failing. I am using MySQL ODBC 5.1 Driver. But as stated above, it works when running the same package in Visual studio...
I have plenty of packages running and working in jobagent but none is using a connection other then to SQL server.
What am I missing here with the MySQL Connection?