Call SSIS Package on 2008 server from SQL Agent Jo

2019-09-14 04:13发布

I'm trying, unsuccessfully, to remotely execute an SSIS package. The package resides on a SQL Server 2008 instance and I'd like to call it from a Job on a 2005 server. The error I'm getting is:

The package could not be loaded. The step failed.

If I go from 2008 to 2008, there is no error. Any ideas?

2条回答
相关推荐>>
2楼-- · 2019-09-14 04:52

Does the account your are running under have permissions on the SQL 2005 box. You can create a proxy under which to run the job.

查看更多
姐就是有狂的资本
3楼-- · 2019-09-14 04:57

Assuming that you're attempting to execute the package with a dtexec command, the issue is that the package is executed on the calling server, not the server where it is stored.

Since the 2005 SSIS service can't execute 2008 packages, the step fails.

You need to trigger the dtexec on the server where you want the job to run. The easiest way to do this is probably to set up a SQL Agent job on the 2008 server which starts the package, and trigger that from the 2005 server (using sp_startjob or some more complex trigger mechanism).

查看更多
登录 后发表回答