Solved

BadImageFormatException on configure a ORACLE 32 bits app on a IIS7

Posted on 2013-01-21
2
350 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 28

Accepted Solution

by:
becraig earned 500 total points
Comment Utility
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
Comment Utility
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

What Should I Do With This Threat Intelligence?

Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

Join & Write a Comment

Suggested Solutions

Running classic asp applications under Windows Server 2008 R2 (x64) and IIS 7 is not as easy as one may think. It took me a while to figure it out while getting error 8002801d a few times. After you install the OS you will need to install the fol…
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…
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

772 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

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now