Solved

ASP.NET project reference and assemblies problem.

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

Instantly Create Instructional Tutorials

Contextual Guidance at the moment of need helps your employees adopt to new software or processes instantly. Boost knowledge retention and employee engagement step-by-step with one easy solution.

Question has a verified solution.

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

IntroductionWhile developing web applications, a single page might contain many regions and each region might contain many number of controls with the capability to perform  postback. Many times you might need to perform some action on an ASP.NET po…
For those of you who don't follow the news, or just happen to live under rocks, Microsoft Research released a beta SDK (http://www.microsoft.com/en-us/download/details.aspx?id=27876) for the Xbox 360 Kinect. If you don't know what a Kinect is (http:…
Michael from AdRem Software explains how to view the most utilized and worst performing nodes in your network, by accessing the Top Charts view in NetCrunch network monitor (https://www.adremsoft.com/). Top Charts is a view in which you can set seve…
If you’ve ever visited a web page and noticed a cool font that you really liked the look of, but couldn’t figure out which font it was so that you could use it for your own work, then this video is for you! In this Micro Tutorial, you'll learn yo…

690 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