当我在 Visual Studio 2010 中运行新的 Web 应用程序时,收到“无法加载文件或程序集 System.EnterpriseServices.Wrapper.dll”错误消息。
错误信息全文如下:
Server Error in '/' Application.
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. An attempt was made to load a program with an incorrect format.
Source Error:
Line 1: <%@ Application Codebehind="Global.asax.cs" Inherits="WebApplication2.Global" Language="C#" %>
Source File: /global.asax Line: 1
什么可能导致此错误,我该如何解决?
最佳答案
您的项目包含对文件“System.EnterpriseServices.Wrapper.dll”的损坏引用;您也可以尝试重新安装 .NET Framework。
有关类似类型的问题,请参阅这些链接:System.EnterpriseServices.Wrapper.dll error 和
关于c# - 无法加载文件或程序集 'System.EnterpriseServices.Wrapper.dll',我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/10356058/