由于ErrorCode ='0x80004005:80008083,.NET Core应用程序无法在IIS中启动 [英] .NET Core app unable to start in IIS due to ErrorCode = '0x80004005 : 80008083

查看:3010
本文介绍了由于ErrorCode ='0x80004005:80008083,.NET Core应用程序无法在IIS中启动的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个.NET Core应用程序。它在VS2017和Kestrel的本地运行。它在IIS下本地运行。但是,在服务器上,它无法以 502.5 - 处理失败消息开始。

I have a .NET Core application. It runs locally with VS2017 and Kestrel. It runs locally under IIS. However, on the server it fails to start with a 502.5 - Process Failure message.

在事件日志中我获取更多详细信息:

In the event logs I get more detail:


应用程序'...'与物理根'C:... \ my-app-folder \ '无法使用命令行启动进程'dotnet。\ MyApp.dll',ErrorCode ='0x80004005:80008083。

Application '...' with physical root 'C:...\my-app-folder\' failed to start process with commandline '"dotnet" .\MyApp.dll', ErrorCode = '0x80004005 : 80008083.

上一页应用程序的构建在同一台服务器上运行良好,唯一的区别是它们是使用VS2017RC(2& 3)发布的,这是第一次使用完全发布的VS2017构建。

Previous builds of the application work fine on the same server, the only difference being that they were published with VS2017RC (2&3) and this is the first build with the fully released VS2017.

ErrorCode ='0x80004005:80008083。是什么意思?

如何解决?

推荐答案

由于VS2017 RC附带了新版本的.NET Core SDK(。NET Core 1.0.4 SDK 1.0.1 ),你还需要在服务器上更新框架。

As VS2017 RC is shipped with the new version of .NET Core SDK (.NET Core 1.0.4 SDK 1.0.1), you need to update framework on server as well.

这篇关于由于ErrorCode ='0x80004005:80008083,.NET Core应用程序无法在IIS中启动的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆