I am trying to import Oracle data into SQL Server, and the package runs fine in the Import and Export Utility, but when I set up the package in a SQL job, I get the following error:
Date7/30/2018 2:48:04 PMLogJob History (Import Activities)
Step ID1
ServerCCSD-TFSQL
Job NameImport Activities
Step NameImport Data
Duration00:00:45
Sql Severity0
Sql Message ID0
Operator Emailed
Operator Net sent
Operator Paged
Retries Attempted0
Message
Executed as user: CCSD-TFSQL\TFSQL_EXEC. Microsoft (R) SQL Server Execute Package Utility Version 12.0.5000.0 for 64-bit Copyright (C) Microsoft Corporation. All rights reserved. Started: 2:48:04 PM Error: 2018-07-30 14:48:49.52 Code: 0xC0208449 Source: Data Flow Task 1 Source - Query [165] Description: ADO NET Source has failed to acquire the connection {C3A4BA63-523F-4FF0-B361-629842C29A01} with the following error message: "ORA-12154: TNS:could not resolve the connect identifier specified ". End Error Error: 2018-07-30 14:48:49.52 Code: 0xC0047017 Source: Data Flow Task 1 SSIS.Pipeline Description: Source - Query failed validation and returned error code 0xC0208449. End Error Error: 2018-07-30 14:48:49.52 Code: 0xC004700C Source: Data Flow Task 1 SSIS.Pipeline Description: One or more component failed validation. End Error Error: 2018-07-30 14:48:49.52 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: 2:48:04 PM Finished: 2:48:49 PM Elapsed: 44.984 seconds. The package execution failed. The step failed.