Solved

Oracle Forms 6i(32-bit) => Oracle database 10g R2 Windows 2008 R2 64-bit)

Posted on 2010-08-24
12
3,005 Views
Last Modified: 2013-12-19

We have Oracle database 10g R2 installed on a Microsoft Windows 2008 R2 (64-bit) (SERVER1)

We have Oracle Forms 6i (patch 4a) installed on a Microsoft Windows XP Professional (32-bit) (SERVER2)

I am not able to connect from SERVER2 to SERVER1, either through SQLPLUS or FORMS BUILDER.

Its giving some forms dialog box error.

My TNSNAMES and other connections are fine.

When I do a TNSPING80 SERVER1_DB  its successful.



Is it because forms 6i (32-bit) cannot connect to a 64-bit database on a 64-bit OS ?
0
Comment
Question by:OCUBE
  • 6
  • 5
12 Comments
 
LVL 76

Expert Comment

by:slightwv (䄆 Netminder)
ID: 33516834
There should be no problem between the operating systems.

What error are you getting?

FYI: tnsping doesn't actually talk to the database.  It just asks the listener if it knows about the database.

Depending how you have things swt up, tnsping will work if the database is down.
0
 

Author Comment

by:OCUBE
ID: 33517103
Here are screen shots of the errors what I see when I try to connect
from Oracle Forms SQLPLUS80  to the database

sqlplus-Error1.JPG
sqlplus-Error2.JPG
sqlplus-Error3.JPG
0
 

Expert Comment

by:motasemsh
ID: 33519791
It seems that you have problem with your installation of developer 6i,

can you connect to other database (local on your xp SERVER2)
if you run form builder can it connect to database and if not what is the error message you got.
0
 

Author Comment

by:OCUBE
ID: 33520029


Yes I have been using this same 6i installation to connect to another Oracle database (32-bit) all these years and its fine.


0
 
LVL 76

Expert Comment

by:slightwv (䄆 Netminder)
ID: 33520579
I probably should have thought about it a little more before I said there should be no problem...  I forgot how old 6i is.

What is the version of the other Oracle database?

The version of sql*plus is 8.0.  Man that's old.  Oracle 8.x sqlplus does not connect to 10g.

Check out Metalink Note: 338513.1
It states forms 6i patchset 16 or patchset 17 was certified against 10gR1.  It also states it will NEVER be certified above 10gR1.

See if you can get hold of either of those patchsets.  If it connects to 10gR1, it 'should' connect to 10gR2 even if not certified.

Came across this for 10g XE.  It might work?

http://www.oraclebrains.com/2007/06/connecting-oracle-forms-6i-to-oracle-xe-10g/
0
 

Author Comment

by:OCUBE
ID: 33520781

I did install patchset 17 yesterday and had no luck.

We were able to connect with 8.0.6 sqlplus (patchset 4a) with 10g database 32-bit database all these years.

Only issue now I have is connecting to Oracle database 10g (64-bit) on windows 2008 R2 (64-bit OS)
0
PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

 
LVL 76

Expert Comment

by:slightwv (䄆 Netminder)
ID: 33520796
Are both the 10g databases the same release (10gR1 or 10gR2)?

>>We were able to connect with 8.0.6 sqlplus

Interesting. That isn't supposed to work.  Who knew...
0
 

Author Comment

by:OCUBE
ID: 33520807


Both are 10g R2 (10.2.0.4)
0
 
LVL 76

Accepted Solution

by:
slightwv (䄆 Netminder) earned 500 total points
ID: 33520906
I can't imagine it's a 32-Bit/64-Bit only issue but stranger things have happened.

I also wouldn't expect the characterset having anything to do with it but did you check out the link I posted above?  

Can you verify the characterset information between the two databases are the same.

0
 

Author Comment

by:OCUBE
ID: 33521080

Awesome !!!!!!!!!!!!!!!!!!!!!!!!

When I changed the character set on the 10g (10.2.0.4) 64-bit database , it worked.

Now I am able to connect from Oracle forms/reports / sqlplus (8.0.6)

Thanks "slightwv"  for your help
0
 

Author Closing Comment

by:OCUBE
ID: 33521082


Thanks
0
 
LVL 76

Expert Comment

by:slightwv (䄆 Netminder)
ID: 33521201
Glad to help.
0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
Oracle PL/SQL syntax 4 52
UNIX SCP 5 48
Outer Query not returning data - SQL HELP 16 41
query returning everything 11 69
Truncate is a DDL Command where as Delete is a DML Command. Both will delete data from table, but what is the difference between these below statements truncate table <table_name> ?? delete from <table_name> ?? The first command cannot be …
Using SQL Scripts we can save all the SQL queries as files that we use very frequently on our database later point of time. This is one of the feature present under SQL Workshop in Oracle Application Express.
This video shows setup options and the basic steps and syntax for duplicating (cloning) a database from one instance to another. Examples are given for duplicating to the same machine and to different machines
Via a live example, show how to restore a database from backup after a simulated disk failure using RMAN.

760 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now