Answer the question
In order to leave comments, you need to log in
ASP.NET MVC 2 & IIS 7.0?
Through VS I publish a project written in ASP.Net MVC 2.
I get a directory in the form:
../bin
../Content
Global.asax
../Scripts
../Views
Web.config
in IIS7 to localhost added a Web application referencing to the folder where the publish was made. (specified the application pool on .Net 4)
I launch the site. But when I go to it, I get an error
HTTP Error 403.14 - Forbidden
The web server is configured to not list the contents of the directory.
I roughly understand that I need to add a Default Document to IIS - but I don’t have, for example, Default.aspx in the folder.
What needs to be done so that IIS starts up and opens/launches the application?
Tried adding the Default Document as any *.aspx file from the ../Views/../ folder HTTP
Error 500.21 - Internal Server Error
The "BlockViewHandler" handler contains a corrupt "ManagedPipelineHandler" module in the list of modules
Or maybe I'm posting the project incorrectly?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question