Conflicting versions of ASP.NET Web Pages detected
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:
Conflicting versions of ASP.NET Web Pages detected: specified version is "22.214.171.124", but the version in bin is "126.96.36.199". To continue, remove files from the application's bin directory or remove the version specification in web.config.
I'm not sure where to look. Its the 'out of the box' mvc 3 application with no modification. I tried to use this method, "http://stackoverflow.com/questions/10896878/conflicting-versions-of-asp-net-web-pages-detected-specified-version-is-1-0-0" but had no luck.
Any help would be appreciated.
You need to set webpages:Version appSettings with appropriate value. In your case it has to be 188.8.131.52
<appSettings> <add key="webpages:Version" value="184.108.40.206"/> </appSettings>
Please check below link, you would probably have to check the assembly version in bin directory
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.
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