今天编译一个,net core 2.0的代码,部署后出现502.5错误。

安装.net core sdk 2.2以及dotnet-hosting-2.2.8-win.

在cmd以管理员身份执行

安装AspNetCoreModule托管模块后执行

1.net stop was /y

2.net start w3svc

刷新页面显示正常

 

 

Logo

一站式 AI 云服务平台

更多推荐