I installed IIS 10 through windows features and published MVC app into the IIS folder, then executed "dism /online /enable-feature /featurename:IIS-ASPNET45" command but still getting error:
HTTP Error 403.14 - Forbidden The Web server is configured to not list the contents of this directory
I've done this in windows 7 with "aspnet_regiis -I" command instead of "dism /online /enable-feature /featurename:IIS-ASPNET45" and web app loaded just fine from localhost, but I can't seem to get this to work on Windows 10.
Normally, the iis version in windows 10 is iis10, you can follow below steps to enable classic asp in iis. Search for Turn Windows Features on or off in the win10 search bar. Expand Internet Information Services, then World Wide Web Services, then Application Development Features. Select ASP, and then click OK.
In Control Panel, click Programs, and then click Turn Windows features on or off. In the Windows Features dialog box, click Internet Information Services to install the default features. Expand the Application Development Features node and click ASP.NET 4.5 to add the features that support ASP.NET. (If you installed .
I had the same problem and I solved it by using the Win10 GUI for selecting installed features. Internet Information Services -> World Wide Web Service -> Application Development Features->ASP.NET 4.6
was not checked. Checked that along with a few others I needed and all was good.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With