Support

Kom i kontakt med vår kundtjänst, lär dig allt via vår SDK eller ladda ner den senaste uppdateringen.

Configuration Error

2010-11-26 12:30:41 Madeleine

How do I solve this one? 

Server Error in '/' Application.

Configuration Error

Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately.

Parser Error Message: Could not load file or assembly 'System.Web.Mvc, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified.

Source Error:

Line 68:         <add assembly="System.Web.Abstractions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
Line 69:         <add assembly="System.Web.Routing, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
Line 70:         <add assembly="System.Web.Mvc, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
Line 71:         <add assembly="System.Xml.Linq, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089" />
Line 72:       </assemblies>


Source File: D:\hsadmin\mk3dd\mk3d.se\web.config    Line: 70

Assembly Load Trace: The following information can be helpful to determine why the assembly 'System.Web.Mvc, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' could not be loaded.

WRN: Assembly binding logging is turned OFF.
To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.
Note: There is some performance penalty associated with assembly bind failure logging.
To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].

All replies

  • 2010-11-29 21:04:18 Magnus Krona

    Does this happens on your local machine or when you have published to another web server? Please make sure that System.Web.Mvc.dll is located in your \bin folder and that it's the correct version (2.0)

  • 2010-12-02 08:12:41 Madeleine

    This happens when I have published it on my web server. I have copied it to my bin folder. And nothing happens. How can I check that it's the correct version?

  • 2010-12-02 11:36:30 Magnus Krona

    Right-click on the file and select the Details tab.

  • 2010-12-06 13:33:27 Linus Birgerstam

    Check that the reference to System.Web.Mvc in your project has Copy Local=true.