Solved

ASP .NET  Assembly Reference Mismatch

Posted on 2011-09-02
5
298 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
  • 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

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

One of the pain points with developing AJAX, JavaScript, JQuery, and other client-side behaviors is that JavaScript doesn’t allow for cross domain request for pulling content. For example, JavaScript code on www.johnchapman.name could not pull conte…
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 …
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…

828 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