Solved

ASP .NET  Assembly Reference Mismatch

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

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…
Introduction This article shows how to use the open source plupload control to upload multiple images. The images are resized on the client side before uploading and the upload is done in chunks. Background I had to provide a way for user…
This Micro Tutorial demonstrates using Microsoft Excel pivot tables, how to reverse engineer competitors' marketing strategies through backlinks.
Internet Business Fax to Email Made Easy - With  eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, f…

867 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

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now