For me this error was because I did NOT have Microsoft.AspNet.WebHelpers installed after updating from MVC 4 to MVC 5. It was fixed by installing the NuGet package
Install-Package -Id Microsoft.AspNet.WebHelpers
More Related Contents:
- What are the main disadvantages of Java Server Faces 2.0?
- How do you redirect to a page using the POST verb?
- How to set a Default Route (To an Area) in MVC
- In MVC, how do I return a string result?
- ASP.NET MVC 4 Web API Authentication with Membership Provider
- Web API and ValidateAntiForgeryToken
- localhost refused to connect Error in visual studio
- ApiController returns 404 when ID contains period
- ASP.NET MVC and Ajax, concurrent requests?
- Automapper missing type map configuration or unsupported mapping – Error
- Difference Between $.getJSON() and $.ajax() in jQuery
- Error: «Could not load type MvcApplication»
- What is the advantage of using async with MVC5?
- Fill drop down list on selection of another drop down list [closed]
- ExpireTimeSpan ignored after regenerateIdentity / validateInterval duration in MVC Identity (2.0.1)
- ASP.NET MVC – Mixing Custom and Default Model Binding
- ASP.NET MVC and IIS 5
- ASP.NET MVC – Authenticate users against Active Directory, but require username and password to be inputted
- How can I fix assembly version conflicts with JSON.NET after updating NuGet package references in a new ASP.NET MVC 5 project?
- How can a formcollection be enumerated in ASP.NET MVC?
- IIS Redirect non-www to www AND http to https
- MVC controller gives me a 403 forbidden error with the default route when it’s called DocumentationController
- Passing parameter to controller action from a Html.ActionLink
- NHibernate: How do I XmlSerialize an ISet?
- ASP.NET MVC 3: Required steps for unobtrusive client-side validation of dynamic/AJAX content
- Export to Excel in Asp.net MVC [closed]
- MVC3 Validation – Require One From Group
- How can dynamic breadcrumbs be achieved with ASP.net MVC?
- ASP.Net MVC DisplayFormat
- Html.Raw() in ASP.NET MVC Razor view