A default document is not configured for the requested URL, and directory browsing is not enabled on the server

前端 未结 12 840
时光说笑
时光说笑 2020-12-13 03:37

I have just deployed my asp.net mvc-2 website to a server (using dotnetpanel). But getting this error

A default document is not configured for the requested          


        
12条回答
  •  有刺的猬
    2020-12-13 04:19

    I know its too late to post answer, but i found completely differently scenario. I tried all possible solution given above but that not works for me. I found very silly mistake / ignorance in my case I checked IIS manager window carefully and found asp.net section was missing there. I have made Turn Windows features on for ASP.net, below is the steps

    1. Open Control Panel
    2. Programs\Turn Windows Features on or off Internet
    3. Information Services World Wide Web Services Application development
    4. Check for - >Features ASP.Net

    I have closed IIS manager window and reopened it, now ASP.NET section is visible. just browse hosted website and it's up on browser.

提交回复
热议问题