Solution for Oracle 10g X64 connection error in PLSQL limit 8

Source: Internet
Author: User

The operating system is Windows 7 Enterprise X64 and the Oracle 10g X64 client is installed,PLSQL DeveloperConnectionOracle 10g X64. The following error is reported:

 
 
  1. [Window Title]  
  2.  
  3. (Not logged on)  
  4.  
  5. [Content]  
  6.  
  7. Initialization error  
  8.  
  9. Could not initialize "C:\oracle\product\10.2.0\client_1\bin\oci.dll"  
  10.  
  11. Make sure you have the 32 bits Oracle Client installed.  
  12.  
  13. OracleHomeKey:  
  14.  
  15. OracleHomeDir: C:\oracle\product\10.2.0\client_1  
  16.  
  17. Found: oci.dll  
  18.  
  19. Using: C:\oracle\product\10.2.0\client_1\bin\oci.dll  
  20.  
  21. LoadLibrary(C:\oracle\product\10.2.0\client_1\bin\oci.dll) returned 0 

This is because PLSQL developer does not support 64-bit versions. PLSQL developer is developed in delphi, and this development tool itself does not have 64-bit versions );

PLSQL Develpoer official: http://www.allroundautomations.com/plsqldev.html.click it to download oracle's Instant Client, official: http://www.oracle.com/technology/software/tech/oci/instantclient/htdocs/winsoft.html

After the download is complete, decompress the package to a path, and enter the Oracle Home Directory and OCI library in PLSQL Developer 8-tools-preferences-to write the path information extracted by the Oracle Instant Client, as follows:

Oracle main directory: The Directory extracted by the Instant Client.../instantclient_11_2.

OCI Library: oci. dll file in the Oracle main directory.../instantclient_11_2/oci. dll.

The above configuration is actually equivalent to replacing the Oracle client. Next we need to configure the system environment variables.

The following two items are required:

Variable name: TNS_ADMIN.

Variable value:.../product/11.2.0/dbhome_1/NETWORK/ADMIN in the Oracle installation directory.

Variable name: NLS_LANG.

Variable value: AMERICAN_AMERICA database character encoding ).

In addition, the following configuration is required when Oracle is installed. Otherwise, a TNS protocol adapter error may occur)

Variable name: oracle_sid

Variable value: Oracle database instance

The database character encoding can be queried by entering SQL PLUS select userenv ('language') from dual.

In this way, restart PLSQL Developer and then access it.

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.