ASP.Net MVC 2 & IIS 7.0

0 like 0 dislike
Using VS publish of project is written in ASP.Net MVC 2.

Get a catalogue in the form:

in IIS7 localhost added to the Web application referencing the folder where you did publish. (indicated on the application pool .Net 4)

Start a site. But when going to it get the following error
HTTP error 403.14 — Forbidden
The web server is configured in such a way as not to generate the directory listing.

About understand that you need to add Default Document in IIS — but I don't have for example Default.aspx in the folder.

What you need to do to IIS allowed and open/run the app?

Tried to add Default Document as any *.aspx file from the folder ../Views/../
HTTP error 500.21 — Internal Server Error
Handler "BlockViewHandler" contains bad module "ManagedPipelineHandler" in the list of modules

Or maybe I'm wrong to post the project?
by | 15 views

1 Answer

0 like 0 dislike
In the mvc default document does not need. Let's see what you have in global.asax, what action a controller will be called when the Zaros to the face of the website. This is probably Home/Index. Do you have a solution?

Related questions

0 like 0 dislike
1 answer
0 like 0 dislike
2 answers
0 like 0 dislike
2 answers
0 like 0 dislike
1 answer
110,608 questions
257,186 answers
32,860 users