Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I have a Asp.Net Web Site deployed as a WebSite inside IIS 7.5.

http://localhost/WebSite

Then I have a second Asp.Net MVC 2 web application which is deployed as Sub Application inside the above WebSite. So the mvc aplication should work on the following Url.

http://localhost/WebSite/MvcApp/

The web site works fine but when I browse the mvc Url http://localhost/WebSite/MvcApp/

It gives following error.

HTTP Error 403.14 - Forbidden The Web server is configured to not list the contents of this directory.

share|improve this question
    
is the app pool for the MVC application running in classic mode or integrated mode? –  MattB Jun 11 '10 at 14:09
    
Its in Integrated mode. –  Amitabh Jun 11 '10 at 17:15

1 Answer 1

There is nothing picking up the phone...

IIS is defaulting all the way to checking if directory browsing is turned on. This implies ASP.net is not getting the request at all.

Make sure there is virtual directory setup where folder looks different that regular folders.

Unfortunately I don't do IIS 7.5, still IIS 6.0.

In 6.0 I would right clikc the folder and click Create App. and then goto the last tab and make ure ASP.net was confgured on the folder.

The last possbility is that the ASP.Net routing engine on root is sucking up all the requests for the sub.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.