Navicat Connect Oracle Database ora-28547:connection to server failed, probable Oracle Net admin error Error, workaround

Source: Internet
Author: User
Tags oracle database
Navicat PREMIUM11 Connection Oracle appears ora-28547:connection to server failed

Environment Description:
Local Oracle is installed normally, and no exception occurs halfway through.
Ensure that Oracle's primary services are started.
1, ORACLESERVICEORCL
2, Oracleoradb11g_home1tnslistener

Problem Description:
Navicat creates a new Oracle connection, in the host or IP address column.
If you fill out the native IP, you will report Ora-12541:tns:no listener.
If you fill out localhost, you will report ora-28547:connection to server failed

Workaround:
Navicat Oci.dll version is wrong, my computer is installed oracle11g.

Method one: Directly in Navicat, tool-> option-> other->OCI below reset the path of the OCI library, where I point to my Computer installation Oracle directory E:\Oracle11g\product\11.2.0\ Dbhome_1\bin\oci.dll, restart Navicat will not be an error.

Method Two:
Download the Oracle client at the address below and install

1 http://download.oracle.com/otn/nt/oracle11g/112010/win64_11gr2_client.zip

The path to the OCI library is then directed to the Oci.dll in the client in method one.
To set environment variables:
(1) Increasing C:\Instantclient10_2 at the beginning of the environment variable path;
(2) Increase the user environment variable SQLPath, the value is C:\Instantclient10_2
(3) Increase the user environment variable Nls_lang, the value is American_america. UTF8

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.