简体   繁体   English

SQL Server作业代理不执行SSIS包

[英]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.

相关问题 SQL 服务器代理作业不执行 SSIS package 权限错误 - SQL Server Agent Job doesn't execute SSIS package Permission Error 使用SSIS包执行SQL Server作业 - execute a SQL Server Job using SSIS package SSIS:执行 SQL Server 代理作业任务以异步或同步方式运行 - SSIS : Execute SQL Server Agent Job Task run Asychronously or Synchronously SSIS包在服务器上运行,但不作为预定作业运行(SQL代理) - SSIS Package runs on the server but not as a scheduled job (SQL Agent) SSIS DTSX package 在 SQL 服务器代理作业中丢失数据 - SSIS DTSX package losing data in a SQL Server Agent job ssis 在 sql 服务器代理中工作 - ssis job in sql server agent 根据 SQL 代理作业当前是否正在运行,确定是否在其控制流中执行 SSIS package - Determine whether to execute SSIS package inside its Control Flow based on whether an SQL Agent job is currently running 如何使用SQL Server代理作业在未安装excel的服务器上运行具有excel源的SSIS包 - How to run an SSIS package having excel source on a server where excel is not installed using SQL Server Agent Job SQL Server代理作业以运行SSIS包 - SQL Server Agent Jobs to Run SSIS Package 如何在我的 SQL 服务器代理作业中创建一个步骤,它将运行我的 SSIS package? - How do I create a step in my SQL Server Agent Job which will run my SSIS package?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM