2013-11-07 13 views
1

Я использую Microsoft .NET Framework Версия: 4.0.30319; Версия ASP.NET: 4.0.30319.276; Windows 2k3.Не удалось загрузить файл или сборку [System.EnterpriseServices.Wrapper.dll]

После сброса IIS несколько дней. Эта ошибка возникает снова.

я не нашел полное решение для ошибки ниже:

Not implemented (Exception from HRESULT: 0x80004001 (E_NOTIMPL)) 

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. 

Exception Details: System.NotImplementedException: Not implemented (Exception from HRESULT: 0x80004001 (E_NOTIMPL)) 

Source Error: 

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below. 

Stack Trace: 


[NotImplementedException: Not implemented (Exception from HRESULT: 0x80004001 (E_NOTIMPL))] 

[FileLoadException: Could not load file or assembly 'System.EnterpriseServices.Wrapper.dll' or one of its dependencies. Not implemented (Exception from HRESULT: 0x80004001 (E_NOTIMPL))] 
    System.Lazy`1.get_Value() +9587987 
    Microsoft.Owin.Host.SystemWeb.OwinHttpModule.Init(HttpApplication context) +43 
    System.Web.HttpApplication.InitModulesCommon() +172 
    System.Web.HttpApplication.InitModules() +43 
    System.Web.HttpApplication.InitInternal(HttpContext context, HttpApplicationState state, MethodInfo[] handlers) +828 
    System.Web.HttpApplicationFactory.GetNormalApplicationInstance(HttpContext context) +304 
    System.Web.HttpApplicationFactory.GetApplicationInstance(HttpContext context) +107 
    System.Web.HttpRuntime.ProcessRequestInternal(HttpWorkerRequest wr) +327 

Пожалуйста, дайте мне знать полное решение. Спасибо.

ответ

0

во время работы проекта с визуальной студией силы целевой платформы, как 32 битных, используя следующие шаги:

->Right click on Project 
->Select Properties 
->Goto Build Options 
->Change "Platform Target" from "ANY CPU" to "X86" 

Теперь запустите проект.

Смежные вопросы