Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6006555
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T01:33:22+00:00 2026-05-23T01:33:22+00:00

I have installed the Oracle Client for the 64 bit machine using the XCopy

  • 0

I have installed the Oracle Client for the 64 bit machine using the XCopy 11.2 provided by Oracle (Installed everything as per the read me instructions).

I am using Visual Studio 2010 and the project is of type ASP.NET Website.

When I tried to execute my ASP.NET Website using the Oracle Connection installed above..it is giving me the error from the web.config file during compile time.

**

“Could not load file or assembly
‘Oracle.DataAccess, Version=4.112.2.0,
Culture=neutral,
PublicKeyToken=89b483f429c47342’ or
one of its dependencies. The system
cannot find the file specified”

**

It worked if I changed the value of Enable 32-Bit Applications to True in IIS App pool.

But my requirement is to make it work on 64 bit machine with 64 bit ODP.NET connector, So I do not want to change the value of Enable 32-Bit Applications to True.

So, If you could please help me finding an answer that would be greatly appreciated. Please help me fixing the above error.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-23T01:33:22+00:00Added an answer on May 23, 2026 at 1:33 am

    The best possibility to handle this is to use the x86 version locally with Visual Studio and x64 version on the server with IIS.
    To do this you have to download both versions – copy one in folder lib\x86 and the other in lib\x64
    After this you have to modify the project file(s) – visual studio supports conditional references. Add following section to your project file:

    <PropertyGroup>
         <ReferencesPath Condition=" '$(Platform)' == 'x86' ">..\Lib\x86</ReferencesPath>
         <ReferencesPath Condition=" '$(Platform)' == 'x64' ">..\Lib\x64</ReferencesPath>
    </PropertyGroup>
    

    After this reference the odp.net assmebly like this:

    <Reference ... processorArchitecture=$(Platform)">
       <SpecificVersion>False</SpecificVersion>
       <HintPath>$(ReferencesPath)\Oracle.DataAccess.dll</HintPath>
       <Private>True</Private>
    </Reference>
    

    This way when you can build locally as x86 and on the server x64 and always the correct version of Oracle.DataAccess.dll will be referenced.

    Alternatively if you only want to use the x64 version than you have to stick to IIS even you work locally OR you could try to run the open source version of Cassini in x64 mode (http://cassinidev.codeplex.com).

    For me the best possibility is to reference both versions as described above – this has been working fine for everyone on my team for a while now.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have installed and setup RubyCAS-Server and RubyCAS-Client on my machine. Login works perfectly
I have installed Visual Studio 2008 and patch it with SP1. However, I cannot
I have installed: Visual C# 2008 Express Visual Web Developer 2008 Express Visual Studio
I have the Oracle client, weblogic and the SOA suite 11g installed on a
I have Oracle SQL Developer already installed and am able to connect to and
I have installed Delphi Prism and XNA Game Studio 3.0. I have managed to
I am running a windows machine have installed Python 2.5. I also used the
I have installed Oracle 10g in one of my office's computer. I want to
I have a small command line app that uses the Oracle client (specifically, Oracle.DataAccess).
I have a visual studio solution with an ASP.NET 3.5 web application (WCF host)

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.