Watch, Follow, &
Connect with Us

For forums, blogs and more please visit our
Developer Tools Community.


Welcome, Guest
Guest Settings
Help

Thread: [FireDAC] Compatibility Oracle client 32 bits with Windows Server 2016


This question is not answered. Helpful answers available: 2. Correct answers available: 1.


Permlink Replies: 1 - Last Post: May 13, 2017 12:22 AM Last Post By: Dmitry Arefiev
Guest
[FireDAC] Compatibility Oracle client 32 bits with Windows Server 2016
Click to report abuse...   Click to reply to this thread Reply
  Posted: May 12, 2017 6:49 AM
Hello,

I am on Windows Server 2016 and I have some problems to create connexion with Oracle Database on FDExplorer(x86).

This is my log on FDExplorer :

================================
Connection definition parameters
================================
DriverID=Ora
================================
FireDAC info
================================
Tool = RAD Studio 10 Seattle
FireDAC = 13.0.1 (Build 82709)
Platform = Windows 32 bit
Defines = FireDAC_NOLOCALE_META;FireDAC_MONITOR
================================
Client info
================================
Loading driver Ora ...
  Searching for Instant Client ...
    Found [C:\MY_FOLDER\oci.dll], position [0], in [app folder]
  Searching for Oracle Home ...
    Checking Oracle Home at key [\Software\Oracle] ...
    Not found !
  Error: [FireDAC][Phys][Ora]-314. Cannot load vendor library [C:\MY_FOLDER\oci.dll]. Specified module could not be found.
Hint: check it is in the PATH or application EXE directories, and has x86 bitness.
Failed to load DBMS client !
================================
Session info
================================
Not connected to DBMS.


The instant client driver is x86 and I have the last version. I try to put my driver in the same folder that my exe and in an other folder on my path variable. I have all permissions on my folder, administrator rights and this connexion works with the same folder on Windows Server 2012 or Windows 10. I try without anti-virus too and it's not working.
I try to put FDDrivers.ini in the same folder with the parameter VendorLib=MY_FOLDER, same result.

When I try to register my dll with Regsvr32, I have this error :

The module oci.dll may not compatible with the version of Windows that you're running. Check if the module is compatible with an x86 (32-bit) or x64 (64-bit) version of regsvr32.exe.


Do you have some ideas for resolve my problem ?

Thanks.

Brice

Edited by: smcom Software on May 12, 2017 6:50 AM
Dmitry Arefiev

Posts: 1,406
Registered: 12/7/03
Re: [FireDAC] Compatibility Oracle client 32 bits with Windows Server 2016  
Click to report abuse...   Click to reply to this thread Reply
  Posted: May 13, 2017 12:22 AM   in response to: Guest in response to: Guest
There may be some DLL conflict or some missed DLL, eg MS VC Runtime DLL.
Try to find some additional info:
* run app from debugger and see Event Log / Modules windows
* run app under SysInternals Process Monitor and see the events

--
With best regards,
Dmitry
Legend
Helpful Answer (5 pts)
Correct Answer (10 pts)

Server Response from: ETNAJIVE02