我執行位於服務器上的程序包的作業。該軟件包已設置日誌記錄。當我禁用該日誌記錄時,它按預期執行得很好,但是當我通過日誌記錄運行它時會引發錯誤。Sql Server代理作業失敗
信息:
- 工作和包位於同一臺服務器上。
- 用戶有權執行作業。
- 記錄連接來自不同的服務器。
錯誤:
Executed as user: VHRDEVLHQ3379\SYSTEM. ....50.2500.0 for 64-bit
Copyright (C) Microsoft Corporation 2010.
All rights reserved.
Started: 5:10:13 PM
Error: 2013-11-25 17:10:14.61
Code: 0xC0202009
Source: Package Connection manager "HRPConfig"
Description: SSIS Error Code DTS_E_OLEDBERROR.
An OLE DB error has occurred. Error code: 0x80040E4D.
An OLE DB record is available.
Source: "Microsoft SQL Server Native Client 10.0"
Hresult: 0x80040E4D
Description: "Login failed for user 'USER'.".
End Error
Error: 2013-11-25 17:10:14.69
Code: 0xC0202009
Source: Package Connection manager "Logging"
Description: SSIS Error Code DTS_E_OLEDBERROR.
An OLE DB error has occurred.
Error code: 0x80040E4D.
An OLE DB record is available.
Source: "Microsoft SQL Server Native Client 10.0"
Hresult: 0x80040E4D
Description: "Login failed for user 'USER'.".
End Error
Error: 2013-11-25 17:10:14.69
Code: 0xC020801C
Source: Package Log provider "SSIS log provider for SQL Server"
Description: SSIS
Error Code DTS_E_CANNOTACQUIRECONNECTIONFROMCONNECTIONMANAGER.
The AcquireConnection method call to the connection manager "Logging" failed with error code 0xC0202009. There may be error messages posted before this with more information on why the AcquireConnection method call failed. COM error object information is available.
Source: "Package" error code: 0xC0202009
Description: "SSIS Error Code DTS_E_OLEDBERROR. An OLE DB error has occurred. Error code: 0x80040E4D. An OLE DB record is available.
Source: "Microsoft SQL Server Native Client 10.0"
Hresult: 0x80040E4D Description: "Login failed for user 'USER'.". ".
End Error
Error: 2013-11-25 17:10:14.71
Code: 0xC0202009
Source: Package Connection manager "HRPConfig"
Description: SSIS Error Code DTS_E_OLEDBERROR.
An OLE DB error has occurred. Error code: 0x80040E4D. An OLE DB record is available. Source: "Microsoft SQL Server Native Client 10.0"
Hresult: 0x80040E4D
Description: "Login failed for user 'USER'.".
End Error
Error: 2013-11-25 17:10:14.79
Code: 0xC0202009
Source: Package Connection manager "Logging"
Description: SSIS Error Code DTS_E_OLEDBERROR. An OLE DB error has occurred. Error code: 0x80040E4D. An OLE DB record is available.
Source: "Microsoft SQL Server Native Client 10.0"
Hresult: 0x80040E4D
Description: "Login failed for user 'USER'.".
End Error
Error: 2013-11-25 17:10:14.79
Code: 0xC020801C
Source: Package Log provider "SSIS log provider for SQL Server"
Description: SSIS Error Code DTS_E_CANNOTACQUIRECONNECTIONFROMCONNECTIONMANAGER. The AcquireConnection method call to the connection manager "Logging" failed with error code 0xC0202009. There may be error messages posted before this with more information on why the AcquireConnection method call failed. COM error object information is available. Source: "Package" error code: 0xC0202009 Description: "SSIS Error Code DTS_E_OLEDBERROR. An OLE DB error has occurred.
Error code: 0x80040E4D. An OLE DB record is available.
Source: "Microsoft SQL Server Native Client 10.0"
Hresult: 0x80040E4D
Description: "Login failed for user 'USER'.". ".
End Error
Error: 2013-11-25 17:10:18.21
Code: 0xC0202009
Source: Package Connection manager "Logging"
Description: SSIS Error Code DTS_E_OLEDBERROR. An OLE DB error has occurred. Error code: 0x80040E4D. An OLE DB record is available.
Source: "Microsoft SQL Server Native Client 10.0"
Hresult: 0x80040E4D Description: "Login failed for user 'USER'.".
End Error
Error: 2013-11-25 17:10:18.27
Code: 0xC0202009
Source: Package Connection manager "Logging"
Description: SSIS Error Code DTS_E_OLED... The package execution fa... The step failed.
你看過上面粘貼的錯誤消息嗎?它非常突出,問題是什麼 – billinkc
感謝您的快速回復。但正如我在信息中所解釋的,我確實可以訪問所有的連接,但我無法弄清楚這個問題。 – ChelChabiloGujrati
這是不是給你一個線索:'登錄失敗的用戶'用戶' –