
在windows server 2012 上安装完dotnet-win-x64.1.1.1.exe 和 DotNetCore.1.0.4_1.1.1-WindowsHosting.exe后,没有重启服务器,访问站点报以上错误,解决办法要么重启,要么执行以下两条命令:
net stop was /y
net start w3svc
https://docs.microsoft.com/en-us/aspnet/core/publishing/iis
Restart the system or execute net stop was /y followed by net start w3svc from a command prompt to pick up a change to the system PATH.
本文介绍在Windows Server 2012上部署.NET Core应用程序时遇到的问题及解决方案。部署完成后未重启服务器导致访问站点出现错误,解决方法为重启服务器或通过命令提示符执行特定命令。

被折叠的 条评论
为什么被折叠?



