Package that runs perfect on SSIS, but fails on SQL - server job activity

0

I wonder if you can help me, I am having a problem which I can't figure out for the last few days... I get these errors when I run a package, that runs perfect on SSIS, on SQL - server job activity:

Error: There were errors during task validation

Error: .. failed validation and returned error code 0xC0208449

Error: One or more component failed validation

ADO NET source has failed to acquire the connection {...} with the following error message "exception from HRESULT: 0x80131937

Some additional info:

  • I am using project deployment mode

  • my Sql server version is 2014

  • My protection level in SSIS is DontSaveSensitives both in project and packages, but I think that it doesn't matter when I deploy anyway.

  • The package I get this error about run on SSIS but not on SQL-server job activity

sql-server
ssis
etl
asked on Stack Overflow Aug 8, 2016 by Liat Ferman • edited Jun 20, 2020 by Community

1 Answer

1

When runnin within Sql Agent Job, your package is failing to acquire connections. First review your package/job connections, and make sure they have deployed properly.

Then rule out access permissions issues by testing the package using a Sql Server user/password account. If it works this way then most likely you need to use a Sql Server Proxy account.

If you are still unable to access then check connectivity between the machine you are running the job and the one(s) where your data is located (addresses, ports and instances,..). Also make sure that all involved machines can use the same transport (named pipe, tcp,...) in Sql Server Configuration Manager.

answered on Stack Overflow Aug 8, 2016 by jsegarra

User contributions licensed under CC BY-SA 3.0