C# 无法加载文件或程序集[System.EnterpriseServices.Wrapper.dll]

C# 无法加载文件或程序集[System.EnterpriseServices.Wrapper.dll],c#,asp.net,iis,C#,Asp.net,Iis,我使用的是Microsoft.NET Framework版本:4.0.30319;ASP.NET版本:4.0.30319.276;Windows2K3 在重置IIS几天后。此错误再次发生 我没有找到以下错误的完整解决方案: Not implemented (Exception from HRESULT: 0x80004001 (E_NOTIMPL)) Description: An unhandled exception occurred during the execution of the

我使用的是Microsoft.NET Framework版本:4.0.30319;ASP.NET版本:4.0.30319.276;Windows2K3

在重置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
请让我知道一个完整的解决方案。
谢谢。

从visual studio运行项目时,使用以下步骤将平台目标强制为32位:

->Right click on Project
->Select Properties
->Goto Build Options
->Change  "Platform Target" from "ANY CPU" to "X86"
现在运行项目