BDE & Personal Oracle

Posted on 1998-03-11
Last Modified: 2013-11-23
We have been running Delphi against a network version of Oracle for some time now.  We recently installed Personal Oracle 7.3 on a couple machines.  The problem is we can't seem to figure out how to set up a BDE alias to point to the local (Personal Oracle) database on the individual machine.  The Borland web sit does not seem to help out any.  Any suggestions?
Question by:gjbaker
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
  • 3
  • 3

Expert Comment

ID: 1360417
The Personal Oracle 's Net Protocol name is different from
the oracle server. It's '2:'. And The Server Name is
any character you want , it's not be cared.

Author Comment

ID: 1360418
Under BDE 4.0 we get the error message "NET PROTOCOL cannot have a value of 2:".  This is using the native Oracle driver.  Any other ideas?

Expert Comment

ID: 1360419
First try the update of BDE.
Independent Software Vendors: 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!


Accepted Solution

chunhui earned 100 total points
ID: 1360420
Make sure you have a local ORACLE_HOME directory defined on each workstation.
When using Personal Oracle the "SERVER NAME" value in your BDE Oracle alias should be set to "2:" for Personal Oracle 7.1 and "2" (without the colon) for Personal Oracle for Windows 95.
Check your SQL*Net Client and Server versions. They should either match (i.e., SQL*Net 2.3 on both) or the client should be running a higher version.

It is very helpful to generate trace information while tuning your TNS connection. Set the TRACE_LEVEL_LISTENER entry of your LISTENER.ORA equal to "ADMIN", and the TRACE_LEVEL_CLIENT entry of your SQLNET.ORA  equal to "16". The trace files will show you the connection process step by step, including port, protocol, and packet information. They will even give you the complete error stack if your connection was unsuccessful, with all corresponding error numbers and full message text!
Once your connection is up and running, set the previous values back to "OFF".


Author Comment

ID: 1360421
I'm real close to having it working.  However, I get an invalid username or password when I try to login through Borland's Database desktop.

Expert Comment

ID: 1360422
Is it a ORA error? If is tell me the ORA ERROR number,
if not, look at your DLL file name.

Author Comment

ID: 1360423
Thanks for your help Chunhui, but my login error was really stupid.  I had setup the username for the BDE alias as 'P0(zero)7 instead of PO(as in Oracle)7.  After I changed that, it works fine.

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

A lot of questions regard threads in Delphi.   One of the more specific questions is how to show progress of the thread.   Updating a progressbar from inside a thread is a mistake. A solution to this would be to send a synchronized message to the…
Introduction I have seen many questions in this Delphi topic area where queries in threads are needed or suggested. I know bumped into a similar need. This article will address some of the concepts when dealing with a multithreaded delphi database…
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

734 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