Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

BadImageFormatException on configure a ORACLE 32 bits app on a IIS7

Posted on 2013-01-21
2
Medium Priority
?
364 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 1500 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

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Question has a verified solution.

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

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…
As tax season makes its return, so does the increase in cyber crime and tax refund phishing that comes with it
Please read the paragraph below before following the instructions in the video — there are important caveats in the paragraph that I did not mention in the video. If your PaperPort 12 or PaperPort 14 is failing to start, or crashing, or hanging, …
Look below the covers at a subform control , and the form that is inside it. Explore properties and see how easy it is to aggregate, get statistics, and synchronize results for your data. A Microsoft Access subform is used to show relevant calcul…
Suggested Courses

916 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