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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T06:40:41+00:00 2026-06-12T06:40:41+00:00

I had a problem loading a .dll which I subsequently fixed – the application

  • 0

I had a problem loading a .dll which I subsequently fixed – the application runs just fine.

The problem I am having is in Visual Studio 2010. When I open a view page, the top line with the class details:

<%@ Control Language="C#" Inherits="System.Web.Mvc.ViewUserControl<TPS.Models.CashCarrierCoverViewModel>" %>

has a blue error underline, and it tells me that this old problem is still a problem, namely:

“Could not load file or assembly X or one of its dependencies. An attempt was made to load a program with an incorrect format.”

The original problem was x86 vs x64 issue – now resolved. But this error still occurs on the view pages which means I can’t develop with Intellisense. This is obviously unworkable.

Most searches on this error deal with the original problem, not this Visual Studio error. I’ve triple checked I have the right .dll, confirmed by app working, I’ve confirmed it’s copied into the bin folder. I’ve restarted VS 2010, I’ve rebooted the PC.

  • 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-06-12T06:40:42+00:00Added an answer on June 12, 2026 at 6:40 am

    I solved it.

    The assembly that was causing the trouble was Oracle.DataAccess. After reading this post, I decided to use the Oracle installer to uninstall the x64 and x86 versions (I mistakenly installed x86 first, which apprently caused the error to begin with). I then reinstalled the x64 version. I did a ReBuild, a Clean, deleted the items in the solution obj folder, then restarted the PC. When I started Visual Studio it appeared to do some reloading of intellisense which took a few seconds after which it was all fixed.

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

Sidebar

Related Questions

I had a Problem to use DotNet 4.0 DLL in a DotNet 2.0 Application,
Had a problem with the recursive conflictCheck() method. That seems fine now. I have
In my application , i had wierd problem that when app goes background (press
I had this same problem last week, which resolved itself after I enabled impersonation.
I'm fairly new to C#, and am having a problem when loading a library
Hello everyone I've never had a problem which i cant solve with google... So
I had the (in)famous problem with hibernate and lazy loading when views are rendered....
Just wanted to stop by and ask if anybody has had this problem. I’m
I posted earlier (and received valid answers, thanks) about a problem I had loading
I've been having trouble loading this DLL, so I opened it up in Dependency

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.