我这是个新装的服务器,没有安装任何软件. 一.发布流程 1.安装AspNetCoreModule托管模块,同时会自动安装..net core runtime DotNetCore.2.0.8-WindowsHosting.exe https://docs.microsoft.com/en-us/aspnet/core/host-and-deploy/iis/index?view=aspnetcore-2.0 2.重启电脑,或者使用如下命令重启IIS net stop was /y net s
在装了WindowsHosting和NET CORE SDK后,如果没有重启服务器,访问站点报以上错误,解决办法要么重启,要么执行以下两条命令: net stop was /y net start w3svc 执行完就OK了 引用:https://www.cnblogs.com/autohome7390/p/6840652.html