asp.net core部署到iis中出现 HTTP Error 502.5 - Process Failure的问题
环境是windows Server2012
问题的原因是缺少文件:api-ms-win-crt-runtimel1-1-0.dll,
dotnet 启动程序失败。
解决方案1:
安装系统补丁:
2012 R2对应》Windows8.1-KB2999226-x64.msu
下载地址:
https://www.microsoft.com/zh-CN/download/details.aspx?id=49063
2012 对应》Windows8-RT-KB2999226-x64.msu
下载地址:
更多参考:
https://stackoverflow.com/questions/38624453/asp-net-core-1-0-on-iis-error-502-5
关于api-ms-win-crt-runtimel1-1-0.dll缺失的解决方案:
http://blog.csdn.net/huqiao1206/article/details/50768481
下载最新版的Windows Server Hosting:
https://www.microsoft.com/net/download/core#/runtime