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.
I was receiving this error when I deployed the Microsoft tutorial application ContsosoUniversity exactly according to the tutorial guidelines (http://www.asp.net/mvc/tutorials/deployment). After trying all the recommendations of multiple posts I resolved this problem by deleting all other applications in the root directory (from within IIS Manager) and re-deploying the application. One of the other applications in the DefaultAppPool (within which it runs) must have been interfering.