my namespace wont reference!

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

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.Utils.Security' does not match the assembly reference"

What's it tryin to tell me?!

Cheers


Dan
 
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:[email protected]]
Posted At: Sunday, April 10, 2005 9:01 AM
Posted To: microsoft.public.dotnet.framework.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.Utils.Security' does not match the assembly reference"

What's it tryin to tell me?!

Cheers


Dan
 
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.Utils.Security' does not match the assembly reference.

Source Error:


Line 256: <add assembly="System.EnterpriseServices,
Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"/>
Line 257: <add assembly="System.Web.Mobile,
Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"/>
Line 258: <add assembly="*"/>
Line 259: </assemblies>
Line 260:


Source File:
f:\winnt\microsoft.net\framework\v1.1.4322\Config\machine.config Line: 258

Assembly Load Trace: The following information can be helpful to determine
why the assembly 'HudsonNash.Utils.Security' could not be loaded.


=== Pre-bind state information ===
LOG: DisplayName = HudsonNash.Utils.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.Utils.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.Utils.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.Utils.Security/HudsonNash.Utils.Security.DLL.
LOG: Attempting download of new URL
file:///D:/MSW_SERVER/BandSeeker.net/bin/HudsonNash.Utils.Security.DLL.
WRN: Comparing the assembly name resulted in the mismatch: NAME


Any ideas?!

Cheers, Dan.

Wessel Troost said:
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:[email protected]]
Posted At: Sunday, April 10, 2005 9:01 AM
Posted To: microsoft.public.dotnet.framework.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.Utils.Security' does not match the assembly reference"

What's it tryin to tell me?!

Cheers


Dan
 
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:[email protected]]
Posted At: Sunday, April 10, 2005 12:57 PM
Posted To: microsoft.public.dotnet.framework.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.Utils.Security' does not match the assembly reference.

Source Error:


Line 256: <add assembly="System.EnterpriseServices,
Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"/>
Line 257: <add assembly="System.Web.Mobile,
Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"/>
Line 258: <add assembly="*"/>
Line 259: </assemblies>
Line 260:


Source File:
f:\winnt\microsoft.net\framework\v1.1.4322\Config\machine.config
Line: 258

Assembly Load Trace: The following information can be helpful to
determine
why the assembly 'HudsonNash.Utils.Security' could not be loaded.


=== Pre-bind state information ===
LOG: DisplayName = HudsonNash.Utils.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.Utils.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.Utils.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.Utils.Security/HudsonNa
sh.Utils.Security.DLL.
LOG: Attempting download of new URL
file:///D:/MSW_SERVER/BandSeeker.net/bin/HudsonNash.Utils.Security.DLL.
WRN: Comparing the assembly name resulted in the mismatch: NAME


Any ideas?!

Cheers, Dan.

Wessel Troost said:
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:[email protected]]
Posted At: Sunday, April 10, 2005 9:01 AM
Posted To: microsoft.public.dotnet.framework.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.Utils.Security' does not match the assembly reference"

What's it tryin to tell me?!

Cheers


Dan
 
Tried removing and recompiling.

I did one last nite where I renamed the DLL after building and that seemed
to be working fine.

Any other ideas? Short of starting again?! :P


Wessel Troost said:
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:[email protected]]
Posted At: Sunday, April 10, 2005 12:57 PM
Posted To: microsoft.public.dotnet.framework.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.Utils.Security' does not match the assembly reference.

Source Error:


Line 256: <add assembly="System.EnterpriseServices,
Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"/>
Line 257: <add assembly="System.Web.Mobile,
Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"/>
Line 258: <add assembly="*"/>
Line 259: </assemblies>
Line 260:


Source File:
f:\winnt\microsoft.net\framework\v1.1.4322\Config\machine.config
Line: 258

Assembly Load Trace: The following information can be helpful to
determine
why the assembly 'HudsonNash.Utils.Security' could not be loaded.


=== Pre-bind state information ===
LOG: DisplayName = HudsonNash.Utils.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.Utils.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.Utils.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.Utils.Security/HudsonNa
sh.Utils.Security.DLL.
LOG: Attempting download of new URL
file:///D:/MSW_SERVER/BandSeeker.net/bin/HudsonNash.Utils.Security.DLL.
WRN: Comparing the assembly name resulted in the mismatch: NAME


Any ideas?!

Cheers, Dan.

Wessel Troost said:
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:[email protected]]
Posted At: Sunday, April 10, 2005 9:01 AM
Posted To: microsoft.public.dotnet.framework.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.Utils.Security' does not match the assembly reference"

What's it tryin to tell me?!

Cheers


Dan
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top