Solved

BadImageFormatException on configure a ORACLE 32 bits app on a IIS7

Posted on 2013-01-21
2
358 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

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.…
When it comes to showing a 404 error page to your visitors, you do not want that generic page to show, and you especially do not want your hosting provider’s ad error page to show either. In this article, I will show you how to enable the custom 40…
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

734 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