c# - 无法加载文件或程序集 'System.EnterpriseServices.Wrapper.dll'

标签 c# asp.net

当我在 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

Screenshot of error message (transcribed above)

什么可能导致此错误,我该如何解决?

最佳答案

您的项目包含对文件“System.EnterpriseServices.Wrapper.dll”的损坏引用;您也可以尝试重新安装 .NET Framework。

有关类似类型的问题,请参阅这些链接:System.EnterpriseServices.Wrapper.dll error

http://help.turbolaw.com/entries/361597-error-message-could-not-load-file-or-assembly-system-enterpriseservices-wrapper-dll-when-starting-tu

关于c# - 无法加载文件或程序集 'System.EnterpriseServices.Wrapper.dll',我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/10356058/

相关文章:

c# - .NET 4.5 中的 INamingContainer

c# - 无法使用 pack URI 设置 ImageSource

c# - 用于对多个超大型数据数组进行分组操作的 SIMD 矢量化策略

javascript - 合并来自用户控件的 pageLoad() 代码?

c# - 模拟C#中同一类中的方法

c# - 重复的控件 ID 导致异常

asp.net - 如何在 ASP.NET 上使用 BLToolkit 连接 SqliteDB?

c# - 如何在服务器端为 C#/ASP.NET 中的图像控件添加单击事件

javascript - ASP.NET VB 中的首次 Web 服务

c# - 触摸 WPF 中的 Bug?