Taleh Ibrahimli
Taleh Ibrahimli

Reputation: 759

Could not load file or assembly '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.

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)

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

Upvotes: 3

Views: 19015

Answers (1)

Kibria
Kibria

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

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

Upvotes: 2

Related Questions