问题描述
我正在运行一个 SSIS 包,该包是在 Visual Studio 2019 中使用下面给出的 dtexec 命令开发的。我们使用的是 sql Server Management Studio 2019 版本。包被部署到集成服务目录。
DTEXEC /ISSERVER "\SSISDB\Folder\Project\Package.dtsx" /SERVER xxx /Par "\"$ServerOption::SYNCHRONIZED(Boolean)\"";True /CHECKPOINTING OFF /REPORTING EW
如果包有错误,我看到的只有这个:
Microsoft (R) sql Server Execute Package Utility
Version 15.0.2000.5 for 32-bit
copyright (C) 2019 Microsoft. All rights reserved.
Started: 1:56:31 PM
Package execution on IS Server Failed. Execution ID: 457,Execution Status:4.
To view the details for the execution,right-click on the Integration Services Catalog,and open the [All Executions] report
Started: 1:56:31 PM
Finished: 1:56:45 PM
Elapsed: 13.703 seconds
要检查错误,我应该转到 Integration Services Catalog 上的 All Executions
。
如果我从 Skybot 作业运行 Dtexec 命令,如果 Skybot 作业失败,我如何获取错误日志?理想情况下,我希望以以下格式获取错误、错误代码、来源和描述详细信息:
Started: 9:00:12 PM
Error: 2021-01-11 21:00:13.15
Code: 0x00000008
Source: sql_Task
Description: The script returned a failure result.
End Error
DTExec: The package execution returned DTSER_FAILURE (1).
Started: 9:00:12 PM
Finished: 9:00:13 PM
Elapsed: 0.733 seconds
解决方法
暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!
如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。
小编邮箱:dio#foxmail.com (将#修改为@)