Could not load file or assembly 'Microsoft.Practices.EnterpriseLibrary.Validation

Topics: General discussion
May 26, 2010 at 5:27 PM

When calling a WCF service the following exception is returned and I have not yet been able to find a solution to the problem. I have read Tom Hollander's blog but it does not seem to address my specific problem, any ideas would be appreciated.


{"Could not load file or assembly 'Microsoft.Practices.EnterpriseLibrary.Validation, Version=5.0.414.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified."}

May 27, 2010 at 1:46 PM


Where does your validation happen? Is it on your client side app or are you using the VAB integration for WCF? Also, could you post the full exception of the error encountered here and to where exactly does this thrown?

Gino Terrado
Global Technology and Solutions
Avanade, Inc.

May 27, 2010 at 2:17 PM

Are you referencing from the Validation assembly from GAC? If yes, there's an issue regarding it.  See this workitem for the details and workaround.

Sarah Urmeneta
Global Technology and Solutions
Avanade, Inc.