System.Web.Mvc error when running an MVC application

Programming, error messages and sample code
If an MVC application displays this error:

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

This indicates that your MVC application is looking for the MVC assemblies to run correctly. The MVC assemblies are not installed in the server's GAC. MVC assemblies must be uploaded to the application's bin folder. web servers support MVC 1.0,  MVC2.0, MVC 3.0, MVC 4.0. You can use these versions directly.