Last post Jun 20, 2010 05:40 PM by sergio_eliot
Jun 16, 2010 05:49 PM|sergio_eliot|LINK
I am woking on a very big asp.net application on visual studio 2003. It has several layers. On the data layer the application is using the Microsoft Enterprise Library.
The error that I get is
Value of type 'Microsoft.Practices.EnterpriseLibrary.Data.Database' cannot be converted to 'Microsoft.Practices.EnterpriseLibrary.Data.Database'.
Any ideas on why this error and how to solve it?
Jun 17, 2010 01:42 AM|sirdneo|LINK
It seems that you have two diferent version of EnterpriseLibrary and one dll is using different version and other dll is using diferent version. Make sure that all projects are refering to single EnterpriseLibrary Dll.
Jun 20, 2010 05:40 PM|sergio_eliot|LINK
Thanks for the advice!! Indeed there was a duplicate dll on my project. I found one when looking at the properties window in visual studio of the dll reference, in some of its ocurrences it was pointed to an old path I had use to install my app and the enterprise