Solved

BadImageFormatException on configure a ORACLE 32 bits app on a IIS7

Posted on 2013-01-21
2
353 Views
Last Modified: 2013-01-24
Dear Experts,

I have a 32 bits ASP.NET application that works with Oracle Data Client.

I'm in process to migrate this app (currently runs on a IIS6) to a new IIS7.

On the new server I have (I need to have) both 32 and 64 bits Oracle clients.

The problem is that when I try to load the app, a BadFormatException is raised from IIS7. The error is saying that I'm trying to load the 64 bits Oracle client, when I want to load 32 version.

How can config my app or "I don't know what" to use specifically the 32 bits client?

Thanks in advance.
0
Comment
Question by:david-marti
2 Comments
 
LVL 29

Accepted Solution

by:
becraig earned 500 total points
ID: 38800802
This sounds to be a problem with the oracle connector (possibly installed in x64 mode)
See the link below for a means to run 32 bit and 64 bit oracle side by side:
http://realfiction.net/go/153


I am assuming based on your post there are no issues with running 32 bit apps on your IIS server and you have already enabled 32bit apps for .net.
0
 

Author Comment

by:david-marti
ID: 38800818
Very interesting solution proposal ... I'll try it and come back here with the results.

You are right, I have enabled 32 bits flag on application pool.
0

Featured Post

VMware Disaster Recovery and Data Protection

In this expert guide, you’ll learn about the components of a Modern Data Center. You will use cases for the value-added capabilities of Veeam®, including combining backup and replication for VMware disaster recovery and using replication for data center migration.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

User art_snob (http://www.experts-exchange.com/M_6114203.html) encountered strange behavior of Android Web browser on his Mobile Web site. It took a while to find the true cause. It happens so, that the Android Web browser (at least up to OS ver. 2.…
Prologue It is often required to host multiple websites on a single instance of IIS, mostly in development environments instead of on production servers. I am sure it is not much a preferred solution on production servers but this is at least a pos…
This Micro Tutorial will teach you how to censor certain areas of your screen. The example in this video will show a little boy's face being blurred. This will be demonstrated using Adobe Premiere Pro CS6.
Established in 1997, Technology Architects has become one of the most reputable technology solutions companies in the country. TA have been providing businesses with cost effective state-of-the-art solutions and unparalleled service that is designed…

773 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question