【发布时间】:2018-04-22 20:38:52
【问题描述】:
我正在尝试创建一个新作业来自动运行 SSIS 包。
我成功从 SSDT 执行运行包,但是当我尝试从 sql Agent 运行它时,它会生成以下错误:
Source: Package Description: Failed to decrypt protected XML node "DTS:Password" with error 0x8009000B "Key not valid for use in specified state.". You may not be authorized to access this information. This error occurs when there is a cryptographic error. Verify that the correct key is available.
我尝试使用 32 位运行时检查和不检查框。 sql server 和 SQL Agent 都是 64 位的
当我将保护级别更改为 DontSaveSensitive 时,我收到以下错误:
Executed as user: VG-DATA2\vgadmin. Microsoft (R) SQL Server Execute Package Utility Version 12.0.5000.0 for 64-bit Copyright (C) Microsoft Corporation. All rights reserved. Started: 22:54:19 Error: 2018-04-22 22:54:20.03 Code: 0xC0202009 Source: Package Connection manager "vg-data2.westeurope.cloudapp.azure.com.WT_Delivery.vigicolis" 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 11.0" Hresult: 0x80040E4D Description: "Échec de l'ouverture de session de l'utilisateur 'vigicolis'.". End Error Error: 2018-04-22 22:54:20.03 Code: 0xC00291EC Source: Tâche d'exécution de requêtes SQL Execute SQL Task Description: Failed to acquire connection "vg-data2.westeurope.cloudapp.azure.com.WT_Delivery.vigicolis". Connection may not be configured correctly or you may not have the right permissions on this connection. End Error DTExec: The package execution returned DTSER_FAILURE (1). Started: 22:54:19 Finished: 22:54:20 Elapsed: 0.156 seconds. The package execution failed. The step failed.
有人知道这个问题吗?
提前致谢
【问题讨论】:
-
但是现在在SSDT中不行!!
-
您似乎在使用包中的密码,可能是为了登录数据源。当您选择不保存敏感信息时,您将丢失密码并且无法登录 DS
标签: sql-server ssis sql-server-2014