472,328 Members | 2,084 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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

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
Nov 19 '05 #1
4 1795
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*@musoswire.com]
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

Nov 19 '05 #2
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" 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*@musoswire.com]
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

Nov 19 '05 #3
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*@musoswire.com]
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" 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*@musoswire.com]
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


Nov 19 '05 #4
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" wrote:
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*@musoswire.com]
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" 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*@musoswire.com]
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


Nov 19 '05 #5

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

Similar topics

3
by: SC | last post by:
i have 2 separate projects: 1) Project A: Class library, written in VB.NET; It's namespace is explicitly defined in the code like: Namespace...
4
by: Peter Speybrouck | last post by:
I have a little problem with a webservice. I reproduced the problem in the following simplified example. I just create a new C# ASP.NET...
6
by: ryan.d.rembaum | last post by:
Hello, I have code that I wish to use in many web applications. Basically sort of stand utility stuff. So from Visual Studio Project I select...
1
by: Phill. W | last post by:
Having changed a VB.Net(2003) DLL project, I'm getting Type Loading problems in other code that uses my DLL. In my source code, I have a Namespace...
9
by: Buz Waitz | last post by:
I'm a newbie. I've created a datalayer class which I creatively called sqlAccess and placed in a namespace I just as creatively called...
29
by: Tiraman | last post by:
Hi, I Build my own dll with my own namespace name and i would like to put it in one place but for the project bin folder so all of the projects...
12
by: Robby | last post by:
Is it possible to save an entire namespace in some way? For example, say I have this namespace: foo.h...
1
by: Ken Newman | last post by:
I need to code my SOAP Header to have a prefix for the SOAP Header namespace. The server I communicate sends replies with the SOAP Header...
1
by: WestyCHC | last post by:
Morning all from a newbie. I have recently written an automation program (my first ever program) for testing and now I am trying to read XML data...
0
by: tammygombez | last post by:
Hey everyone! I've been researching gaming laptops lately, and I must say, they can get pretty expensive. However, I've come across some great...
0
better678
by: better678 | last post by:
Question: Discuss your understanding of the Java platform. Is the statement "Java is interpreted" correct? Answer: Java is an object-oriented...
0
by: teenabhardwaj | last post by:
How would one discover a valid source for learning news, comfort, and help for engineering designs? Covering through piles of books takes a lot of...
0
by: Kemmylinns12 | last post by:
Blockchain technology has emerged as a transformative force in the business world, offering unprecedented opportunities for innovation and...
0
by: CD Tom | last post by:
This happens in runtime 2013 and 2016. When a report is run and then closed a toolbar shows up and the only way to get it to go away is to right...
0
by: Naresh1 | last post by:
What is WebLogic Admin Training? WebLogic Admin Training is a specialized program designed to equip individuals with the skills and knowledge...
0
by: antdb | last post by:
Ⅰ. Advantage of AntDB: hyper-convergence + streaming processing engine In the overall architecture, a new "hyper-convergence" concept was...
1
by: Matthew3360 | last post by:
Hi, I have a python app that i want to be able to get variables from a php page on my webserver. My python app is on my computer. How would I make it...
0
by: AndyPSV | last post by:
HOW CAN I CREATE AN AI with an .executable file that would suck all files in the folder and on my computerHOW CAN I CREATE AN AI with an .executable...

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.