【发布时间】:2015-08-09 23:37:02
【问题描述】:
我使用此处显示的说明从 ASP.NET 5 beta5 升级到 beta6:How to upgrade ASP.NET 5 (vnext) from Beta5 to Beta6
我现在收到一个非常奇怪的意外应用程序错误,这可能是什么原因造成的,我该如何解决?
Unexpected application failure. Status code '-2146233079'.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.Exception: Unexpected application failure. Status code '-2146233079'.
Source Error:
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
Stack Trace:
[Exception: Unexpected application failure. Status code '-2146233079'.]
System.Web.HttpRuntime.HostingInit(HostingEnvironmentFlags hostingFlags, PolicyLevel policyLevel, Exception appDomainCreationException) +303
[HttpException (0x80004005): Unexpected application failure. Status code '-2146233079'.]
System.Web.HttpRuntime.FirstRequestInit(HttpContext context) +9940016
System.Web.HttpRuntime.EnsureFirstRequestInit(HttpContext context) +101
System.Web.HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest wr, HttpContext context) +261
这是我的 dnvm 列表:
Active Version Runtime Architecture Location Alias
------ ------- ------- ------------ -------- -----
1.0.0-beta4 clr x64 C:\Users\rlang_000\.dnx\runtimes
1.0.0-beta4 clr x86 C:\Users\rlang_000\.dnx\runtimes
1.0.0-beta4 coreclr x64 C:\Users\rlang_000\.dnx\runtimes
1.0.0-beta4 coreclr x86 C:\Users\rlang_000\.dnx\runtimes
1.0.0-beta5 clr x86 C:\Users\rlang_000\.dnx\runtimes
1.0.0-beta5 coreclr x64 C:\Users\rlang_000\.dnx\runtimes
1.0.0-beta5 coreclr x86 C:\Users\rlang_000\.dnx\runtimes
* 1.0.0-beta6 coreclr x86 C:\Users\rlang_000\.dnx\runtimes default
1.0.0-beta6-12254 clr x86 C:\Users\rlang_000\.dnx\runtimes
1.0.0-beta6-12254 coreclr x86 C:\Users\rlang_000\.dnx\runtimes
1.0.0-beta7-12264 clr x86 C:\Users\rlang_000\.dnx\runtimes
【问题讨论】:
-
我能够让它工作的唯一方法是定位 clr 而不是 coreclr。
-
您找到无法使用 coreclr 的原因了吗?
标签: asp.net asp.net-core dnvm