Oracle client can't connect to remote server - oracle

On win7 64 bit, PL/SQL Developer client login message: "Initailization error, SQL*Net not properly installed, OracleHomeKey: ;OracleHomeDir:".
The server is a remote server, I only have a sql client, because I can access database via java code, so thought that the tnslistener has been started on that server, am I right?

The listener is on the server, if you can connect to the server via java, the listener is running. So not a listener problem. The error states that your client is not properly installed. The PL/SQL developer software it trying to use sqlnet via the oracle client to access the oracle database. The sqlnet driver is reporting that your installation is either not configured or is not properly installed. What oracle client is installed on your win7 box? Did you install the instant client from oracle 10g/11? Did you install the full client for oracle 10g/11? Uninstall the bad install client, reinstall and configure/run the client software to test sqlnet.

Related

How to run Oracle APEX application on Client side PC

How can I run Oracle APEX application on Client PC which is connected remotely to Database server side PC through Oracle Client Service software.
Oracle XE 11.2g
Oracle APEX version 19
Client service sotfware version 21.1.
You wrote an application. When you run it, all you need is a web browser. There's the application URL in browser's address line. It looks like
http://your.server:8084/apex/f?p=120:1:3120653734023:::::
Client (person) needs this part of it (120 represents APP_ID):
http://your.server:8084/apex/f?p=120
Send it to the client" who will just have to click on it and - if you're in the same network - get application's log in window. If you also provided username and password, client will be able to run the application.
Therefore, you don't have to install any Oracle software on client's PC.

How to find driver and port number from Windows Server for Progress database 11

I'm getting an error from report:
The OLE DB provider "MSDASQL" for linked server "linkname" reported an error. The provider reported an unexpected catastrophic failure.
I'm checking to find out the installed driver and port number from the Windows server 2008 R2. I checked in "C:\Windows\System32\drivers\etc" services file, but unable to get which exact service I need to check?
My ODBC data source administrator window is listing below drivers:
1. MySQL ODBC driver
2. Oracle in OraClient 10g
3. SQL Server
4. SQL Server native client
How can I find the detailed information; what is the current driver installed on what port number ? Is the current driver installed is compatible with Progress DB ? If it's not compatible, which latest driver I need to install to make it compatible with Progress 11?
You will need to download the SQL Client Access software from Progress web site.
https://www.progress.com/support/evaluation/download-resources/download-center
Look for the SQL Client Access:

Does listener service require Oracle server to be installed?

I have installed Oracle 8i Client version in my machine. I have created local service naming to. I am trying to connect the local service. I am getting below error,
The test did not succeed.
ORA-12541: TNS:no listener
There may be an error in the fields entered,
or the server may not be ready for a connection.
Do I need server to be installed in my machine for the listener to be run in my machine?
Where is the database server running?
Did you create a listener on the local machine? If so, please post the listener.ora in addition to the tnsnames.ora file.
Normally, the listener would run on the database server. It is possible to run the listener on a machine other than the database server but that would not be a particularly common configuration. It would be much more common to run the database and the listener on your laptop.
It would be extremely unusual, though, to want to install any version of 8i today. 8.1.7 has been desupported for nearly a decade and isn't supported on any operating system that is vaguely near supported.
yes, the listener is part of the server, not the client. As you're trying to connect to a locally installed server (I guess) and that server doesn't exist (as you installed only the client) the client will respond that there is no listener (as the listener would be what's replying to the client, not the server directly).

Connecting to remote Oracle database using Oracle Client

I have to connect to a remote Oracle database. Connection will only work with a VPN access to the remote network. I have already setup the VPN, and that is working.
Remote team has passed TNS.ORA settings. I have hardly worked on configuring oracle and neither I am aware of the setup that I need to have on my machine. I just need to run few queries to test the data.
Can somebody guide me on the setup and the configuration I need to have on my windows 7 to connect to a remote Oracle database ?.
My first assumption was to download Oracle client. I downloaded Oracle Insta Client files, but I have no idea how to configure it to connect to a remote database. I couldn't even find any ORA file in the installed files of Insta client.
One you installed the instant client and installed it, you can conect to the remote database by using an easyconnect string. If you are in sqlplus you can do the following:
CONNECT username#[//]host[:port][/service_name][:server][/instance_name]
Lets assume your remote host is remote1 and the service_name is test (This can be retrieved from the tnsnames.ora)
connect username#//remote1/test

ADO.NET for connecting Oracle Database on server

Recently we have developed an application which connects to oracle database for fetching records. For fetching records, we are using OLEDB for Oracle. Application runs fine on my machine by connectng properly with Oracle ,since i have oracle client installed on my machine. Now i tried to test application on another machine, which doesnot have any oracle instance/Client installed on his machine. Application fails to connect to oracle central DB Server. Is it necessary for users to install oracle client on their machine before the application communicates with Oracle.
Here is Connection string
connectionString="Provider=msdaora;Data Source=(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=XYZ)(PORT=1521)))(CONNECT_DATA=(SERVER=DEDICATED)(SERVICE_NAME=abc.com)));Persist Security Info=False;User Id=mahens; Password=XXXXXXXXX" providerName="System.Data.SQLOLEDB"/>
The above code is for OLEDB for oracle. Is there any thing i required to install for connecting to central Oracle DB server from my windows application(.NET application installed on local machine).
If we try to use ODP.NET dll and include those dll's along within BIN directory,will that work?..Can any1 tell me a way wherein user need not install any oracle Client on their machine and communicate to server.
-Mahender
I believe you always need the oracle client installed as everything in .net ultimately uses ODP.NET. However, you can use the Oracle Instant Client to make your users' setup process easier.

Resources