Click here to monitor SSC
SQLServerCentral is supported by Red Gate Software Ltd.
 
Log in  ::  Register  ::  Not logged in
 
 
 
        
Home       Members    Calendar    Who's On


Add to briefcase

SSIS package change source from Oracle 9i to Oracle 11g - ORA-12154 error Expand / Collapse
Author
Message
Posted Friday, August 10, 2012 6:03 PM
Grasshopper

GrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopper

Group: General Forum Members
Last Login: Thursday, January 10, 2013 3:20 PM
Points: 19, Visits: 46
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.
Post #1343723
Posted Sunday, August 12, 2012 1:27 PM
Grasshopper

GrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopper

Group: General Forum Members
Last Login: Thursday, January 10, 2013 3:20 PM
Points: 19, Visits: 46
Hi, Can anyone share your thoughts.
Post #1343926
Posted Monday, August 13, 2012 12:43 AM


SSChampion

SSChampionSSChampionSSChampionSSChampionSSChampionSSChampionSSChampionSSChampionSSChampionSSChampion

Group: General Forum Members
Last Login: Today @ 3:40 AM
Points: 13,735, Visits: 10,696
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.




How to post forum questions.
Need an answer? No, you need a question.
What’s the deal with Excel & SSIS?

Member of LinkedIn. My blog at LessThanDot.

MCSA SQL Server 2012 - MCSE Business Intelligence
Post #1343985
Posted Monday, August 13, 2012 12:12 PM
Grasshopper

GrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopper

Group: General Forum Members
Last Login: Thursday, January 10, 2013 3:20 PM
Points: 19, Visits: 46
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.
Post #1344340
Posted Monday, August 13, 2012 1:59 PM


SSChampion

SSChampionSSChampionSSChampionSSChampionSSChampionSSChampionSSChampionSSChampionSSChampionSSChampion

Group: General Forum Members
Last Login: Today @ 3:40 AM
Points: 13,735, Visits: 10,696
Can the 10.2 client connect to 11g?



How to post forum questions.
Need an answer? No, you need a question.
What’s the deal with Excel & SSIS?

Member of LinkedIn. My blog at LessThanDot.

MCSA SQL Server 2012 - MCSE Business Intelligence
Post #1344402
Posted Wednesday, November 28, 2012 7:20 AM
Old Hand

Old HandOld HandOld HandOld HandOld HandOld HandOld HandOld Hand

Group: General Forum Members
Last Login: Friday, September 12, 2014 7:52 AM
Points: 378, Visits: 1,019
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.
Post #1389766
« Prev Topic | Next Topic »

Add to briefcase

Permissions Expand / Collapse