我試圖執行從SQL Server代理作業但是收到的錯誤:不能在SQL Server代理運行作業
The login is from an untrusted domain and cannot be used with Windows authentication.
在SQL Server 2016 SQL Server代理和SSIS其中憑證帳戶proxy
是鏈接到windows admin account
。代理設置SSIS package excecution
:
的工作只有1步運行SSIS包。該軟件包是從VS 2016 +數據工具開發/測試/部署的。
下面是步驟:
和錯誤:
右鍵單擊作業查看歷史記錄。以下是錯誤:
Executed as user: MACHINE_NAME\admin_user. Microsoft (R) SQL Server Execute Package Utility Version 13.0.1601.5 for 64-bit Copyright (C) 2016 Microsoft. All rights reserved. Started: 2:15:10 PM Failed to execute IS server package because of error 0x80131904. Server: xxx, Package path: \SSISDB\Practise 1\SSIS 1\Package.dtsx, Environment reference Id: NULL. Description: Login failed. The login is from an untrusted domain and cannot be used with Windows authentication. Source: .Net SqlClient Data Provider Started: 2:15:10 PM Finished: 2:15:10 PM Elapsed: 0.188 seconds. The package execution failed. The step failed.
我建議你正確的選擇SSMS/Run As。以該用戶身份運行它,並嘗試登錄到SSMS並查看是否得到相同的錯誤。 –
我正在使用管理員帳戶在SQL Server實例的同一臺計算機上運行SSMS。 ''運行''沒有運氣。 – beewest