我执行位于服务器上的包的作业。该软件包已设置日志记录。当我禁用该日志记录时,它按预期执行正常,但是当我使用日志记录运行它时会抛出错误。
信息:
错误:
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.
答案 0 :(得分:1)
执行作业的SQL Server代理帐户是否具有对日志记录表的写入权限?这听起来像是问题。