I'm struggling to make my asp.net, using razor, to work on a Windows 2008 R2 + IIS7.5 server.
I can start the application (inside an "Application" folder within the "Default Web Site" but, my default.cshtml pages does not come up.
I did set the default document value to use default.cshtml as 1st try and only other entry is for index.html. All child level inherit from this top level (IIS root) setting. I verified my web.config file and there is no overwritting of the default document handling there.
If I access http://server/appfolder/ I get a 404; if I append default.cshtml to the request, my page show up.
Also, I use MVC URI, I have a page called start.cshtml in a "/modules" folder of my Application folder. I should be able to access it using http://server/appfolder/modules/start/ but again, it shows a 404. http://server/appfolder/modules/start.cshtml shows the page.
Note that all this works just fine when I run the application on my dev machine with IIS Express
I have IIZ7.5 + ASP.NET + set up file mapping handleing (for *.cshtml extention), this extension is not listed into the denied list (or I wouldn't even be able to access it when requesting a page), I have installed the MVC 3 component using the Web Platform and a bunch of other things (URL Routing 2 for example) to try to make my application work as it does on local d
View Complete Post