Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.misc -> Re: An NT service can't connect to Oracle

Re: An NT service can't connect to Oracle

From: K.Spiller <k.spiller_at_deutschepost.de>
Date: Fri, 29 Oct 1999 16:45:15 +0200
Message-ID: <3819B2FB.E6C19AD1@deutschepost.de>


AUstyuzhaninov_at_flagship.ru schrieb:
>
> Hello,
>
> I have two programs for NT: one is an exe file, the other - a dll one.
> During the execution the exe calls a function in the dll, which in turn
> connects to an Oracle server through OCI interface. When I run the exe
> from a command string as a usual application it works fine. But if I
> start the exe as an NT service (either automatic or manual) the
> connection to Oracle fails with this error: "ORA-03121: no interface
> driver connected - function not performed". The platform is NT
> workstation 4.0 SP 5 and Oracle 7.3.4 client software.
>
> Does anybody has any idea about this?
>
> Best regards,
> Alexei Ustyuzhaninov
>
> Sent via Deja.com http://www.deja.com/
> Before you buy.

Hi!
Services in NT are usually run as 'system' (OS account). system hasn't any network access. Try using another account, e.g. the one you tested from command line. (Go to Service Manager, select your Service, click on 'Startup', choose an account)

regards,
Kathrin Spiller Received on Fri Oct 29 1999 - 09:45:15 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US