9

After installing Windows 10 Fall Creators Update I can't run any web app using Visual Studio 15.4.0 with IISExpress.

Even creating a new project does not run.

The error (some words in spanish, but it's an ArgumentOutOfRangeException for the site parameter) :

[ArgumentOutOfRangeException: El argumento especificado está fuera del intervalo de valores válidos.
Nombre del parámetro: site]
   System.Web.HttpRuntime.HostingInit(HostingEnvironmentFlags hostingFlags, PolicyLevel policyLevel, Exception appDomainCreationException) +280

[HttpException (0x80004005): El argumento especificado está fuera del intervalo de valores válidos.
Nombre del parámetro: site]
   System.Web.HttpRuntime.FirstRequestInit(HttpContext context) +10042604
   System.Web.HttpRuntime.EnsureFirstRequestInit(HttpContext context) +95
   System.Web.HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest wr, HttpContext context) +254

Información de versión: Versión de Microsoft .NET Framework:4.0.30319; Versión ASP.NET:4.7.2556.0

Tried rebooting, cleaning, etc, but nothing works.

Eduardo Molteni
  • 38,786
  • 23
  • 141
  • 206

2 Answers2

13

The @rene question was the solution:

  • Go to control panel
  • Programs
  • Open or close windows features
  • Tick internet information services
  • Restart
Eduardo Molteni
  • 38,786
  • 23
  • 141
  • 206
0

I had a simmilar error after reinstalling VS without all the packages. Try installing all the prerequisites that are needed for your MVC. In my case it was TypeScrypt 2.0 and PowerShell tools. Hope this helps.