【发布时间】:2017-10-18 13:54:14
【问题描述】:
安装 Windows 10 Fall Creators Update 后,我无法使用带有 IISExpress 的 Visual Studio 15.4.0 运行任何 Web 应用程序。
连新建项目都运行不了。
错误(一些西班牙语单词,但它是 ArgumentOutOfRangeException 的 site 参数):
[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
尝试重启、清理等,但没有任何效果。
【问题讨论】:
-
如果您用英文发送错误会很有帮助
-
@EhsanZargarErshadi 这是一个 ArgumentOutOfRangeException
标签: c# asp.net asp.net-mvc visual-studio iis-express