473,421 Members | 1,500 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,421 software developers and data experts.

The located assembly's manifest definition with name '.....' does notmatch the assembly reference

JB
I have an ASP project written years ago that I have recently started
to try and update. It was written by someone who used to work here
before me, and the source code I have is in a major mess.

There is just one (of many) DLL file that once I recompile I get the
error mentioned above.

The located assembly's manifest definition with name '.....' does not
match the assembly reference (see snippet for full detail).

It appears as though the dll in question was encrypted with the strong
name utility, and hence trying to recompile from scratch without the
original .snk file means it is error'ing out. - At least that is the
view I get from the last line "WRN: Comparing the assembly name
resulted in the mismatch: PUBLIC KEY TOKEN"

From browsing around i've tried some of the things mentioned by other
people, deleting all other instances of the dll, deleting ASP
temporary files etc but none help

I have tried using the Microsoft utility 'Assembly Binding Log Viewer'
for more information but whatever I do it just gives a blank window.

So what are my options here? Without the original public or private
key can I proceed in any way? I dont have the source to all the dll's
anymore, and I'm not sure which ones are trying to call it in the
first place, hence re-compiling them with a new reference may or may
not be possible.

-
=== Pre-bind state information ===
LOG: DisplayName = Assembly.Name, Version=1.0.0.25, Culture=neutral,
PublicKeyToken=3e7d32b8a670fd2a
(Fully-specified)
LOG: Appbase = file:///D:/Dpr/Vision/
LOG: Initial PrivatePath = bin
Calling assembly : (Unknown).
===

LOG: Publisher policy file is not found.
LOG: No redirect found in host configuration file (c:\windows
\microsoft.net\framework\v1.1.4322\aspnet.config).
LOG: Using machine configuration file from C:\WINDOWS\Microsoft.NET
\Framework\v1.1.4322\config\machine.config.
LOG: Post-policy reference: Assembly.Name, Version=1.0.0.25,
Culture=neutral, PublicKeyToken=3e7d32b8a670fd2a
LOG: Attempting download of new URL file:///c:/windows/microsoft.net/framework/v1.1.4322/Temporary
ASP.NET Files/informationmanagementsystemfacade/50e4354a/116b7f82/
Assembly.Name.DLL.
LOG: Attempting download of new URL file:///c:/windows/microsoft.net/framework/v1.1.4322/Temporary
ASP.NET Files/informationmanagementsystemfacade/50e4354a/116b7f82/
Assembly.Name.Bll/Assembly.Name.DLL.
LOG: Attempting download of new URL file:///D:/Dpr/Vision/Assembly.Name.Bll.DLL.
WRN: Comparing the assembly name resulted in the mismatch: PUBLIC KEY
TOKEN
Jun 27 '08 #1
0 1357

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Bob Rock | last post by:
Hello, I'm getting the following error when I update a referenced assembly, but not recompile my client application project: "The located assembly's manifest definition with name 'xxxxxx' does...
3
by: Atul Godbole | last post by:
Suppose an assembly "Main" is using class "A" from another Assembly "Dep" as follows : A a = new A(); a.MethodOne(); At what time is the call to MethodOne linked to the actual MSIL (method...
5
by: Chris Fink | last post by:
Using the GacUtil I created a SNK and deployed my assembly to the GAC using the GACUTIL. When browsing to c:\\Assembly I can see my custom assembly. However, how do I use it in a new project? I...
3
by: Richard Lewis Haggard | last post by:
I'm getting an error that should be easy but I don't understand the info structure well enough to know what's going wrong. I've been slowly adding classes and projects to a solution for a while....
1
by: Richard Lewis Haggard | last post by:
I'm having a problem with what appears to be some sort of confusion with references. I have a single solution with a dozen projects which has been working quite nicely for a while. The references...
1
by: cowznofsky | last post by:
does not match the assembly reference. That's the error I get when trying to compile any of my projects. I'm in VS2005. I think it has something to do with the .NET version. I had recently...
0
by: =?Utf-8?B?Q29saXZpZXI=?= | last post by:
If anyone can help me with this I would really appreciate it: I have an assembly into which I have linked a manifest file as a Win32 resource. This is necessary since I want to use a class in this...
2
by: Monty | last post by:
I'm sure I'm missing something very obvious here, but... I have an ASP.Net web application project (VS2005) that is compiled into a single DLL. I created a setup and deployment package and set it...
2
by: Febria | last post by:
Dear, all... I have some problem with my application. I used UltraWebGrid component in my web application. Unfortunately, when I tried to run the web, the error page displayed: The located...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.