据我所发现,这个错误通常是由Reporting引起的,但是Reporting没有安装在这个服务器上。你知道为什么网络停止http不能完全工作吗?
C:\Users\Administrator>net stop http
The following services are dependent on the HTTP service.
Stopping the HTTP service will also stop these services.
Web Management Service
World Wide Web Publishing Service
Print Spooler
Web Deployment Agent Service
Function Discovery Resource Publication
Do you want to continue this operation? (Y/N) [N]: y
The Web Management Service service is stopping.
The Web Management Service service was stopped successfully.
The World Wide Web Publishing Service service is stopping.
The World Wide Web Publishing Service service was stopped successfully.
The Print Spooler service is stopping.
The Print Spooler service was stopped successfully.
The Web Deployment Agent Service service is stopping.
The Web Deployment Agent Service service was stopped successfully.
The Function Discovery Resource Publication service is stopping.
The Function Discovery Resource Publication service was stopped successfully.
The HTTP service is stopping........
The HTTP service could not be stopped.发布于 2013-08-17 23:40:36
来自:http://support.microsoft.com/kb/2597817
考虑下面的场景。您正在尝试停止运行Internet信息服务(IIS) 6、7或7.5的服务器上的HTTP服务。服务器还安装了Microsoft部署服务(MSDEPSVC)。当您尝试使用NET命令行指令停止HTTP服务时,将在命令提示符中显示以下错误消息:
The HTTP service is stopping.....
The HTTP service could not be stopped.如果再次运行NET命令,将显示以下消息:
The service is starting or stopping. Please try again later.有关更多信息,请参见http://support.microsoft.com/kb/2597817。
发布于 2013-05-05 01:30:30
您可以使用sysinternals的process来查看哪些文件正在锁定进程。另外,你有没有检查过你的反病毒是否锁定了它?
发布于 2019-01-10 13:55:48
如果您碰巧在运行自我托管的web服务,请先停止它们,然后再运行net http。这也将解决这个问题。这只是“服务正在启动或停止,请稍后再试”的症状之一。
在我的例子中,在MS文章http://support.microsoft.com/kb/2597817中解释的解决方案不起作用。这是因为上述服务不在我的框'Get-Service :无法找到任何服务名称‘MsDepSvc’的服务。
https://serverfault.com/questions/504941
复制相似问题