MVC is new here ... I just put together my first MVC website and it works in development. Now I publish it in my local IIS 7.5 using "Web Deployment", "localhost", "Default Web Site / MySite". The checkboxes "Mark as IIS application at destination" and "Leave additional files ..." are not checked.
Post successfully. Therefore, I open my browser and go to http: // localhost / MySite and get the error message "HTTP Error 403.14 - Forbidden - the web server is not configured to list the contents of this directory."
BUT? I thought the whole idea of the controller is that you do not need to specify a default page; for you, which page do you want? Or didn’t I understand something?
Shaul behr
source share