Install MVC website on IIS7
asp.net-mvc, iis-7
Solution
First, install ASP MVC, then run one of the following depending on your architecture:
32bit (x86) Windows
%windir%\Microsoft.NET\Framework\v4.0.30319\aspnet_regiis.exe -ir
64bit (x64) Windows
%windir%\Microsoft.NET\Framework64\v4.0.30319\aspnet_regiis.exe -ir
also check this thread for more info: ASP.NET MVC on IIS 7.5
You could also need to recreate your application/site after these steps.
Problem
I use VisualStudio to build a C#-MVC3 Website and it works great. I need to install the website on a different computer to check it. The computer has IIS7. I tried to install (my first time... I don't really know IIS), and when I browse the site (localhost/mySite) I can see all the directories (controllers, views...) but I can't see the site itself. I can see a specific file (like localhost/mySite/Content/img.jpg) but I can't see the site with the controllers (localhost/mySite, or localhost/mySite/Home) What to to?