首页 | 编程语言 | 网站建设 | 游戏天堂 | 冲浪宝典 | 网络安全 | 操作系统 | 软件时空 | 硬件指南 | 病毒相关 | IT 认证
软讯网络 > 编程语言 > .NET > C#.NET > Broken Service Dependency on Windows 2003
【标  题】:Broken Service Dependency on Windows 2003
【关键字】:Broken,Service,Dependency,on,Windows,2003
【来  源】:http://blog.joycode.com/mvm/archive/2007/04/18/101373.aspx

Broken Service Dependency on Windows 2003

This is a bug.

On Windows 2003, World Wide Web Publishing Service depends on HTTP SSL and IIS Admin Service, which is to say, if HTTP SSL is stopped, World Wide Web Publishing Service cannot be running. However, recently, for multiple times, on my test machine, after running "iisreset", I see that World Wide Web Publishing Service is "Started" while HTTP SSL is "Stopped".

The event log tells us the answer:

From 12:58:19AM ("The HTTP SSL service was successfully sent a stop control") to 12:58:21AM ("The HTTP SSL service entered the stopped state"), the status of HTTP SSL service is "Stopping". Windows was kind of cheated. Windows thought that it's Ok to start FTP and WWW services as long as HTTP SSL is not "Stopped". The code might be like this:

    if ( none of the depended service is "Stopped")
        start the service;
    else
        raise error;

The code should have been like this:

    if ( every depended service is "Started")
        start the service;
    else
        raise error;

This issue could be repro-ed on busy machines: do iisreset frequently and at meanwhile high volumn HTTP/S requests keep coming. I heard that this issue was found way back to 2004 or earlier. Until it's fixed someday, the workaround is to force start HTTP SSL service after every iisreset.

在PHP中使用ASP.NET AJAX:【上一篇】
8分钟成为SharePoint专家系列(on TechNet vCast):【下一篇】
【相关文章】
  • SafeOne Note
  • [Python]在cygwin下编译MySQLdb for python
  • [UMU WSH 教程](13)常见对象 - Shell.Application
  • Cannot forward after response has been committed
  • 发布我的下棋作品--Monkey黑白棋(AI还可以,战胜了不少其它的黑白棋程序)
  • Windows NT File System Internals中文版在这里订购!现货
  • Monkey黑白棋 所使用的经典算法(源代码)
  • Windows内核API HOOK 之 Inline Hook
  • (C#)Windows Shell 编程系列4 - 上下文菜单(iContextMenu)(二)嵌入菜单和执行命令
  • .NET 2.0远程传输数据集的优化方法(WebService)
  • 【随机文章】
  • MPLS VPN技术原理(四)
  • 巧用Word“查找替换”快速整理扫描文档
  • 在FREEBSD 5中使用MRTG画出Packet图表
  • 我对xp关键实践之“结队编程”的理解
  • 中国IT产业的骄傲—我所看到的华为
  • 经典面试智力题(过桥问题)及完整java代码
  • FreeBSD内核源代码编程风格
  • 仔细观察!自己也会动手维修主板
  • MQ群集的使用((修正版)
  • IBM xSeries 236 企业级双路塔式服务器热销!
  • 【相关评论】
    没有相关评论
    【发表评论】
    姓名:
    邮件:
    随机码*
    评论*
          
    |  首 页  |  版权声明  |  联系我们   |  网站地图  |
    CopyRight © 2004-2007 软讯网络 All Rigths Reserved.