1

When I configure IIS and tries to run the mvc application it gets the HTTP Error 403.14 - Forbidden The Web server is configured to not list the contents of this directory error form IIS. I have tried solutions provided by sol1, sol2 and sol3 but I am still getting the error. I have Windows 8.1 and when I tried it on Windows 10 it works perfectly. So it must be an environment problem.

Community
  • 1
  • 1
Janitha Tennakoon
  • 856
  • 11
  • 40
  • Is ASP.NET [registered with IIS](https://msdn.microsoft.com/en-us/library/k6h9cz8h.aspx) on your Windows 8.1 machine? – Richard Ev Feb 09 '16 at 12:58
  • When I try to run aspnet_regiis it returns "This option is not supported on this version of the operating system. Administrators should instead install/uninstall ASP.NET 4.5 with IIS8 using the "Turn Windows Features On/Off" dialog, the Server Manager management tool, or the dism.exe command line tool". In windows features I have installed .NET 4.5 for IIS. – Janitha Tennakoon Feb 09 '16 at 13:07

1 Answers1

0

In visual studio 2015 it does not include the MVC4 framework. So I needed to install ASP.NET MVC 4 separately although I have already installed VS 2015 in my machine.

Janitha Tennakoon
  • 856
  • 11
  • 40