Oraclm32.dll missing error when I try to run my application - oracle

I am currently working in Windows 7 32 bit system and my application has to run in a Windows 8 64-bit system which is the server. If sever side Oracle 64 is installed whether can I able to run my application there?
If I try to run I am getting error as oraclm32.dll is missing.
Can anyone help me is resolving the issue?

This is not a Oracle server prloblem, but client.
You can provide some more details about the architecture of your application.
Your application is a 32bit exe, so loads the oracle client 32bit.
32bit oracle client can connect to 64bit oracle server, no problem.
Installation of oracle server, includes oracle client with same architecture (in your case 64bit), but manually Oracle client can be installed twice, 32bit and 64bit on the same machine.
Take a look on Oracle instant client, can be a good choice for installing Oralce client on a server environment.
http://www.oracle.com/technetwork/database/features/instant-client/index-100365.html
Hope it helps.

Related

-2147467259/Oracle client and networking components were not found

i have used vb6 application with oracle client 11. but at the run exe, i got the below error:
-2147467259/Oracle client and networking components were not found. These components are supplied by Oracle Corporation and are part of
the Oracle Version 7.3.3 or later client software installation.
Provider is unable to function until these components are installed.
Application platform: VB6
Application Type: exe
Window: window 10
Oracle Client version: 11
This is a duplicate question and the cause could be a number of different issues. This is likely due to the wrong client version being installed on your machine, and/or it is related to a known issue involving a security update for specific versions of windows. Please see the following Questions on Stack Overflow.
VB6 application oracle 12 64bit connection
Error ORA-03106 When using VB6 to access Oracle database in Windows 7 64bit
Oracle Client and networking components were not found - Excel VBA
Connection to Oracle through VBA no longer working
Here is the Mircosoft support article on the patch issue: https://support.microsoft.com/en-us/help/3126587/ms16-014-description-of-the-security-update-for-windows-vista-windows
Most likely you installed the 64-bit version of Oracle Client 11. VB6 binaries are always 32-but, thus you must install the 32-bit version of Oracle Client.
In case you need both, 32 and 64 bit versions one one machine follow this instruction: BadImageFormatException. This will occur when running in 64 bit mode with the 32 bit Oracle client components installed
According to your error messages you use the drivers from Microsoft. These drivers are deprecated for ages, you should prefer the drivers from Oracle.

Oracle 11g - client and network component were not found Windows Server 2008 x64

I'm having this error frequently. I'm running a ASP 2.0 app on a Windows Server 2008 with Oracle 11.2 x64. I have installed Oracle 11 Client x32 but my Application Pool has the "Allow 32 bits Aplications" config enabled. Also I've reviewed my path and Oracle_home but everything seems normal. My connection provider is MSDAORA. The application eventually shows this error , not always. So I want to know if there are some configs or events logs or configs that I could review to find what the problem is.
Also I tried with the OraOLEDB.Oracle but I have this unknown error for some queries
OraOLEDB.Oracle
All the necesary dll's are registered.
System Info:
Windows Server 2008 x64
Oracle 11g R2
Oracle 11g Client x32
ASP v2.0
Provider MSDAORA
Application pool allows 32 bit apps
Path:C:\Oracle\product\11.2.0\dbhome_1\NETWORK\ADMIN;C:\ProgramData\Oracle\Java\javapath;C:\Oracle\product\11.2.0\dbhome_1\bin;C:\Oracle\product\11.2.0\client_1\bin;...
System has registered ORACLE_HOME key for ASP 2.0 as C:\Oracle\product\11.2.0\client_1\
The system is on production, web pages are compiled.
I solved it by checking and configuring a DNS entry on ODBC Manager. The DNS must point to my oracle client folder.

oracle client for windows 8 64bit

I am developing an app in Delphi 2010 that needs to communicate with remote Oracle 11g database. Therefore I use the ADODB components.
Everything is fine, as far as I am working on my desktop that has Windows 7 32-bit installed.
Problems started when I tried to deploy the app on Windows 7 64-bit with 64-bit Oracle Client installed. Luckily installing 32-bit client helped.
Unfortunately now I have to install it on my notebook with Windows 8 64-bit. None of the clients is working. I have already tried installing 64-bit client, 32-bit client, reinstalling both of them, installing then by OUI and manually, but without success.
Did anyone encounter this problem yet and managed to solve it?
The problem is on .dll of connection of Delphi odbc. We has the same problems with C++Builder (Delphis Like). Odbc client .dll for oracle connections is developed only for 32 bits.
Unitl then we only can connect to server 64bits with client 32bits. 64 bits server and 64 bits clients dont work. Unless you find thirdpartner odbc component, who doesn't use a native odbc .dll. We tried to use SQLDirect, but doesn't work well in firsts versions.
Best Regards,
Diogo Maschio

Using Oracle DB from C#-VS2005

Oracle installed on the server is 10.2.0.3 Enterprise Edition 64bit (10g).
ODAC is showing version as 10.2.0.2.20 is on a Windows 2008 x64 machine.
Error I run into when I run my app in my test environment in above machine is
The type initializer for 'Oracle.DataAccess.Client.OracleConnection' threw an exception.
I tried using .Net Oracle namespace and I get this using a version from
C:\Windows\Microsoft.NET\Framework64\v2.0.50727
Error:
Oracle client libraries threw BadImageFormatException. This problem will occur when running in 64 bit mode with the 32 bit Oracle client components installed.
Anyone run into such an issue?
Also what is the right Oracle Client/ODAC to use on Windows 2008 x64 machine? Anyonen have a link?
You seem to have installed the 32 bits Oracle client, or you must have a 32 dll masking your 64bits client. You need to install the 64bits client so that 64 bits dll can be accessed by your app. Look for an oci*.dll in your path.
Also look into the registry under hklm\software\oracle to see how many 'homes' you have.
Finally if you have toad on that client look at the home selector in the connection dialog box. It will show incomplete or inoperative homes in red.

Anybody seen this behavior with Sql Server Reporting Services, a 64bit OS and an Oracle datasource?

I'm working on a Sql Server Reporting Services solution that queries across both a Sql Server data source and an Oracle 10g data source. My dev box is Windows 7 64bit with Sql Server 2008R2 and I'm hosting IIS7 and SSRS on that system for development; using VS.NET for designing the reports.
I have been having errors when running the report where SSRS complains about loading the 32 bit Oracle client in a 64bit process. There a number of threads out there about how to solve that. The thing is, they all come down to making sure you have the 64bit Oracle, client which I do. The weird chain of events I have goes like this:
Create initial Oracle datasource and wire up report (it works)
Edit Oracle datasource connection (it stops working with BadImageFormatException 32bit/64bit error message)
uninstall and reinstall Oracle client (it works)
Edit Oracle connection again (it stops working with BadImageFormatException 32bit/64bit error message)
So short of reinstalling the client every time I change the connection string I am at a complete loss. Has anybody seen this sort of behavior? And if so what the heck am I doing wrong?
Originally answered here: SSRS report with 32-bit Oracle Client Not working in 64-Bit Environment
This is the second time I configure a similar server, and the second time I spend hours figuring this one out. If for nobody else, I am writing this for the future me. This is for a Windows Server 2012 R2 64bit, 8GB RAM, 300+GB HDD, Intel Xeon CPU E5620 # 2.40GHz, that is running Microsoft SQL Server Reporting Services 2012 64bit and IIS 7.0 with web applications that use the Oracle Client 32bit connection System.Data.OracleClient
Install the 64bit client
Change the name of the Oracle inventory directory # "C:\Program Files\Oracle" to "C:\Program Files\Oracle64"
Restart computer and test for connection from SSRS to Oracle
Install the 32bit client and specify a different location for its home directory
Restart computer and test connection from SSRS to Oracle and from Web Applications to Oracle
I hope this helps my future self and others :)
You need to install 64 bit Oracle Client. Beware, i had bad experience on having both oracle 32 bit and 64 bit client. I ended up uninstalling 64 bit oracle client and trying to figure out installing SSRS in 32 bit mode on 64bit win7.

Resources