[英]SQL Server Job Agent don't execute SSIS Package
I have a problem with one SQL Server Agent Job. 我有一个SQL Server代理作业有问题。 There is one step which executes a SSIS package, I receive a successful message but the SSIS package don't be executed. 有一个执行SSIS包的步骤,我收到一条成功消息,但未执行SSIS包。
The SSIS package owner is local administrator on our SQL Server - he is also member of the sa group and the Microsoft SQL Server job will be executed with this user. SSIS包所有者是我们SQL Server上的本地管理员-他也是sa组的成员,并且Microsoft SQL Server作业将与此用户一起执行。
I don't know why this SSIS package will not be executed... In this SSIS package there will be executed two other packages but these ones are in the same directory. 我不知道为什么不执行此SSIS程序包...在此SSIS程序包中将执行另外两个程序包,但这些程序包位于同一目录中。 I also checked the boxes in the connection manager options at the job step properties. 我还选中了作业步骤属性中连接管理器选项中的复选框。
If I execute the package manually with the execute package utility everything works fine. 如果我使用execute package实用程序手动执行软件包,则一切正常。
On a few pages some people write that I have to create an proxy account but is this really necessary and if there is a problem by using this user why don't occur an error? 在几页上,有些人写道我必须创建一个代理帐户,但这真的是必须的,如果使用此用户有问题,为什么不发生错误?
I hope anyone has an idea. 我希望任何人都有一个主意。 Thank you! 谢谢!
I find a solution for this problem. 我找到了解决该问题的方法。 I created a batch file which executes this packages with the dtexec.exe 我创建了一个批处理文件,该文件使用dtexec.exe执行此程序包
Then I created a task (in the server task scheduler) which executes the batch file - now I have an automatically daily import without any problems. 然后,我创建了一个任务(在服务器任务计划程序中),该任务执行该批处理文件-现在,我可以每天自动导入,没有任何问题。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.