首页 技术 正文
技术 2022年11月15日
0 收藏 367 点赞 3,497 浏览 762 个字

HTTP Error 502.5 – Process Failure

Common causes of this issue:

  • The application process failed to start
  • The application process started but then stopped
  • The application process started but failed to listen on the configured port

Troubleshooting steps:

  • Check the system event log for error messages
  • Enable logging the application process’ stdout messages
  • Attach a debugger to the application process and inspect

For more information visit: https://go.microsoft.com/fwlink/?LinkID=808681

鄙人建站比较喜欢一开始就部署到IIS上,用VS内置IISExpress就浑身难受。现在使用.net core发现部署到IIS上后报502错误,网上查到的文章都是介绍:

项目版本和SDK版本不一致导致的;
IIS程序池CLR版本设置无托管代码;

程序池-高级-加载用户配置文件设为true;

等等,尝试一通没卵用。

后来发现一篇文章说要给VS安装开发时IIS支持:

https://docs.microsoft.com/zh-cn/aspnet/core/host-and-deploy/iis/development-time-iis-support?view=aspnetcore-2.1

记:ASP.NET Core开发时部署到IIS上出现HTTP Error 502.5 – Process Failure的解决方案

于是按文章介绍的操作一波终于OK了,运行起来之后,web.config里面配置会自动更改,加了个IIS启动:

记:ASP.NET Core开发时部署到IIS上出现HTTP Error 502.5 – Process Failure的解决方案

相关推荐
python开发_常用的python模块及安装方法
adodb:我们领导推荐的数据库连接组件bsddb3:BerkeleyDB的连接组件Cheetah-1.0:我比较喜欢这个版本的cheeta…
日期:2022-11-24 点赞:878 阅读:9,489
Educational Codeforces Round 11 C. Hard Process 二分
C. Hard Process题目连接:http://www.codeforces.com/contest/660/problem/CDes…
日期:2022-11-24 点赞:807 阅读:5,904
下载Ubuntn 17.04 内核源代码
zengkefu@server1:/usr/src$ uname -aLinux server1 4.10.0-19-generic #21…
日期:2022-11-24 点赞:569 阅读:6,737
可用Active Desktop Calendar V7.86 注册码序列号
可用Active Desktop Calendar V7.86 注册码序列号Name: www.greendown.cn Code: &nb…
日期:2022-11-24 点赞:733 阅读:6,490
Android调用系统相机、自定义相机、处理大图片
Android调用系统相机和自定义相机实例本博文主要是介绍了android上使用相机进行拍照并显示的两种方式,并且由于涉及到要把拍到的照片显…
日期:2022-11-24 点赞:512 阅读:8,128
Struts的使用
一、Struts2的获取  Struts的官方网站为:http://struts.apache.org/  下载完Struts2的jar包,…
日期:2022-11-24 点赞:671 阅读:5,291