473,473 Members | 1,546 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Help with Ent Lib error

Hi,
I am trying to use the data access dll in one of my projects and was
originally getting the error:

'Microsoft.Practices.EnterpriseLibrary.Data' does not have a strong
name.

I then followed instructions and gave the following assemblies strong name
using mycompany.snk

Microsoft.Practices.EnterpriseLibrary.Common.dll
Microsoft.Practices.EnterpriseLibrary.Configuratio n.dll
Microsoft.Practices.EnterpriseLibrary.Data.dll

I then complied each, which went successful. I the try to reference them
form my project using the following path respectively

C:\Program Files\Microsoft Enterprise Library June
2005\src\Common\obj\Debug\Microsoft.Practices.Ente rpriseLibrary.Common.dll

C:\Program Files\Microsoft Enterprise Library June
2005\src\Configuration\obj\Debug\Microsoft.Practic es.EnterpriseLibrary.Configuration.dll

C:\Program Files\Microsoft Enterprise Library June
2005\src\Data\obj\Debug\Microsoft.Practices.Enterp riseLibrary.Data.dll

I then compile my project. All was successful. NO ERRORS SO FAR. When I
click the button to retrieve data form the database I get the error

An unhandled exception of type 'System.IO.FileLoadException' occurred in
microsoft.practices.enterpriselibrary.configuratio n.dll

Additional information: The located assembly's manifest definition with name
'Microsoft.Practices.EnterpriseLibrary.Data' does not match the assembly
reference.

What's next! Please any ideas. I have been with this for > 24 hours.

Thanks
Oct 4 '05 #1
1 1692
I got this resolved. It was public tokens.

"Chris" wrote:
Hi,
I am trying to use the data access dll in one of my projects and was
originally getting the error:

'Microsoft.Practices.EnterpriseLibrary.Data' does not have a strong
name.

I then followed instructions and gave the following assemblies strong name
using mycompany.snk

Microsoft.Practices.EnterpriseLibrary.Common.dll
Microsoft.Practices.EnterpriseLibrary.Configuratio n.dll
Microsoft.Practices.EnterpriseLibrary.Data.dll

I then complied each, which went successful. I the try to reference them
form my project using the following path respectively

C:\Program Files\Microsoft Enterprise Library June
2005\src\Common\obj\Debug\Microsoft.Practices.Ente rpriseLibrary.Common.dll

C:\Program Files\Microsoft Enterprise Library June
2005\src\Configuration\obj\Debug\Microsoft.Practic es.EnterpriseLibrary.Configuration.dll

C:\Program Files\Microsoft Enterprise Library June
2005\src\Data\obj\Debug\Microsoft.Practices.Enterp riseLibrary.Data.dll

I then compile my project. All was successful. NO ERRORS SO FAR. When I
click the button to retrieve data form the database I get the error

An unhandled exception of type 'System.IO.FileLoadException' occurred in
microsoft.practices.enterpriselibrary.configuratio n.dll

Additional information: The located assembly's manifest definition with name
'Microsoft.Practices.EnterpriseLibrary.Data' does not match the assembly
reference.

What's next! Please any ideas. I have been with this for > 24 hours.

Thanks

Oct 5 '05 #2

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

Similar topics

6
by: wukexin | last post by:
Help me, good men. I find mang books that introduce bit "mang header files",they talk too bit,in fact it is my too fool, I don't learn it, I have do a test program, but I have no correct doing...
5
by: xuatla | last post by:
Hi, I encountered the following compile error of c++ and hope to get your help. test2.cpp: In member function `CTest CTest::operator+=(CTest&)': test2.cpp:79: error: no match for 'operator='...
9
by: YZK | last post by:
Hello. I'm not a Web developer, just a user, and I think I may have somehow messed myself up majorly. I'm not quite sure how. Right now, javascript used by websites I go to either does not work at...
8
by: baustin75 | last post by:
Posted: Mon Oct 03, 2005 1:41 pm Post subject: cannot mail() in ie only when debugging in php designer 2005 -------------------------------------------------------------------------------- ...
1
by: Dave | last post by:
I am having problems accessing DTS after install SP4 and was wondering if someone could offer some advice. I installed SP4 and got the following error after it competed. Unable to write to...
6
by: Jax | last post by:
I have Visual Studio 2002 Standard Edition. It has been working fine up to a point and now i'm at that point. Due to the limitations of the edition i am not using any of my own .dll's and instead...
5
by: Marc Violette | last post by:
<Reply-To: veejunk@sympatico.ca> Hello, I'm hoping someone can help me out here... I'm a beginner ASP.NET developper, and am trying to follow a series of exercises in the book entitled...
6
by: James Radke | last post by:
Hello, I have a multithreaded windows NT service application (vb.net 2003) that I am working on (my first one), which reads a message queue and creates multiple threads to perform the processing...
1
by: Rahul | last post by:
Hi Everybody I have some problem in my script. please help me. This is script file. I have one *.inq file. I want run this script in XML files. But this script errors shows . If u want i am...
12
by: =?Utf-8?B?ZGdvdw==?= | last post by:
I designed a "contact_us" page in visual web developer 2005 express along with EW2 after viewing tutorials on asp.net's help page. Features work like they should, but I cannot figure out how to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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
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,...
0
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
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
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
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...
0
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
muto222
php
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.