Author: shinus | Posted on: 11/13/2009 6:02:16 AM | Views : 455

Hi.
In my web application i tried to implement authorization using WCSF.
but when i run the application , i am getting this error,

Could not load file or assembly 'Microsoft.Practices.EnterpriseLibrary.Security, Version=3.1.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)

for the line
globalServices.AddNew<EnterpriseLibraryAuthorizationService, IAuthorizationService>();

of AddGlobalServices method in ShellModuleInitializer class.
Please see the configuration section for authorization in config file,

Go to the complete details ...