Solved

ASP.NET project reference and assemblies problem.

Posted on 2008-10-01
5
1,187 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

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
HTTPS jquery doesn't work 9 63
asp day pilot 3 20
ASP.net Show "please wait " message as page loads 2 42
imap read mail 1 29
This document covers how to connect to SQL Server and browse its contents.  It is meant for those new to Visual Studio and/or working with Microsoft SQL Server.  It is not a guide to building SQL Server database connections in your code.  This is mo…
User art_snob (http://www.experts-exchange.com/M_6114203.html) encountered strange behavior of Android Web browser on his Mobile Web site. It took a while to find the true cause. It happens so, that the Android Web browser (at least up to OS ver. 2.…
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

803 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