运行 SSIS 包的作业有时会在我们的环境中失败。
在作业历史记录中查找实际的错误消息有点烦人。例如,错误:“登录超时过期”隐藏在所有这些词中:
Executed as user: ****** Microsoft (R) SQL Server Execute Package Utility Version 10.0.2531.0 for 64-bit Copyright (C) Microsoft Corp 1984-2005. All rights reserved. Started: 8:31:01 Error: 2012-07-18 08:31:20.95 Code: 0xC0202009 Source: ***** Description: SSIS Error Code DTS_E_OLEDBERROR. An OLE DB error has occurred. Error code: 0x80004005. An OLE DB record is available. Source: "Microsoft SQL Server Native Client 10.0" Hresult: 0x80004005 Description: "Login timeout expired". An OLE DB record is available. Source: "Microsoft SQL Server Native Client 10.0" Hresult: 0x80004005 Description: "Unable to complete login process due to delay in login response". An OLE DB record is available. Source: "Microsoft SQL Server Native Client 10.0" Hresult: 0x80004005 Description: "TCP Provider: Timeout error [258]. ". End Error Error: 2012-07-18 08:31:20.98 Code: 0xC020801C Source: **** Description: SSIS Error Code DTS_E_CANNOTACQUIRECONNECTIONFROMCONNECTIONMANAGER. The AcquireConnection method call to the connection manager **** failed with error code 0xC0202009. There may be error messages posted before this with more information on why the AcquireConnection method call failed. End Error Error: 2012-07-18 08:31:20.99 Code: 0xC0047017 Source: Find and send notifications SSIS.Pipeline Description: component "Duplicate contracts" (3002) failed validation and returned error code 0xC020801C. End Error Error: 2012-07-18 08:31:20.99 Code: 0xC004700C Source: Find and send notifications SSIS.Pipeline Description: One or more component failed validation. End Error Error: 2012-07-18 08:31:21.00 Code: 0xC0024107 Source: Find and send notifications Description: There were errors during task validation. End Error DTExec: The package execution returned DTSER_FAILURE (1). Started: 8:31:01 Finished: 8:31:21 Elapsed: 19.984 seconds. The package execution failed. The step faile
您是否碰巧知道任何其他方式(更方便)来查看/获取/接收/检测作业历史记录中的错误消息?
在此先感谢,罗尼。