Solved

ASP.NET project reference and assemblies problem.

Posted on 2008-10-01
5
1,189 Views
Last Modified: 2013-12-17
I recently recompiled part of the CyberSource API because I was getting a strange error. After deleting the old reference and adding a reference to the recompiled DLL file, I got this error and I can't seem to get rid of it:

" Could not load file or assembly 'SoapClient, Version=5.0.2.0, Culture=neutral, PublicKeyToken=7091342136fdb0df' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)"

I've deleted all references to this DLL in all referenced projects and readded them, pointing to the new, recompiled DLL. I've even deleted ALL occurrences of the .dll on all my hard drives, and recompiled a new version.

My reference is in a web service running under asp.net 2.0. The .DLL is compiled under .NET 1.1. My colleagues have had no problems doing the exact same thing on their systems.

I am totally out of ideas. Any help would be greatly apreciated.

Best Regards,
Alex Percsi.
0
Comment
Question by:alexpercsi
  • 2
5 Comments
 
LVL 9

Expert Comment

by:gdupadhyay
ID: 22630791
Did you uninstall and install the same assembly from GAC?
0
 
LVL 7

Author Comment

by:alexpercsi
ID: 22631101
The assembly was not in the GAC, best as I can tell. Could you give me a walk through on how to do this?
0
 
LVL 9

Accepted Solution

by:
gdupadhyay earned 500 total points
ID: 22634846
There is a utility called gacutil.exe. Please use this to install or unstall the assembly from GAC.

Please read this article
http://msdn.microsoft.com/en-us/library/ex0ss12c(VS.80).aspx
I hope it will help u.

Let me know if you have some question.
0

Featured Post

Active Directory Webinar

We all know we need to protect and secure our privileges, but where to start? Join Experts Exchange and ManageEngine on Tuesday, April 11, 2017 10:00 AM PDT to learn how to track and secure privileged users in Active Directory.

Question has a verified solution.

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

International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
The article shows the basic steps of integrating an HTML theme template into an ASP.NET MVC project
Established in 1997, Technology Architects has become one of the most reputable technology solutions companies in the country. TA have been providing businesses with cost effective state-of-the-art solutions and unparalleled service that is designed…

820 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