无法加载文件或程序集'System.EnterpriseServices.Wrapper.dll' [英] Could not load file or assembly 'System.EnterpriseServices.Wrapper.dll'

查看:98
本文介绍了无法加载文件或程序集'System.EnterpriseServices.Wrapper.dll'的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我在Visual Studio 2010中运行新的Web应用程序时,出现无法加载文件或程序集System.EnterpriseServices.Wrapper.dll".错误消息.

When I run a new web application in Visual Studio 2010, I'm getting a "Could not load file or assembly System.EnterpriseServices.Wrapper.dll'" error message.

以下是错误消息的全文:

Here's the complete text of the error message:

"/"应用程序中的服务器错误.

解析器错误

说明:在解析服务于此请求所需的资源期间发生错误.请查看以下特定的解析错误详细信息,并适当地修改您的源文件.

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.

解析器错误消息:无法加载文件或程序集'System.EnterpriseServices.Wrapper.dll'或其依赖项之一.试图加载格式错误的程序.

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.

源错误:

第1行:<%@ Application Codebehind ="Global.asax.cs"Inherits ="WebApplication2.Global".语言="C#"%>

Line 1: <%@ Application Codebehind="Global.asax.cs" Inherits="WebApplication2.Global" Language="C#" %>

源文件:/global.asax 行: 1

Source File: /global.asax Line: 1

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

What could be causing this error, and how can I resolve it?

推荐答案

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

Your project contains a broken reference to the file 'System.EnterpriseServices.Wrapper.dll'; You may also try by re-installing the .NET Framework.

请参阅以下链接以查找类似类型的问题: System.EnterpriseServices.Wrapper.dll错误还有

See these links for similar type of problems : System.EnterpriseServices.Wrapper.dll error And

http://help.turbolaw.com/entries/361597-error-message-could-not-load-file-or-assembly-system-enterpriseserEnterprises-wrapper-dll-启动时-tu

这篇关于无法加载文件或程序集'System.EnterpriseServices.Wrapper.dll'的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆