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

前端 未结 12 902
时光说笑
时光说笑 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:16

    Open IIS Setting in your plesk panel and enter default document name first page of website (deafault values are

     Index.html
    Index.htm
    Index.cfm
    Index.shtml
    Index.shtm
    Index.stm
    Index.php
    Index.php3
    Index.asp
    Index.aspx
    Default.htm
    Default.asp
    Default.aspx) 
    

    This will work properly

提交回复
热议问题