473,503 Members | 3,715 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 1860
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
1422
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 MyCompany.Project.ClassesA .... End Namespace ...
4
2402
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 webservice and a c# console application. I added a new...
6
3395
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 add a component and chose Component Class. Lets...
1
2034
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 Statement something like this: Namespace...
9
1313
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 MyDomain.DataAccessLayer. (Well now, I didn't actually use...
29
1823
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 will be able to use it . i tried to put the dll...
12
1452
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 ================================================== namespace foo { int testVar1; int...
1
3201
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 namespace and xml tags qualified with a prefix and the...
1
2805
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 and assign the values to variables (rather than...
0
7192
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7064
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
7315
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
6974
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
7445
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
4665
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...
0
3158
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
1492
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
721
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.