SSIS package change source from Oracle 9i to Oracle 11g - ORA-12154 error

  • I am trying to change our source database Oracle 9i to new database 11g.

    I pass the credentials through configuration files. (user/pw/server). Added new tns in tnsnames.ora

    Following is the errror message. Please help.

    Message

    Executed as user: xxxxx\SVC-xxxxx. Microsoft (R) SQL Server Execute Package Utility Version 10.50.1600.1 for 64-bit Copyright (C) Microsoft Corporation 2010. All rights reserved. Started: 11:10:27 AM Error: 2012-08-10 11:10:50.93 Code: 0xC0202009 Source: xxxxxDB Connection manager "xxxxx Database" 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". End Error Error: 2012-08-10 11:10:50.94 Code: 0xC020801C Source: Load xxxxxTable ViewPoint AUDIT_LOG Source [1] Description: SSIS Error Code DTS_E_CANNOTACQUIRECONNECTIONFROMCONNECTIONMANAGER. The AcquireConnection method call to the connection manager "xxxxx" 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: 2012-08-10 11:10:50.94 Code: 0xC0047017 Source: Load xxxxx SSIS.Pipeline Description: component "ViewPoint AUDIT_LOG Source" (1) failed validation and returned error code 0xC020801C. End Error Error: 2012-08-10 11:10:50.95 Code: 0xC004700C Source: Load Audit_Log SSIS.Pipeline Description: One or more component failed validation. End Error Error: 2012-08-10 11:10:50.95 Code: 0xC0024107 Source: Load Audit_Log Description: There were errors during task validation. End Error Error: 2012-08-10 11:10:50.95 Code: 0xC00220DE Source: Load ViewPoint Staging Description: Error 0xC0012050 while loading package file "D:\SSIS\ViewPoint\xxxxxDTSXPackage.dtsx". Package failed validation from the ExecutePackage task. The package cannot run. . End Error DTExec: The package execution returned DTSER_FAILURE (1). Started: 11:10:27 AM Finished: 11:10:51 AM Elapsed: 23.681 seconds. The package execution failed. The step failed.

  • Hi, Can anyone share your thoughts.

  • This is the culprit:

    TNS:could not resolve the connect identifier specified

    Which Oracle client are you using?

    Maybe you can ask this question in an Oracle forum, as it's clearly an Oracle issue and not an SSIS one.

    Need an answer? No, you need a question
    My blog at https://sqlkover.com.
    MCSE Business Intelligence - Microsoft Data Platform MVP

  • Oracle 10.2 client installed on the server.

    I am able to connect to the database directly from the server but the package is not able to connect to the new source. The issue is SSIS package fails to run.

  • Can the 10.2 client connect to 11g?

    Need an answer? No, you need a question
    My blog at https://sqlkover.com.
    MCSE Business Intelligence - Microsoft Data Platform MVP

  • Did you ever find an answer? I'm having same issue. Package runs fine when ran manually but when scheduled through sql agent it fails with that error.

Viewing 6 posts - 1 through 5 (of 5 total)

You must be logged in to reply to this topic. Login to reply