2014/05/05

AutoFac InvalidException at System.Core, Version=2.0.5.0 or IContainerProviderAccessor.ContainerProvider returned null

 

Could not load file or assembly 'System.Core, Version=2.0.5.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e, Retargetable=Yes' or one of its dependencies. The given assembly name or codebase was invalid. (Exception from HRESULT: 0x80131047)

IContainerProviderAccessor.ContainerProvider returned null, which is invalid. If the container provider belongs to the HttpApplication subclass, ensure that it is a static variable.

 

 

解決方式:安裝 .net Framework 4 更新

http://support.microsoft.com/kb/2468871

沒有留言: