Article View: borland.public.cppbuilder.database.multi-tier
Article #1425Re: Deployment: Connecting to Oracle
From: Jeff Overcash (TeamB)
Date: Thu, 18 Nov 1999 00:00
Date: Thu, 18 Nov 1999 00:00
49 lines
2055 bytes
2055 bytes
The things I'd check is
a) Oracle client is installed properly
b) The Oracle Alias has been set up
c) BDE is install properly (check the BDE Admin to make sure you see the Oracle
Driver)
d) The <orahome>\bin is in the path
My gut guess is that b) is not setup correctly. To test a & b try loggin in
with SQL*Plus, to test c & d create a test alias in the BDE Admin and try to
connect.
Yunki Paik wrote:
>
> The following code works fine on my development system, but when deployed to
> other
> machine, I get error:
> ---
> try {
> Database1->Connected = false;
> Database1->DatabaseName = "db";
> Database1->DriverName = "ORACLE";
> Database1->Params->Clear();
> Database1->Params->Add("Server Name=deployPC");
> Database1->Params->Add("User Name=scott");
> Database1->Params->Add("Password=tiger");
> Database1->Connected = true;
> }
> catch(EDatabaseError &e) {
> ShowMessage(e.Message);
> }
> ---
>
> The error message is: Object not found.
> The deployed machine does not have BDE alias. (But, I think it is OK since
> it works
> OK when tested without an alias on my machine.)
>
> What does that mean? I would appreciate someone's help here.
> Thanks.
>
> /yunki
--
Jeff Overcash (TeamB)
(Please do not email me directly unless asked. Thank You)
Anyone who cannot cope with mathematics is not fully human.
At best he is a tolerable subhuman who has learned to wear
shoes, bathe and not make messes in the house. (Heinlein)
Technical Details
Message-ID:
<3834961E.80A38029@onramp.net>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<811p6b$9jr14@forums.borland.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fcd2b,f0ee21e031f3fcf X-Google-Attributes: gidfcd2b,public From: "Jeff Overcash (TeamB)" <overcash@onramp.net> Subject: Re: Deployment: Connecting to Oracle Date: 1999/11/18 Message-ID: <3834961E.80A38029@onramp.net> X-Deja-AN: 550332013 Content-Transfer-Encoding: 7bit References: <811p6b$9jr14@forums.borland.com> X-Accept-Language: en Content-Type: text/plain; charset=us-ascii Organization: TeamB Mime-Version: 1.0 Newsgroups: borland.public.cppbuilder.database.multi-tier