I am trying to run a job with SQL Server Agent and am getting an error for lack of permission to access the package. I then tried to create a proxy and run it using that. I used the following link:
Running a SSIS Package from SQL Server Agent Using a Proxy Account
Below is the error message I receive when I try to run the job. I am scratching my head on how to get the Sql Server Agent the right permissions to be able to run this package.
Message: Executed as user: NT Service\SQLSERVERAGENT. Microsoft (R) SQL Server Execute Package Utility Version 14.0.1000.169 for 64-bit Copyright (C) 2017 Microsoft. All rights reserved. Started: 11:17:56 AM Error: 2020-09-02 11:17:56.79 Code: 0xC0016016 Source: Tire_IP_Data Update 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: 2020-09-02 11:17:56.83 Code: 0xC0202009 Source: Tire_IP_Data Update Connection manager "DestinationConnectionOLEDB" 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: "Login failed for user 'AASdbAdmin'.". End Error Error: 2020-09-02 11:17:56.83 Code: 0xC020801C Source: Data Flow Task 1 Destination - TireIPData [44] Description: SSIS Error Code DTS_E_CANNOTACQUIRECONNECTIONFROMCONNECTIONMANAGER. The AcquireConnection method call to the connection manager "DestinationConnectionOLEDB" 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: 2020-09-02 11:17:56.83 Code: 0xC0047017 Source: Data Flow Task 1 SSIS.Pipeline Description: Destination - TireIPData failed validation and returned error code 0xC020801C. End Error Error: 2020-09-02 11:17:56.83 Code: 0xC004700C Source: Data Flow Task 1 SSIS.Pipeline Description: One or more component failed validation. End Error Error: 2020-09-02 11:17:56.84 Code: 0xC0024107 Source: Data Flow Task 1 Description: There were errors during task validation. End Error DTExec: The package execution returned DTSER_FAILURE (1). Started: 11:17:56 AM Finished: 11:17:56 AM Elapsed: 0.156 seconds. The package execution failed. The step failed.
Image of server DB structure.
User contributions licensed under CC BY-SA 3.0