61,573 views
45 votes
45 votes
How to solve the problem if it shows "default document is not configured for the requested url, and directory browsing is not enabled on the server"

User Bame
by
2.4k points

1 Answer

11 votes
11 votes

Answer:

IIS will return the "Forbidden" error when it cant find a default web page to serve and directory browsing is disabled.

A wrong and dangerous solution is to turn on directory browsing as IIS and other helpful articles might suggest.

The most likely problem Is that IIS is not fully setup to serve Dotnet webpages and so it cant find the dbFront application.

It might also be that when IIS was installed or upgraded that the entry "default.aspx" was missed or removed from the list of default documents. Please open the entry "Default Document" and view the list to ensure that "default.aspx" is included in the list.

Step-by-step explanation:

User Stephen Meschke
by
3.3k points