Monday 23 October 2017

Connect 12c Database with 6i Developer

Connect 12c Database with 6i Developer

Subject: Connectivity between Oracle 12c Database and Oracle 6i Developer 2000

Step 1:
Install Oracle 12c Database with default Character set and default schemas

Step 2:
Configure SQLNET.ORA Database file by adding this line.
·         “SQLNET.ALLOWED_LOGON_VERSION=8”
·         “SQLNET.ALLOWED_LOGON_VERSION_SERVER=8”
·         “SQLNET.ALLOWED_LOGON_VERSION_CLIENT=8”

Step 3:
Setting up some parameter in Oracle Database.
·         Setting the system parameters, JOB_QUEUE_PROCESSES and AQ_TM_PROCESSES, to 0
·         Setting the parameter “SEC_CASE_SENSITIVE_LOGIN” to FALSE
·         Changing the database character set to WE8MSWIN1252 using “ALTER DATABASE CHARACTER SET INTERNAL_USE WE8MSWIN1252; or changing the character set to a UTF8 character set such as AL32UTF8

Startup Oracle database

SQL> startup mount;
SQL> ALTER SYSTEM ENABLE RESTRICTED SESSION;
SQL> ALTER SYSTEM SET JOB_QUEUE_PROCESSES=0;
SQL> ALTER SYSTEM SET AQ_TM_PROCESSES=0;
SQL> ALTER DATABASE OPEN;

If you not set your database with default schemas while installing then follow the next command.

SQL> update sys.props$ set VALUE$='WE8MSWIN1252' where NAME='NLS_CHARACTERSET';
SQL> commit;
SQL> shutdown immediate;
SQL> startup;


Know entry on tnsnames.ora file of Oracle form 6i which is located like this.
“C:/orant/NET80/ADMIN/tnsnames.ora”
Your entry should be like this.
ORCL =
   (DESCRIPTION =
      (ADDRESS_LIST =
            (ADDRESS =
              (PROTOCOL = TCP)
              (HOST = 127.0.0.1)
              (PORT = 1521)
             )
        )
      (CONNECT_DATA = (SID = orcl )
      )

   )

4 comments:

  1. due to to your code error showing ora-12526 TNS:listener: all appropriate instances are in restricted mode

    why you are giving wrong solution ...

    ReplyDelete
  2. whenever I am feeling boring I am not playing some kinds of games but on the opposite, I am starting to find some blogs where I can find helpful articles but I am not commenting there but this article really is an awesome article I ever say thanks for sharing it with us.
    if you have an interest in web designing or logo designing then visit us?
    Logo Designers

    ReplyDelete
  3. This comment has been removed by the author.

    ReplyDelete
  4. Hi
    I have been working with developer6i for almost 15 years
    I have no issue to connect XE 10g, 11g,12c with Developer6i. after installing any of these XE versions and then Developer6i. login into database using run sql command or cmd and then connect to database as SYS DBA then run the following:
    SHUTDOWN IMMEDIATE;
    STARTUP MOUNT;
    ALTER SYSTEM ENABLE RESTRICTED SESSION;
    ALTER SYSTEM SET JOB_QUEUE_PROCESSES=10;
    ALTER SYSTEM SET AQ_TM_PROCESSES=0;
    ALTER DATABASE OPEN;
    ALTER DATABASE CHARACTER SET INTERNAL_USE UTF8;
    SHUTDOWN;
    STARTUP RESTRICT;
    SHUTDOWN;
    STARTUP;
    ALTER SYSTEM SET JOB_QUEUE_PROCESSES=10;
    this will work
    The issue seems like with DB XE 18c version does not connect with Developer6i

    ReplyDelete