将 beta5 升级到 beta6 时出错
Error when upgrading beta5 to beta6
我使用此处显示的说明从 ASP.NET 5 beta5 升级到 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
你可能会更幸运地针对回购提出问题。 https://github.com/aspnet/Hosting 确保包含有关项目设置的信息(例如 project.json 文件、导致崩溃的代码等)
问题是我使用的库之一与 coreclr 不兼容。这可能经常是第 3 方库的情况,所以我会把它留在这里,以防其他人对这个不是很有帮助的消息有类似的问题。
您将目标 DNX 版本更改为:
dnvm install -r clr 1.0.0-beta6
dnvm use -r clr 1.0.0-beta6
我使用此处显示的说明从 ASP.NET 5 beta5 升级到 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
你可能会更幸运地针对回购提出问题。 https://github.com/aspnet/Hosting 确保包含有关项目设置的信息(例如 project.json 文件、导致崩溃的代码等)
问题是我使用的库之一与 coreclr 不兼容。这可能经常是第 3 方库的情况,所以我会把它留在这里,以防其他人对这个不是很有帮助的消息有类似的问题。
您将目标 DNX 版本更改为:
dnvm install -r clr 1.0.0-beta6
dnvm use -r clr 1.0.0-beta6