UDL connection with Oracle database using OLEDB Provider - oracle

I am trying to connect the oracle database using universal data link(UDL) with the provider as "Oracle provider for OLEDB"
The test connection fails with the below error
Test connection failed because of an error in initializing provider. ORA-12170: TNS:Connect timeout occurred
I am able to connect to the oracle database using SQLPLUS and Oracle SQL Developer from the same machine.
Please suggest the possible root cause of the issue.

Related

Oracle 12c network connection issue

I face the below error when i try to connect to the database

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.

informatica powercenter sql server connection issue

Background: I am really new. Informatica Developer for PowerCenter Express Version: 9.6.1 HotFix 2
I am trying to connect to a sql server 2012 database. I created this connection
, basically just changed the server, database in connection string of meatadata access and data access. I have tested I can use the user name password to access the sql server in sql server management studio. And when I click test it reports successful.
But when I create a mapping and a physical object (read) based on that connection, when I try data view on that object, it reports this error:
[LDTMCMN_0029] message [com.informatica.sdk.dtm.ExecutionException: [LDTM_0072] RR_4036 Error connecting to database [
Microsoft SQL Server Native Client 11.0: Login timeout expired
SQL State: HYT00 Native Error: 0
Microsoft SQL Server Native Client 11.0: A network-related or instance-specific error has occurred while establishing a connection to SQL Server. Server is not found or not accessible. Check if instance name is correct and if SQL Server is configured to allow remote connections. For more information see SQL Server Books Online.
SQL State: 08001 Native Error: 87
Microsoft SQL Server Native Client 11.0: SQL Server Network Interfaces: Connection string is not valid [87].
SQL State: 08001 Native Error: 87
State: 1 Severity: 16
SQL Server Message: SQL Server Network Interfaces: Connection string is not valid [87].
Database driver error...
Function Name : Connect
Database Error: Failed to connect to database using user [bcsgetl] and connection string [192.168.100.88:1433].].]
One thing to note, when I created that physical object, I used that connection and I was able to select a table, which proves the connection is successful.
As from the error message "Connection string is not valid".
For a Native SQL Server connection work without provide it
Your can try a connection with the ODBC protocol, but instead as for the PowerCenter, where it need to be created a ODBC 64 bit connection on the Windows Server 2012, for the developer and PowerCenter Express, instead I found that it need still an ODBC but from the local machine.
Follow this steps:
-Launch the ODBC Administrator using the odbcad32.exe file located in the
C:\Windows\SysWOW64 directory.
-Create a new ODBC SQL data source under user and make sure do not use space in the name.
-Restart the Developer Client.
-Create in the Developer Client a ODBC connection with your parameters.
Please make sure to use as "Connection String" the same you used for the ODBC source on your local machine.
So if you called it "SQL_Local" that is your Connection String

TNS Protocol adapter error while starting SQL Developer?

I'm facing this problem while working with SQL Developer:
Status: Failure-Test failed refused the connection with the following error:ORA-12505:
Your database is not configured to listen on a given hostname/port or uses different sid. Use Oracle Net Configuration Assistant to verify that your db is configured correctly

Error while connecting to Oracle database from oracle SQL Developer though I've the oracle client installed

I've installed Oracle client in my machine, when I'm trying to connect to the oracle database server from Oracle SQL Developer am getting the following error:
Status : Failure -Test failed: IO Error: The Network Adapter could not establish the connection
But am able to connect to the server using sql plus and TOAD as well from my machine. What is the issue if Toad connects to the server why cant my Oracle sql developer could not connect??
checked all the possible solutions like:
tns strings checking, telnet to the server and its port,
changing the oracle home in the sqldeveloper->tools->preferences->database->advanced tab.
None solved my issue. Is this the firewall issue?
If it is so how am able to connect using TOAD/sql plus ??
UPDATE: I'm connecting to the Oracle database server using the VPN.
Any help is much appreciated.
Thanks in advance.

Resources