Hmm, what if you remove the reference, and add it again?
It definitely looks like .NET is looking for another library than the
one it finds.
Btw, I don't know if it's ok to change the filename of an assembly.
Greetings,
Wessel
-----Original Message-----
From: dhnriverside [mailto:da*@muso swire.com]
Posted At: Sunday, April 10, 2005 12:57 PM
Posted To: microsoft.publi c.dotnet.framew ork.aspnet
Conversation: my namespace wont reference!
Subject: Re: my namespace wont reference!
Nope, doesnt seem to. I've jsut changed the class file name etc, and
rebuilt,
still same error.
Here's the full error...
Configuration Error
Description: An error occurred during the processing of a configuration
file
required to service this request. Please review the specific error
details
below and modify your configuration file appropriately.
Parser Error Message: The located assembly's manifest definition with
name
'HudsonNash.Uti ls.Security' does not match the assembly reference.
Source Error:
Line 256: <add assembly="Syste m.EnterpriseSer vices,
Version=1.0.500 0.0, Culture=neutral , PublicKeyToken= b03f5f7f11d50a3 a"/>
Line 257: <add assembly="Syste m.Web.Mobile,
Version=1.0.500 0.0, Culture=neutral , PublicKeyToken= b03f5f7f11d50a3 a"/>
Line 258: <add assembly="*"/>
Line 259: </assemblies>
Line 260:
Source File:
f:\winnt\micros oft.net\framewo rk\v1.1.4322\Co nfig\machine.co nfig
Line: 258
Assembly Load Trace: The following information can be helpful to
determine
why the assembly 'HudsonNash.Uti ls.Security' could not be loaded.
=== Pre-bind state information ===
LOG: DisplayName = HudsonNash.Util s.Security
(Partial)
LOG: Appbase = file:///D:/MSW_SERVER/BandSeeker.net
LOG: Initial PrivatePath = bin
Calling assembly : (Unknown).
===
LOG: Policy not being applied to reference at this time (private,
custom,
partial, or location-based assembly bind).
LOG: Post-policy reference: HudsonNash.Util s.Security
LOG: Attempting download of new URL
file:///F:/WINNT/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET
Files/bandseeker.net/94d267a7/e4b4fef/HudsonNash.Util s.Security.DLL.
LOG: Attempting download of new URL
file:///F:/WINNT/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET
Files/bandseeker.net/94d267a7/e4b4fef/HudsonNash.Util s.Security/HudsonNa
sh.Utils.Securi ty.DLL.
LOG: Attempting download of new URL
file:///D:/MSW_SERVER/BandSeeker.net/bin/HudsonNash.Util s.Security.DLL.
WRN: Comparing the assembly name resulted in the mismatch: NAME
Any ideas?!
Cheers, Dan.
"Wessel Troost" wrote:
It might mean you have updated the library, but not the reference to
it.
Does it help if you refresh the reference?
Greetings,
Wessel
-----Original Message-----
From: dhnriverside [mailto:da*@muso swire.com]
Posted At: Sunday, April 10, 2005 9:01 AM
Posted To: microsoft.publi c.dotnet.framew ork.aspnet
Conversation: my namespace wont reference!
Subject: my namespace wont reference!
HI guys
I've just written my first independent namespace for my library (yay
me!).
However, on trying to add it to my website project, it causes an error
when I
look at the website. It compiles ok though...
The error message is...
"The located assembly's manifest definition with name
'HudsonNash.Uti ls.Security' does not match the assembly reference"
What's it tryin to tell me?!
Cheers
Dan