无法加载文件或程序集'System.EnterpriseServices.Wrapper.dll' [英] Could not load file or assembly '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
这篇关于无法加载文件或程序集'System.EnterpriseServices.Wrapper.dll'的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!