Solved

ASP .NET  Assembly Reference Mismatch

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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

In an ASP.NET application, I faced some technical problems. In this article, I list them out and show the solutions that I found.  I hope it will be useful. Problem: After closing a pop-up window, the parent page should be refreshed automaticall…
It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
In this video, viewers will be given step by step instructions on adjusting mouse, pointer and cursor visibility in Microsoft Windows 10. The video seeks to educate those who are struggling with the new Windows 10 Graphical User Interface. Change Cu…
Add bar graphs to Access queries using Unicode block characters. Graphs appear on every record in the color you want. Give life to numbers. Hopes this gives you ideas on visualizing your data in new ways ~ Create a calculated field in a query: …

623 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