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 6082395
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T11:17:04+00:00 2026-05-23T11:17:04+00:00

I am working on an ASP.NET project, which uses C# for code-behind. It attempts

  • 0

I am working on an ASP.NET project, which uses C# for code-behind. It attempts to connect to an Oracle database using the following code, which already existed in the project when I began working on it:

OracleConnection myConnection = new OracleConnection();
myConnection.ConnectionString = ConfigurationManager.ConnectionStrings["OraFinCnString"].ConnectionString;
myConnection.Open();

The application runs locally (opens up in a browser on localhost), and attempts to connect to a remote Oracle Database. When I run it, the The last line above gives the following error:

“InvalidOperationException was unhandled by user code. Attempt to load Oracle client libraries threw BadImageFormatException. This problem will occur when running in 64 bit mode with the 32 bit Oracle client components installed.”

The connection string was provided by my client, so I presume it is correct, and this doesn’t seem like the sort of error that would be caused by incorrect connection information. But I’m pretty well stumped as to exactly what the problem is, and would appreciate any insight.

  • 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-23T11:17:04+00:00Added an answer on May 23, 2026 at 11:17 am

    Please take a look at the following link. You will need to Install Oracle 11g Oracle Data Access Components

    Oracle Provider

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

Sidebar

Related Questions

I'm working on an ASP .NET 2.0 site which uses a Web Application project
Working on an ASP.NET 4.0 project, which uses user controls to dynamically generate a
So I am working on a project which uses ASP.NET. I am trying to
I am working on big ASP.NET project(we using ASP.NET 3.5) which comprised of 5
I'm working on a Web project using Asp.Net MVC, which I'll have to deploy
I am working on an ASP.NET project which is physically located at C:\Projects\MyStuff\WebSite2. When
I've just started working on an ASP.NET project which I hope to open source
I'm working on an ASP.NET MVC 2 / .NET 3.5 project which includes SSRS
I'm working on an ASP.NET project using MVP architecture. We would like to use
We are working on a ASP.NET project and we are using the resx files

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.