Solved

BadImageFormatException on configure a ORACLE 32 bits app on a IIS7

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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

The article shows the basic steps of integrating an HTML theme template into an ASP.NET MVC project
As tax season makes its return, so does the increase in cyber crime and tax refund phishing that comes with it
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an antispam), the admini…

680 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