使用 SQL 代理运行 SSIS 包时出现问题 - 因“DTSER_FAILURE(1)"而失败; [英] Problem using SQL Agent to run SSIS Packages - fails with "DTSER_FAILURE(1)"

查看:34
本文介绍了使用 SQL 代理运行 SSIS 包时出现问题 - 因“DTSER_FAILURE(1)"而失败;的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个存储在 MSDB 数据库中的 SSIS 包,当我执行它时可以正常工作.它将在 SA 帐户下运行或将使用 Windows 安全性.

I have an SSIS Package stored in the MSDB database which works fine when I execute it. It will run under SA account or will use Windows security.

我想安排这个作业与 SQL 代理一起运行,但是当我这样做时,我收到一个奇怪的错误,无论我尝试什么配置,它都会失败并显示以下错误:

I want to schedule this job to run with SQL Agent, but when I do I get a strange error and whatever configuration I try it fails with the following error:

以用户身份执行:SERVER\SYSTEM.返回 DTSER_FAILURE (1).开始:09:25:03 完成:09:25:04 经过:0.61 秒.包执行失败.该步骤失败.

SSIS 包本身正在向远程服务器读取和写入数据,但我认为在包执行期间它不会走那么远.

The SSIS package itself is reading and writing data to a remote server, but I don't think that it gets that far during the package execution.

有什么想法吗?

推荐答案

您需要为运行 SQL 代理 Windows 服务的帐户授予必要的权限.

You will need to grant the account running the SQL Agent windows service the necessary permissions.

或者,您可以通过指定一个代理帐户来运行该步骤,从而在另一个安全上下文下运行单个作业步骤.

Alternatively, you can run individual job steps under another security context by specifying a proxy account to run the step.

这篇关于使用 SQL 代理运行 SSIS 包时出现问题 - 因“DTSER_FAILURE(1)"而失败;的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆