?
Solved

ASP.NET project reference and assemblies problem.

Posted on 2008-10-01
5
Medium Priority
?
1,194 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
[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
  • 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 2000 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

The Orion Papers

Are you interested in becoming an AWS Certified Solutions Architect?

Discover a new interactive way of training for the exam.

Question has a verified solution.

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

ASP.Net to Oracle Connectivity Recently I had to develop an ASP.NET application connecting to an Oracle database.As I am doing it first time ,I had to solve several problems. This article will help to such developers  to develop an ASP.NET client…
A long time ago (May 2011), I have written an article showing you how to create a DLL using Visual Studio 2005 to be hosted in SQL Server 2005. That was valid at that time and it is still valid if you are still using these versions. You can still re…
This is my first video review of Microsoft Bookings, I will be doing a part two with a bit more information, but wanted to get this out to you folks.
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: …
Suggested Courses

762 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