Oracle Connection in SSIS error - oracle

I have searched the message boards and found some suggestions but have not had any luck in resolving issue.
I have an existing SSIS package that connects to an Oracle database instance called 'read_79'. That connection works fine.
I have added a new connection to the existing package called 'read_91' and I am getting errors when trying to debug the package.
Error = Error: 0xC0202009 at SMS_Stats, Connection manager
"read_91": 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". Error:
0xC020801C at Import Bulletin Stats, 91 Bulletin Stats [487]: SSIS
Error Code DTS_E_CANNOTACQUIRECONNECTIONFROMCONNECTIONMANAGER. The
AcquireConnection method call to the connection manager "read_91"
failed with error code 0xC0202009. There may be error messages posted
before this with more information on why the AcquireConnection method
call failed.
Here is the connection string that I am using - Data Source=cm9.FQDN;User ID=read;Provider=OraOLEDB.Oracle.1;Persist Security Info=True;
This string is the same as what is being used for 'read_79' but updated with the 'read_91' data. And when I perform a test connect from within the connection manager, it comes back as successful.
Any suggestions would be greatly appreciated!

Related

Oracle SQL Developer Error: Connection (CONNECTION_ID=CUJgpQYpQbOXdhiXCUyR3Q==) Vendor code 17002 Issue

I am getting problem in connecting to my database in Oracle SQL Developer. Whenever I try to connect to my database, it gives me this error:
An error was encountered performing the requested operation:
IO Error: The Network Adapter could not establish the connection (CONNECTION_ID=CUJgpQYpQbOXdhiXCUyR3Q==)
Vendor code 17002
Actually, I just use Oracle SQL developer to learn about queries running on a database. I have been using this database since a month but suddenly this error appeared now when I try to connect to the database directly or even manually. Please help me. Any help will be highly appreciated. Thanks in advance.
This is the screenshot for further details:
I tried to do it through an SSH tunnel but stuck there also.

Error connection schema workbench pentaho

Good afternoon,
When in the datasource I create a query sql query over sqljdbc, it works correctly and shows results. Now I want to create a schema in the workbench but when I create the connection I get the following error:
Error connecting to database [test]:
org.pentaho.di.core.exception.KettleDatabaseException:
Error occurred
while trying to connect to the database
Error connecting to database: (using class oracle.jdbc.driver.OracleDriver)
Listener refused the connection with the following error:
ORA-12505, TNS: listener does not currently know of SID given in connect descriptor
The Connection descriptor used by the client was:
oracle_xxx.xxxx.xxxx.xxx:1521:xxx.xxx
Please update the JDBC driver according to your Oracle DB version , there was an issue with the Driver.

Failed to save modifications to the server. Error returned: 'The provider 'OraOLEDB.Oracle' is not registered

I am trying to import data from Oracle into SSAS. I am able connect to Oracle Database..I can also see all the tables and views..but its giving me following error while importing tables.
error: Failed to save modifications to the server. Error returned: 'The provider 'OraOLEDB.Oracle' is not registered.The following system error occurred: Class not registered A connection could not be made to the data source with the Name of 'XYZ'.
I have installed 32 bit oracle client 12C. On development server I am able to import data in SSAS cube from Oracle with same configuration but not on my production server.
Please help me sort out this issue.
Thanks in advance.

Cannot connect to Oracle database during Visual Studio debugging

I am having an issue connecting to an Oracle database when running an SSIS package in debugging mode in Visual Studio. I am using Visual Studio 2012 with Data Tools installed and an Oracle 10g client.
I am using the Oracle Provider for OLE DB that came with the 10g client. I can create a Connection Manager connection to the server and test connectivity fine. I can also preview the data from my query in the OLE DB Source editor. It only fails to connect during debugging.
The actual error message is:
Error: 0xC0202009 at TW_Billing, Connection manager "server.schema": 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".
Error: 0xC020801C at Data Flow Task, ERDB Billing45 Source [2]: SSIS Error Code DTS_E_CANNOTACQUIRECONNECTIONFROMCONNECTIONMANAGER. The AcquireConnection method call to the connection manager "server.schema" failed with error code 0xC0202009. There may be error messages posted before this with more information on why the AcquireConnection method call failed.
Error: 0xC0047017 at Data Flow Task, SSIS.Pipeline: ERDB Billing45 Source failed validation and returned error code 0xC020801C.
Error: 0xC004700C at Data Flow Task, SSIS.Pipeline: One or more component failed validation.
Error: 0xC0024107 at Data Flow Task: There were errors during task validation.
Most of the research I have done on this issue points to a 32bit error. I tried setting the ForcedExecutionMode to Int32 and ForceExecutionMode to True. I also changed the project properties to Run64bitRuntime to False. Neither of these made a difference.
If it makes a difference, we are using LDAP for Oracle connections. That said, I usually dont have an issue connecting to the TNS Names server (I.E. I can connect to the Oracle server any which way other than in Visual Studio debugging mode).
So I apparently failed to install Oracle Developer Tools for Visual Studio:
http://www.oracle.com/technetwork/developer-tools/visual-studio/overview/index-097110.html
Installing this in a new Oracle Home location and re-starting Visual Studio solved my issue. Packages now run during debugging correctly.

OBIEE Answers not showing results

I recently installed OBIEE 11.1.1.6.0. I imported the repository I had from 11.1.1.5 which was working fine till now.
In the administration tool, I can query my data and update the rows, I can connect with the same credentials as the connection pool without problems in SQLPLUS.
Users have the RESOURCE and CONNECT privileges.
My weblogic user as all the privileges and has been granted read/write to my Subject area.
I have set the environment variables, modified the instancesconfig.xml and tried all the things i could've found on the OTN but BI Answers continues to give me this ERROR
View Display Error
Odbc driver returned an error (SQLExecDirectW).
Error Details
Error Codes: OPR4ONWY:U9IM8TAC:OI2DL65P
State: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000]
[nQSError: 10058] A general error has occurred.
[nQSError: 43113] Message returned from OBIS.
[nQSError: 43119] Query Failed:
[nQSError: 17001] Oracle Error code: 1017, message: ORA-01017: invalid username/password; logon denied at OCI call OCISessionBegin.
[nQSError: 17014] Could not connect to Oracle database. (HY000)
SQL Issued: SELECT 0 s_0, "SAP_AVIS"."Fait SAP AVIS"."Avis" s_1 FROM "SAP_AVIS" FETCH FIRST 65001 ROWS ONLY
Please help, I am desperate.
I have been able to resolve my OCI ORA-01017 error.
The problem was caused by my connection pools.
I had a connection amed "A" to access tables in a certain schema in my DB and another connection named "B" this time to access tables in another schema but in the same DB.
In Oracle BI Answers (presentation), I was trying to view data whitin the connection B but strangely OBIEE Answers was using the connection A.
In the end I removed/renamed the connection A and everthing worked like nothing never happend.
I am not saying that this is the best method. Maybe i skipped a config that assigns the default connection pool to use but it did the job.
Option 1:
Copy your tnsnames.ora to {Oracle_BI1}\network\admin directory & {oracle_common}\network\admin directory
Option 2:
Instead of using tnsnames.ora entry in the RPD, use the full expanded tnsnames.
I have never faced this issue, so I'm not sure this'll work or not but you can try. Option 2 might just do the trick.
Vijay.
For me oracle client was not installed,
when I Installed the oracle client problem got solved

Resources