A Microsoft platform for building enterprise-level data integration and data transformations solutions.
Hi @Monalv-MSFT ,
Sorry for the delay. Let me tried to explain our scenario.
In the development environment we use a Linked Server. On production environment, our Linked Server is different and we don't have access to it from development and we don't have Visual on production environment neither.
We created a Linked Server to Oracle on production environment and test it from query and it's working find. After that, we create a Job on SQL Server Management with the DTSX package. We edited the Data Source Connection String and we change the server name for SQL and the name of the Linked Server and username on the connection string too:
Example of original Connection String:
Data Source=LS_DEV;User ID=user_adm;Provider=OraOLEDB.Oracle.1;Persist Security Info=True;
Connection String after changes:
Data Source=LS_PROD;User ID=user_prd;Provider=OraOLEDB.Oracle.1;Persist Security Info=True;
When we run the job, the folllowing error appear:
*Message
Executed as user: NTAS\_sqlagent. Microsoft (R) SQL Server Execute Package Utility Version 15.0.4043.16 for 64-bit Copyright (C) 2019 Microsoft. All rights reserved. Started: 7:22:24 PM Error: 2020-12-16 19:22:24.80 Code: 0xC0016016 Source: TEST_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. End Error Error: 2020-12-16 19:22:44.49 Code: 0xC0202009 Source: TEST_PACKAGE Connection manager "OracleConn" Description: SSIS Error Code DTS_E_OLEDBERROR. An OLE DB error has occurred. Error code: 0x80004005. An OLE DB record is available. Source: "OraOLEDB" Hresult: 0x80004005 Description: "ORA-**12154: TNS:could not resolve the connect identifier specified"***
I really appreciate any help.