Click here to Skip to main content
15,890,512 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,
Previously we are using Microsoft Enterprise Library version=3.1.0.0 now we are included new version 4.1.0.0 DLL's, We changed all DLL reference and config File also when i am trying to run i got this problem ...

i got this one where we are using a separate project for DataAccess(we replace with new DLLs,Rebuild the project added reference for the project)

An error occurred creating the configuration section handler for dataConfiguration: Could not load file or assembly 'Microsoft.Practices.EnterpriseLibrary.Data, Version=4.1.0.0, Culture=neutral' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)

this one exception handling in current project...

An error occurred creating the configuration section handler for exceptionHandling: Could not load file or assembly 'Microsoft.Practices.EnterpriseLibrary.ExceptionHandling, Version=4.1.0.0, Culture=neutral' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)


i removed all old DDL and supporting files from bin and added new reference in project...

Can any one help me
Posted
Updated 24-Apr-11 20:12pm
v2
Comments
Sandeep Mewara 25-Apr-11 2:12am    
Putting too many things in bold makes it hard to read.

remove project solution file from your project and open

then save new solution
 
Share this answer
 
Comments
Rajesh Kumar Chekuri 25-Apr-11 4:54am    
thanks for replies ...
Based on the error, your project/assemblies are still referenced to the older version of Enterprise assembly dll's.

Try cleaning the project. Delete bin & obj folders. Make sure any third party or cross project assembly referenced is using latest/correct version of EL assembly. Refer the current version, rebuild application and see if it helps.
 
Share this answer
 
Comments
Rajesh Kumar Chekuri 25-Apr-11 4:54am    
thanks for replies ...

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month


CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900