Print Thread
Initialization Error when loading app from network
#4406 12/27/02 07:44 PM
Joined: Dec 2002
Posts: 18
SHREVEPORT, LA USA
R
Member
OP Offline
Member
R
Joined: Dec 2002
Posts: 18
SHREVEPORT, LA USA
I'm converting an application from BDE to DOA. I'm using Delphi 3 and Oracle 7.3.4. I'm converting the application on a local machine and when I run it from the local machine, everything works fine however, if I copy the application to my server and run it from there (but still using the local machine) I get

Error Reading ses_payments. Connected. Initailzation Error.Could not load "C:\orawin95\bin\ora73.dll"

OracleHomeKey SOFTWARE\ORACLE
OracleHomeDir c:\orawin95
Found ora73.dll
Using c:\orawin95\bin\ora73.dll
Load Library (c:\orawin95\bin\ora73.dll) returned 0

In this scenario, I'm loading the file from a different drive than my local one, but the database dll ora73.dll IS in the c:\orawin95\bin directory (which is the local directory) and this directory is in the search path of the machine so I don't understand why the problem.

Re: Initialization Error when loading app from network
#4407 12/27/02 08:10 PM
Joined: Aug 1999
Posts: 22,233
Member
Offline
Member
Joined: Aug 1999
Posts: 22,233
The DLL cannot be loaded, so there must be some conflict. Either this Oracle Home is not properly installed (e.g. one or more required DLL's are missing), or the PATH contains additional oracle_home\bin directories before (!) c:\orawin95\bin.

------------------
Marco Kalter
Allround Automations


Marco Kalter
Allround Automations
Re: Initialization Error when loading app from network
#4408 12/27/02 09:41 PM
Joined: Dec 2002
Posts: 18
SHREVEPORT, LA USA
R
Member
OP Offline
Member
R
Joined: Dec 2002
Posts: 18
SHREVEPORT, LA USA
It's fixed. There was a piece of the application that was still connected to Oracle via the BDE. It was the first piece the app used when launched (i.e. the application connected using the BDE first). Once I converted it, everything worked fine.


Moderated by  support 

Link Copied to Clipboard
Powered by UBB.threads™ PHP Forum Software 7.7.4
(Release build 20200307)
Responsive Width:

PHP: 7.1.33 Page Time: 0.025s Queries: 12 (0.007s) Memory: 2.5053 MB (Peak: 3.0423 MB) Data Comp: Off Server Time: 2024-06-18 21:36:49 UTC
Valid HTML 5 and Valid CSS