Quantcast
Channel: Forum Getting started with SQL Server
Viewing all articles
Browse latest Browse all 7129

Execute a 2012 SSIS Package with a remote Stored Procedure

$
0
0

I have a 2012 database server and a second  server with both SSIS  and an instance of SQL with SSISDb. On the SSIS server I have added some stored procedures to execute a package from a catalog in SSISDb. The package loads data into the database server. However, I would like my application to execute the package via a call to a stored procedure on the application database.

To this end I have tried creating a linked server on the database server back to the SSIS server and calling the stored procedure. However, whenever I try to execute the stored procedure I get a number of different errors depending on the configuration I have tried.

If I am on the SSIS server the procedure runs successfully. If I attempt to run the procedure from a remote machine using a windows account it runs the packages but logs an error that I am attempting to connect to the database anonymously. If I attempt to execute the procedure via the linked server it throws an error that I cannot execute a package using a SQL login.

From one of the connect items I have read SSIS 2012 does not seem to support kerberos (which I guess is why I am getting the anonymous access error). Therefore, I tried using EXECUTE AS in the stored procedure to no avail.

Is what I am trying to do possible with the project deployment model? If so can you point me at some resources that would explain how. If not are there any alternatives that I should consider other than the standard xp_CmdShell or SQL Agent job.

Thanks in advance


Viewing all articles
Browse latest Browse all 7129

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>