<小时/>
<小时/>Parser Error Description: An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file appropriately.
Parser Error Message: Could not load file or assembly 'System.EnterpriseServices.Wrapper.dll' or one of its dependencies.
(Exception from HRESULT: 0x800700C1)Source Error:
Line 1: <%@ Application Codebehind="Global.asax.cs" Inherits="PMP.MvcApplication" Language="C#" %>
昨天,我关闭了我的 Windows 7,一个 Windows 更新在那里等待了近一个小时,没有任何进程,然后我关闭了我的笔记本电脑。当我重新打开 Windows 7 并运行 PMP MVC 应用程序时,出现此错误。我完成了待处理的 Windows 更新。这并没有解决问题。
我用谷歌搜索发现应该重新安装.net框架1.1/2.1,我尝试过但没有什么好事发生。这个错误总是在这里。我花了4个小时重新安装VS 2010,但并没有解决问题。
如何解决这个问题?
[更新]:
我试过这个,
"C:\Program Files\Microsoft SDKs\Windows\v6.0A\bin\gacutil.exe" /i Microsoft.NET/Framework/v2.0.50727/System.EnterpriseServices.dll
"C:\Program Files\Microsoft SDKs\Windows\v7.0A\bin\gacutil.exe" /i Microsoft.NET/Framework/v2.0.50727/System.EnterpriseServices.dll
发现v6.0A中的gacutil.exe
为0kb。然后将v7.0A
中的文件替换为v6.0A
。这也没有解决问题。
最佳答案
当我安装了 Windows 更新(和 .Net 4.5.2 更新)但推迟重新启动时,就发生了这种情况。重新启动我的计算机,从而使更新最终解决该问题。
关于asp.net - System.EnterpriseServices.Wrapper.dll 错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/2890773/