Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

ASP .NET  Assembly Reference Mismatch

Posted on 2011-09-02
5
Medium Priority
?
302 Views
Last Modified: 2012-05-12
I am running a web application in Visual Studio 2010.  I recently started to get the assembly reference mismatch exception at runtime:

Could not load file or assembly '...' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference.

It's looking for an assemply with version Version=3.0.98.0.  The assemply I that I have locally has a version number 3.0.102.0.  Tried to remove the old references and rebuild, but it does not go away.

I had similar issues previously, and removing old references and rebuilding helped in the past, but not now.

How can I fix this?

Thank you.

 
0
Comment
Question by:Mare22
[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
  • 3
5 Comments
 
LVL 16

Expert Comment

by:Vikram Singh Saini
ID: 36477041
0
 
LVL 12

Expert Comment

by:FarWest
ID: 36477064
try to change the target framework, in compile option
0
 

Accepted Solution

by:
Mare22 earned 0 total points
ID: 36481598
vs00saini,

I did read that article - it's one of the first that comes up.  It deals with some special cases, limke Fusion.  Did not help.

fryezz, good thinking, thank you, I did check the target framework, but it was not my issue.

It seems that the dll under question did not get copied to bin during compilation.  All I had to do was to manually delete everything from bin and recompile.
0
 

Author Closing Comment

by:Mare22
ID: 36508914
The suggested solution did not work for me.
0
 

Author Comment

by:Mare22
ID: 36481624
The previously suggested solutions did not work for me.
0

Featured Post

Enroll in September's Course of the Month

This month’s featured course covers 16 hours of training in installation, management, and deployment of VMware vSphere virtualization environments. It's free for Premium Members, Team Accounts, and Qualified Experts!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Today is the age of broadband.  More and more people are going this route determined to experience the web and it’s multitude of services as quickly and painlessly as possible. Coupled with the move to broadband, people are experiencing the web via …
IntroductionWhile developing web applications, a single page might contain many regions and each region might contain many number of controls with the capability to perform  postback. Many times you might need to perform some action on an ASP.NET po…
In this brief tutorial Pawel from AdRem Software explains how you can quickly find out which services are running on your network, or what are the IP addresses of servers responsible for each service. Software used is freeware NetCrunch Tools (https…
Do you want to know how to make a graph with Microsoft Access? First, create a query with the data for the chart. Then make a blank form and add a chart control. This video also shows how to change what data is displayed on the graph as well as form…
Suggested Courses

715 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