Click here to Skip to main content
11,922,641 members (32,167 online)
Rate this:
Please Sign up or sign in to vote.
See more: C# MVC
I copied a project to another computer and I have this error.

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

Screenshot of error is in this part.

        <add assembly="System.Web.Abstractions, Version=, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
        <add assembly="System.Data.Linq, Version=, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
        <add assembly="System.Web.Helpers, Version=, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
        <add assembly="System.Web.Routing, Version=, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
        <add assembly="System.Web.Mvc, Version=, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
        <add assembly="System.Web.WebPages, Version=, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
        <add assembly="System.Data.Entity, Version=, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
Posted 24-Apr-13 6:35am
richcb 24-Apr-13 11:38am
It means you are missing a reference in your project. Try to add the assembly it is referring to.
Rate this: bad
Please Sign up or sign in to vote.

Solution 3

That assambly is part of MVC4. So either install MVC4[^], or this one:[^].
Rate this: bad
Please Sign up or sign in to vote.

Solution 1

I cannot find that System.Web.Helpers.dll on my machine - it is likely not part of the .Net Framework 4. When you deploy your application on a different computer, you have to deploy that dll also (check its license, in case it is not your own product!).
Rate this: bad
Please Sign up or sign in to vote.

Solution 2

right click on project in solution exploret.
select Add diployable dependencies
checked MVC and click ok

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy | Mobile
Web02 | 2.8.151125.1 | Last Updated 25 Apr 2013
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100