Solved

ASP.NET project reference and assemblies problem.

Posted on 2008-10-01
5
1,182 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
Comment Utility
Did you uninstall and install the same assembly from GAC?
0
 
LVL 7

Author Comment

by:alexpercsi
Comment Utility
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
Comment Utility
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

Better Security Awareness With Threat Intelligence

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

Join & Write a Comment

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…
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…
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, Just open a new email message.  In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…

772 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

15 Experts available now in Live!

Get 1:1 Help Now