Unable to cast object of type 'Microsoft.Practices.EnterpriseLibrary.Common.Configuration.ConfigurationSourceSection' to type 'Microsoft.Practices.EnterpriseLibrary.Common.Configuration.ConfigurationSourceSection'.

Topics: Development Team Discussion, User Discussion
Feb 25, 2010 at 7:06 PM


I am using Enterpise Library 4.1. Until yesterdat, i was able to execute my project without any issues.  All of a sudden since today i keep getting the following error: Unable to cast object of type 'Microsoft.Practices.EnterpriseLibrary.Common.Configuration.ConfigurationSourceSection' to type 'Microsoft.Practices.EnterpriseLibrary.Common.Configuration.ConfigurationSourceSection'. I am not sure why. I google the issue but to no vail. Has anyone come across this issue and resolved it. By the way i unistalled Ent Lib 4.1 and reinstalled it.

Thank You for your help in advance.

Kalyan Sirsingandla

Jun 8, 2010 at 5:41 PM

You have a rogue dll somewhere that has a difference in the signature that does not include the name. It will be a signed or unsigned version where you had the opposite before etc.


Cheers...   Steve