473,734 Members | 2,211 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.Uti ls.Security' does not match the assembly reference"

What's it tryin to tell me?!

Cheers
Dan
Nov 19 '05 #1
4 1872
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

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.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/HudsonNash.Util s.Security.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

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*@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


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*@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


Nov 19 '05 #5

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

Similar topics

3
1431
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 2) Project B: Classes written in C#. It looks like:
4
2417
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 class test to the namespace of the webservice which I try to access from the console application. //Service1.asmx.cs
6
3409
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 say I enter code at the end of this question in to the code section. How then would I reference this in a new Web Application (or in the same web application for that matter?)
1
2056
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 XYZ.AProject but when I build the DLL project and open the resulting DLL up in ILDASM, the Namespace has been *translated* to "XYZ.Aproject".
9
1320
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 "MyDomain" but you know how that works.) And now I'm working on the business logic layer. When I import the namespace, intellisense completes the name for me, accurately, but then I get the squiggle of death that says, when I mouse over it,...
29
1874
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 in this place ----> c:\MyDlls\Test.dll And i wrote in my aspx file the following <%@ Import Namespace="Test.MyClass"%>
12
1473
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 testVar2
1
3240
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 deserializer wont recognize the prefix. All examples I can find of declaring the Namespace do not show how to declare with an explicit prefix. Thanks Ken Newman
1
2820
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 Excel). Using XPathNavigator I managed to read some of the data, but in order to do this I had to manually remove the attributes from the Parent Nodes. Going forward this isnt an option as we may be reading and running hundreds of files a day and so I...
0
8776
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
9449
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
9236
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9182
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
6735
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6031
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 then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4550
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 last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4809
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
3
2180
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.