This issue can be resolved by using one of the following method:
Example here
//while using IIS enable Directory Browsing
steps:
1.Open CMD prompt run as admin mode
2.CD C:\Windows\Microsoft.NET\Framework64\v4.0.30319\
*press enter
3.aspnet_regiis -i
*press enter
Method 1: Enable the Directory Browsing feature in IIS (Recommended)
To resolve this problem, follow these steps:- Start IIS Manager. To do this, click Start, click Run, type inetmgr.exe, and then click OK.
- In IIS Manager, expand server name, expand Web sites, and then click the website that you want to modify.
- In the Features view, double-click Directory Browsing.
- In the Actions pane, click Enable.
Method 2: Add a default document
To resolve this problem, follow these steps:- Start IIS Manager. To do this, click Start, click Run, type inetmgr.exe, and then click OK.
- In IIS Manager, expand server name, expand Web sites, and then click the website that you want to modify.
- In the Features view, double-click Default Document.
- In the Actions pane, click Enable.
- In the File Name box, type the name of the default document, and then click OK.
Example here
//while using IIS enable Directory Browsing
steps:
1.Open CMD prompt run as admin mode
2.CD C:\Windows\Microsoft.NET\Framework64\v4.0.30319\
*press enter
3.aspnet_regiis -i
*press enter
No comments:
Post a Comment