I just moved from php to asp.net. I\'m trying to deploy a very basic mvc 3 application to my hosting provider. After it deploys, I visit the website, and it displays:
I had this error in webmatrix, to solve it I had to go to settings and update ASP.NET web pages version from 1.0 to 2.0
You need to set webpages:Version appSettings with appropriate value. In your case it has to be 2.0.0.0
<appSettings>
<add key="webpages:Version" value="2.0.0.0"/>
</appSettings>
Please check below link, you would probably have to check the assembly version in bin directory
http://www.britishdeveloper.co.uk/2011/11/conflicting-versions-of-aspnet-web.html
If you have already tried the above solutions and are still getting the same problem then try this one-> Go to your project folder and in there locate the bin folder --> Remove System.Web.Mvc.dll and System.Web.Mvc.xml from there.