Solved

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

Posted on 2010-08-24
12
3,138 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 6
  • 5
12 Comments
 
LVL 77

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
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 

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 77

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
 
LVL 77

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 77

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 77

Expert Comment

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

Featured Post

On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Help on model clause 5 48
Oracle dataguard 5 61
sum of columns in a row in oracle 3 44
Fill Date time Field 12 33
How to Create User-Defined Aggregates in Oracle Before we begin creating these things, what are user-defined aggregates?  They are a feature introduced in Oracle 9i that allows a developer to create his or her own functions like "SUM", "AVG", and…
When it comes to protecting Oracle Database servers and systems, there are a ton of myths out there. Here are the most common.
Via a live example show how to connect to RMAN, make basic configuration settings changes and then take a backup of a demo database
Via a live example, show how to restore a database from backup after a simulated disk failure using RMAN.

726 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