gpt4 book ai didi

sql-server - 如何在 SQL Server 2008 中为 SSIS 包运行计划任务?

转载 作者:行者123 更新时间:2023-12-02 08:29:33 26 4
gpt4 key购买 nike

我试图在 SQL Server 代理中运行一个 SSIS 包,并成功创建作业,但是当我尝试运行时,出现了这个错误:

Microsoft (R) SQL Server Execute Package Utility Version 10.50.1600.1 for 32-bit Copyright (C) Microsoft Corporation 2010. All rights reserved.

Started: 9:09:23 AM Error: 2015-02-17 09:09:23.77 Code: 0xC0016016 Source: 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. End Error Error: 2015-02-17 09:09:24.57 Code: 0xC0202009 Source: Package Connection manager "localhost.Sample.sa" 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 'sa'.". End Error Error: 2015-02-17 09:09:24.58
Code: 0xC020801C Source: Data OLE DB Source [1] Description: SSIS Error Code DTS_E_CANNOTACQUIRECONNECTIONFROMCONNECTIONMANAGER. The AcquireConnection method call to the connection manager "localhost.Sample.sa" 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: 2015-02-17 09:09:24.58 Code: 0xC0047017 Source: Data SSIS.Pipeline
Description: component "OLE DB Source" (1) failed validation and returned error code 0xC020801C. End Error Error: 2015-02-17 09:09:24.58 Code: 0xC004700C Source: Data SSIS.Pipeline
Description: One or more component failed validation. End Error Error: 2015-02-17 09:09:24.59 Code: 0xC0024107 Source: Data
Description: There were errors during task validation. End Error DTExec: The package execution returned DTSER_FAILURE (1). Started: 9:09:23 AM Finished: 9:09:24 AM Elapsed: 0.905 seconds Microsoft (R) SQL Server Execute Package Utility Version 10.50.1600.1 for 32-bit Copyright (C) Microsoft Corporation 2010. All rights reserved.

Started: 9:14:47 AM Error: 2015-02-17 09:14:47.66 Code: 0xC0016016 Source: 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. End Error Error: 2015-02-17 09:14:47.94 Code: 0xC0202009 Source: Package Connection manager "localhost.Sample.sa1" 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 'sa'.". End Error Error: 2015-02-17 09:14:47.94
Code: 0xC020801C Source: Data Flow Task OLE DB Source [1]
Description: SSIS Error Code DTS_E_CANNOTACQUIRECONNECTIONFROMCONNECTIONMANAGER. The AcquireConnection method call to the connection manager "localhost.Sample.sa1" 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: 2015-02-17 09:14:47.94 Code: 0xC0047017 Source: Data Flow Task SSIS.Pipeline Description: component "OLE DB Source" (1) failed validation and returned error code 0xC020801C. End Error Error: 2015-02-17 09:14:47.94 Code: 0xC004700C Source: Data Flow Task SSIS.Pipeline Description: One or more component failed validation. End Error Error: 2015-02-17 09:14:47.94 Code: 0xC0024107 Source: Data Flow Task Description: There were errors during task validation. End Error DTExec: The package execution returned DTSER_FAILURE (1). Started: 9:14:47 AM Finished: 9:14:47 AM Elapsed: 0.359 seconds

最佳答案

  • 如果你想用sa用户先启用。如果你没有sql身份验证然后使用windows身份验证登录并转到服务器属性-->安全-->选择sql和windows验证。单击确定仍然无法访问然后尝试下面查询启用

更改登录 [sa] WITH PASSWORD='AnyStronGpassword', CHECK_POLICY=OFF去更改登录 [sa] 启用开始

sql server 登录成功后创建作业并运行。

引用链接:Enable Sa Password

关于sql-server - 如何在 SQL Server 2008 中为 SSIS 包运行计划任务?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/28554971/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com