Hi I want to publish an MVC 3 site in Windows Server 2008 R2 SP1. I installed MVC 3 and MVC 2. When I created an MVC 2 site, it worked fine but the MVC 3 site did not work.
a) ASP .NET MVC
b) ASP .NET Web Pages with Razor syntax
(Press OK and Publish the project)
The element "runAllManagedModulesForAllRequests" of the web.config should be = "true". (By Default it is TRUE)
Under IIS 7.5 "Basic Settings" check if the website has Application pool like "ASP.NET v4.0"
Make sure if you downloads ALL files from the BIN folder. Sometimes FileZilla gets stuck... So, check it twice.
I hope this will help! :)