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

  • SEARCH
  • Home
  • 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 1087673
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 16, 20262026-05-16T22:58:10+00:00 2026-05-16T22:58:10+00:00

I have a small command line app that uses the Oracle client (specifically, Oracle.DataAccess).

  • 0

I have a small command line app that uses the Oracle client (specifically, Oracle.DataAccess). I have version 2.11.7.20 installed on my development machine but the server the app will eventually run on has version 2.11.7.0. When I try to run the app on the server, it fails stating it can’t find the dll or one of its dependencies (the located assembly’s manifest definition does not match the assembly reference).

I copied the Oracle.DataAccess.dll from the server onto my machine, changed the project to reference it instead, and recompiled. It now runs properly on the server.

But, there must be a cleaner way of handling version problems like this, especially something as minor as x.x.x.0 to x.x.x.20. I have been developing in ASP.NET for years, where you can just alter the references to the assembly in web.config to sort out issues like this, but this is my first “desktop” application and have no idea what to do. I tried setting “Specific Version” to false under the properties in Visual Studio for the referenced assembly but it didn’t seem to do anything. I also tried adding an assemblyBinding to the app.config file but that caused the app to crash immediately.

<runtime>    
  <assemblyBinding> 
    <dependentAssembly> 
      <assemblyIdentity name="Oracle.DataAccess" 
                              publicKeyToken="89b483f429c47342" /> 
      <bindingRedirect oldVersion="2.111.7.20" 
                             newVersion="2.111.7.0"/> 
    </dependentAssembly>         
  </assemblyBinding> 
</runtime>

EDIT: D’oh, I put the runtime section as the first block in app.config instead of after configSections. The app no longer crashes, but I still get the same 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-16T22:58:10+00:00Added an answer on May 16, 2026 at 10:58 pm

    D’oh again. I left the xmlns off of the assemblyBinding; when I put it on, everything worked perfectly. So…you can use bindingRedirect to go backwards version-wise.

      <runtime>
        <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
          <dependentAssembly>
            <assemblyIdentity name="Oracle.DataAccess"
                              publicKeyToken="89b483f429c47342" culture="neutral" />
            <bindingRedirect oldVersion="2.111.7.20"
                             newVersion="2.111.7.0"/>
          </dependentAssembly>
        </assemblyBinding>
      </runtime>
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a small app that a client uses to manually update some data.
I have a small command line program that uses the Team System API. When
I have a small command-line application written in C that acts as a wrapper/launcher
I used to have a small chat app(which was almost working), that uses PHP,
I have a small app on Heroku's cedar stack that uses two processes. One
I have a small command line utility project that I'm using Maven to manage.
I have a module that needs to run a small .Net command-line program to
I have a little experience developing small command-line applications with Python. I want to
I have a small command line tool and after running it, I'd like to
I have implemented a small command line interface using JewelCLI and it creates an

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.