Reputation: 759
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.
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
What could be causing this error, and how can I resolve it?
Upvotes: 3
Views: 19015
Reputation: 1883
Your project contains a broken reference to the file 'System.EnterpriseServices.Wrapper.dll'; You may also try by re-installing the .NET Framework.
See these links for similar type of problems : System.EnterpriseServices.Wrapper.dll error And
Upvotes: 2