<?xml version="1.0" encoding="UTF-8" ?>
<rss version="2.0">
<channel>
<title><![CDATA[gOxiA=苏繁=SuFan Blog]]></title> 
<link>https://maytide.net/index.php</link> 
<description><![CDATA[gOxiA,苏繁,sufan,Microsoft MVP]]></description> 
<language>zh-cn</language> 
<copyright><![CDATA[gOxiA=苏繁=SuFan Blog]]></copyright>
<item>
<link>https://maytide.net/read.php/2161.htm</link>
<title><![CDATA[项目发布: IIS 日志安全分析器]]></title> 
<author>gOxiA &lt;sufan_cn@msn.com&gt;</author>
<category><![CDATA[Microsoft IIS]]></category>
<pubDate>Thu, 09 Oct 2025 06:18:58 +0000</pubDate> 
<guid>https://maytide.net/read.php/2161.htm</guid> 
<description>
<![CDATA[ 
	<p><a href="http://goxia.maytide.net/ftpup/2018/70af0ed7c76f_C605/iisloganalyzer.png"><img width="400" height="105" title="iisloganalyzer" style="border: 0px currentcolor; border-image: none; display: inline; background-image: none;" alt="iisloganalyzer" src="http://goxia.maytide.net/ftpup/2018/70af0ed7c76f_C605/iisloganalyzer_thumb.png" border="0"></a></p><p><font color="#fd3f0d" size="4"><strong>项目发布: IIS 日志安全分析器</strong></font></p><p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <font size="3">近期发现服务器有一些异常，随机手搓了一个 IIS 日志安全分析器，基于不同维度对访问进行分析，并识别可疑的 IP 地址或地址段，便于通过网络策略进行阻拦，以下是其主要特性和功能。</font></p><h4><font size="3"> 主要特性</font></h4><ul><li><font size="3">多维度安全分析：检测SQL注入、XSS攻击、管理面板探测、命令执行尝试等多种安全威胁</font><li><font size="3">智能IP地理定位：集成多个IP地理位置API，显示攻击者的地理位置和ISP信息</font><li><font size="3">子网攻击分析：识别和分析可疑的子网攻击模式</font><li><font size="3">交互式HTML报告：生成带有导航功能的美观HTML报告</font><li><font size="3">FTP活动监控：分析FTP连接、认证尝试和异常活动</font><li><font size="3">实时威胁评估：对危险IP进行深度分析和威胁等级评估</font></li></ul><h4><font size="3"> 功能概览</font></h4><h5><font size="3">Web流量分析</font></h5><ul><li><font size="3">HTTP状态码分布统计</font><li><font size="3">最活跃客户端IP识别</font><li><font size="3">热门访问页面分析</font><li><font size="3">用户代理(User-Agent)统计</font><li><font size="3">错误请求模式分析</font></li></ul><h5><font size="3">安全威胁检测</font></h5><p><font size="3">支持检测以下安全威胁类型：</font><ul><li><font size="3"> 管理面板探测 - 检测对admin、wp-admin等管理界面的扫描</font><li><font size="3">命令执行尝试 - 识别代码注入和命令执行攻击</font><li><font size="3"> 环境文件访问 - 检测对.env等敏感配置文件的访问</font><li><font size="3">phpMyAdmin探测 - 识别对数据库管理工具的扫描</font><li><font size="3"> Shell访问尝试 - 检测Webshell上传和访问尝试</font><li><font size="3"> 目录遍历攻击 - 识别路径遍历攻击模式</font><li><font size="3"> CGI漏洞利用 - 检测CGI脚本相关的攻击</font><li><font size="3"> Git文件访问 - 检测对.git目录的非法访问</font></li></ul><h5><font size="3">IP地理位置分析</font></h5><ul><li><font size="3"> 多API支持 - 集成ip-api.com、ipapi.co、ipinfo.io等多个服务</font><li><font size="3"> ISP信息 - 显示IP所属的ISP和组织信息</font><li><font size="3"> 地理位置 - 精确到城市级别的地理位置信息</font><li><font size="3"> 故障转移 - 多API自动切换确保服务可用性</font></li></ul><h5><font size="3">交互式报告</font></h5><ul><li><font size="3"> 美观界面 - 现代化的HTML报告设计</font><li><font size="3"> 一键导航 - 点击IP或子网快速跳转到详细信息</font><li><font size="3">浮动按钮 - 便捷的返回顶部功能</font><li><font size="3"> 响应式设计 - 支持各种屏幕尺寸</font></li></ul><p> 这款 IIS 日志安全分析器基于 Python 开发，有需要的网友可自行获取。项目地址：<a title="https://github.com/goxia/Tools/tree/main/IISLogAnalyzer" href="https://github.com/goxia/Tools/tree/main/IISLogAnalyzer">https://github.com/goxia/Tools/tree/main/IISLogAnalyzer</a></p>
]]>
</description>
</item><item>
<link>https://maytide.net/read.php/1679.htm</link>
<title><![CDATA[[SBS]解决在 SBS2011 上因压缩模块导致的 HTTP 500.19 故障问题]]></title> 
<author>gOxiA &lt;sufan_cn@msn.com&gt;</author>
<category><![CDATA[Microsoft IIS]]></category>
<pubDate>Mon, 17 Jun 2013 08:00:17 +0000</pubDate> 
<guid>https://maytide.net/read.php/1679.htm</guid> 
<description>
<![CDATA[ 
	<p><a href="http://www.iis.net/"><img title="IIS7_Welcome" border="0" alt="IIS7_Welcome" src="http://goxia.maytide.net/ftpupfiles/IIS--IIS-7.x--32bit-_BF4E/IIS7_Welcome.png" width="552" height="154"></a></p> <p><font color="#fd3f0d" size="4"><strong>解决在 SBS2011 上因压缩模块导致的 HTTP 500.19 故障问题</strong></font></p> <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 前一篇与大家分享了因开启 32BitApponWin64 后出现的 HTTP 503 故障问题（<a title="http://goxia.maytide.net/read.php/1678.htm" href="http://goxia.maytide.net/read.php/1678.htm">http://goxia.maytide.net/read.php/1678.htm</a>），而本篇还是与 IIS 和 ASP 有关。接二连三出现问题也并不是 <a href="http://goxia.maytide.net/" target="_blank">gOxiA</a> 所希望看到的结果，但是之前在调试那个 ASP 程序时确实很不顺利，在 503 故障解决之后紧接着就是 500.19 故障。</p> <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 大家知道 500.19 是常见故障，导致该问题的出现原因有很多，如果仅是单纯看错误摘要“无法访问请求的页面，因为该页的相关配置数据无效”，是很难确定故障原因的。</p> <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 所以我们需要将重点放在详细错误信息中，以本案为例，参考下图可看到在详细错误信息中提示“模块 DynamicCompressionModule”出现错误，错误代码为“0x8007007e”。</p> <p><a href="http://goxia.maytide.net/ftpupfiles/IIS_CF79/3.png"><img title="3" style="border-top: 0px; border-right: 0px; background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; border-left: 0px; display: inline; padding-right: 0px" border="0" alt="3" src="http://goxia.maytide.net/ftpupfiles/IIS_CF79/3_thumb.png" width="568" height="528"></a></p> <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 检查了 Windows Server 2012 Essentials 环境，发现该 ASP 程序所在网站也启用了压缩模块，但访问是正常的。此外在 iis.net 上找到一篇相关的帖子 <a title="http://forums.iis.net/t/1149768.aspx/1/10" href="http://forums.iis.net/t/1149768.aspx/1/10">http://forums.iis.net/t/1149768.aspx/1/10</a>，貌似与 SBS2011 上集成的服务应用有关，尤其是 WSUS，涉及文件“suscomp.dll”，suscomp.dll 是 WSUS 的专用压缩模块。</p> <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 起初，gOxiA 参考帖子直接将加载的 suscomp.dll 语句注释掉以禁用加载，之后测试 ASP 程序确实就正常了，但这样以来就要牺牲掉 WSUS 的压缩模块。suscomp.dll 属于全局类型的模块，它根据压缩的类型（动态或静态）由 IIS 的 compdyn.dll 和 compstat.dll 进行调用，所以在 IIS 管理器的站点模块管理中也找不到对应的配置信息，所以单独对站点禁用该模块是不可能的。</p> <p><a href="http://goxia.maytide.net/ftpupfiles/IIS_CF79/4.png"><img title="4" style="border-top: 0px; border-right: 0px; background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; border-left: 0px; display: inline; padding-right: 0px" border="0" alt="4" src="http://goxia.maytide.net/ftpupfiles/IIS_CF79/4_thumb.png" width="634" height="358"></a></p> <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 此外想单纯通过禁用站点的压缩功能也是不行的，因为相关的模块还是被加载了，只要加载就会导致故障的出现。</p> <p><a href="http://goxia.maytide.net/ftpupfiles/IIS_CF79/image.png"><img title="image" style="border-top: 0px; border-right: 0px; background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; margin: 0px; border-left: 0px; display: inline; padding-right: 0px" border="0" alt="image" src="http://goxia.maytide.net/ftpupfiles/IIS_CF79/image_thumb.png" width="634" height="332"></a></p> <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 所以要彻底解决这一故障的唯一办法就是将对应站点中的动态和静态压缩模块全部给删除掉，不予以加载。要直接为单独某个站点删除模块，是不行的！会提示错误“锁定冲突”……</p> <p><a href="http://goxia.maytide.net/ftpupfiles/IIS_CF79/image_3.png"><img title="image" style="border-top: 0px; border-right: 0px; background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; border-left: 0px; display: inline; padding-right: 0px" border="0" alt="image" src="http://goxia.maytide.net/ftpupfiles/IIS_CF79/image_thumb_3.png" width="210" height="208"></a></p> <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 为此，要修改 IIS 服务设置，即在 IIS 管理器里选中当前服务器，通过内容窗体中的“模块”进入其设置，找到对应的模块（如：DynamicCompressionModule），在任务窗体中点击“解除锁定”，之后才能在对应站点中对模块进行删除。</p> <p><a href="http://goxia.maytide.net/ftpupfiles/IIS_CF79/image_4.png"><img title="image" style="border-top: 0px; border-right: 0px; background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; margin: 0px; border-left: 0px; display: inline; padding-right: 0px" border="0" alt="image" src="http://goxia.maytide.net/ftpupfiles/IIS_CF79/image_thumb_4.png" width="634" height="332"></a></p> <p><a href="http://goxia.maytide.net/ftpupfiles/IIS_CF79/image_5.png"><img title="image" style="border-top: 0px; border-right: 0px; background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; margin: 0px; border-left: 0px; display: inline; padding-right: 0px" border="0" alt="image" src="http://goxia.maytide.net/ftpupfiles/IIS_CF79/image_thumb_5.png" width="634" height="358"></a></p> <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 因为涉及到的是全局的 suscomp.dll 模块，所以为了保证 ASP 程序正常访问，除了要删除 动态压缩模块以外，同时还要删除静态压缩模块（StaticCompressionModule）。现在 ASP 程序便可正常访问了，而且也不会影响到 WSUS 服务。（PS：不能再拖了，要尽快完成 SBS2011Std 到 WS2012Ess 的升迁工作！！！）</p>
]]>
</description>
</item><item>
<link>https://maytide.net/read.php/1678.htm</link>
<title><![CDATA[[SBS]解决因开启 32BitApponWin64 后出现的 HTTP 503 故障问题]]></title> 
<author>gOxiA &lt;sufan_cn@msn.com&gt;</author>
<category><![CDATA[Microsoft IIS]]></category>
<pubDate>Fri, 14 Jun 2013 07:20:32 +0000</pubDate> 
<guid>https://maytide.net/read.php/1678.htm</guid> 
<description>
<![CDATA[ 
	<p><a href="http://www.iis.net/"><img title="IIS7_Welcome" border="0" alt="IIS7_Welcome" src="http://goxia.maytide.net/ftpupfiles/IIS--IIS-7.x--32bit-_BF4E/IIS7_Welcome.png" width="552" height="154"></a></p> <p><font color="#fd3f0d" size="4"><strong>解决因开启 32BitApponWin64 后出现的 HTTP 503 故障问题</strong></font></p> <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;自从离开 Hosting 行业，好久没有做过 IIS 方面的排错，今天算是遇到了一个，感觉会很常见，所以记录下来以备后用。用户购买了一套 ASP+Access 的小程序（PS：别问为什么还要买这么老旧的架构程序！），配置到用户的 Windows Server 2012 Essentials 环境中运行正常，操作过程并无什么特别，只是为其应用池开启 32位程序支持即可，整个过程非常顺利。</p> <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;反而在之后配置到 <a href="http://goxia.maytide.net/" target="_blank">gOxiA</a> 的 Windows Small Business Server 2011 Standard 环境中后一直无法正常运行，IE 访问时提示“Service Unavailable”，经典的 HTTP 503 故障。起初检查 IIS 配置没有发现异常，但是看到对应的应用池会被停掉。于是打开事件查看器查阅日志，发现了很多来源为“IIS-W3SVC-WP”的错误，其内容大致如下：</p> <p>“<font style="background-color: #ffff00"><em>由于配置问题，无法加载模块 DLL “C:Program FilesMicrosoftExchange ServerV14ClientAccessOwaauthexppw.dll”。当前配置仅支持加载为 x86 处理器架构构建的映像。……</em></font>”此外，除了 exppw.dll 文件外还有 kerbauth.dll 也出现错误。</p> <p><a href="http://goxia.maytide.net/ftpupfiles/4c47e9975d77_C8EB/1.png"><img title="1" style="border-top: 0px; border-right: 0px; background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; border-left: 0px; display: inline; padding-right: 0px" border="0" alt="1" src="http://goxia.maytide.net/ftpupfiles/4c47e9975d77_C8EB/1_thumb.png" width="634" height="358"></a></p> <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;综上分析，应用程序池的 32位应用支持是正常打开了，但是却无法加载 64位的 DLL 文件。而关闭“enable32BitAppOnWin64”后应用程序池恢复正常，但无法访问 ASP 程序。那么原因应该是出在应用程序池和加载模块的问题上。“exppw.dll”和“kerbauth.dll”文件都属于服务器上的 Exchange Server 2010 所有，这两个文件本身肯定是没有问题的。</p> <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;看来还是要锁定到应用程序池方面，应用程序池本身是64位的，只是开启了32位应用支持，所以应用程序池在设置后是正常运行状态。当触发访问请求时，该应用程序池会启动一个新的32位模式的进程，来接受 ASP 类型的访问请求，此时就会导致 32位应用程序池进程（w3wp.exe）与加载的 64位 DLL 出现系统策略上的冲突，被系统强行终止，最终出现前面所述的故障。</p> <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;要解决这个故障貌似挺难的，难不成跑了64位应用（Exchange Server 2010）的服务器就不能跑 32位 的 ASP 程序了？！看来只能网上找找是否有相关的资料，这还真的找到了！参考资料：<a title="http://blogs.msdn.com/b/rakkimk/archive/2007/11/03/iis7-running-32-bit-and-64-bit-asp-net-versions-at-the-same-time-on-different-worker-processes.aspx" href="http://blogs.msdn.com/b/rakkimk/archive/2007/11/03/iis7-running-32-bit-and-64-bit-asp-net-versions-at-the-same-time-on-different-worker-processes.aspx">http://blogs.msdn.com/b/rakkimk/archive/2007/11/03/iis7-running-32-bit-and-64-bit-asp-net-versions-at-the-same-time-on-different-worker-processes.aspx</a></p> <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;文中末尾提到可以修改“applicationHost.config”文件，为加载的 DLL 指定对应架构模式的 ISAPI Filter 来运行。即，在每个 DLL 加载配置行尾附加“preCondition”参数，如果该 DLL 是 32位那值为“bitness32”，而 64位的则是“bitness64”。修改后的结果可以参考下图：</p> <p><a href="http://goxia.maytide.net/ftpupfiles/4c47e9975d77_C8EB/2.png"><img title="2" style="border-top: 0px; border-right: 0px; background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; border-left: 0px; display: inline; padding-right: 0px" border="0" alt="2" src="http://goxia.maytide.net/ftpupfiles/4c47e9975d77_C8EB/2_thumb.png" width="634" height="358"></a></p> <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;针对本例，我们需要修改的有两个：“exppw.dll”和“kerbauth.dll”。最后测试一下结果，网站已经能够正常访问，至此故障消失问题得到了解决！同样，有遇到类似故障的都可参考此法解决。</p><br/>Tags - <a href="https://maytide.net/go.php/tags/microsoft/" rel="tag">microsoft</a> , <a href="https://maytide.net/go.php/tags/windows/" rel="tag">windows</a> , <a href="https://maytide.net/go.php/tags/small/" rel="tag">small</a> , <a href="https://maytide.net/go.php/tags/business/" rel="tag">business</a> , <a href="https://maytide.net/go.php/tags/server/" rel="tag">server</a> , <a href="https://maytide.net/go.php/tags/2011/" rel="tag">2011</a> , <a href="https://maytide.net/go.php/tags/standard/" rel="tag">standard</a> , <a href="https://maytide.net/go.php/tags/iis/" rel="tag">iis</a> , <a href="https://maytide.net/go.php/tags/32bitapponwin64/" rel="tag">32bitapponwin64</a> , <a href="https://maytide.net/go.php/tags/precondition/" rel="tag">precondition</a>
]]>
</description>
</item><item>
<link>https://maytide.net/read.php/1579.htm</link>
<title><![CDATA[[IIS] HOWTO：使用 Web Deploy 便捷发布网站程序]]></title> 
<author>gOxiA &lt;sufan_cn@msn.com&gt;</author>
<category><![CDATA[Microsoft IIS]]></category>
<pubDate>Fri, 13 Apr 2012 02:15:13 +0000</pubDate> 
<guid>https://maytide.net/read.php/1579.htm</guid> 
<description>
<![CDATA[ 
	<p><a href="http://goxia.maytide.net/ftpupfiles/IIS--IIS-7.x--32bit-_BF4E/logo-windows-server-2008-r2.png"><img title="logo-windows-server-2008-r2" border="0" alt="logo-windows-server-2008-r2" src="http://goxia.maytide.net/ftpupfiles/IIS--IIS-7.x--32bit-_BF4E/logo-windows-server-2008-r2_thumb.png" width="366" height="51"></a></p> <p><strong><font color="#fd3f0d" size="4">HOWTO：使用 Web Deploy 便捷发布网站程序</font></strong></p> <p><a href="http://www.iis.net/"><img title="IIS7_Welcome" border="0" alt="IIS7_Welcome" src="http://goxia.maytide.net/ftpupfiles/IIS--IIS-7.x--32bit-_BF4E/IIS7_Welcome.png" width="552" height="154"></a></p> <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="http://goxia.maytide.net/" target="_blank">gOxiA</a> 最近找了一个 .NET 的开源网站程序，改吧改吧当作企业网站来用，该网站程序需要 SQL Server，由于改动比较简单所以没打算使用复杂的开发环境，<a href="http://goxia.maytide.net/read.php/1477.htm" target="_blank">WebMatrix</a> 就成了不二之选！借助 Web Deploy 技术，在发布网站的同时还能将数据库一并发布，简单快捷，并且无需在 Web Server 上安装 FTP。</p> <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Web Deploy 是 IIS 的一个插件，最新版本是 v3.0 Beta，本篇日志将以 Web Deploy 2.0 为例与大家分享，Web Deploy 可以从 <a href="http://www.microsoft.com/download/en/default.aspx" target="_blank">Microsoft Download Center</a> 获得，下载地址如下：</p> <p>Web deploy 2.0 简体中文版：<a title="http://www.microsoft.com/downloads/zh-cn/details.aspx?familyid=cfa66d50-90ce-49cba-b021-fefbd7a302ab" href="http://www.microsoft.com/downloads/zh-cn/details.aspx?familyid=cfa66d50-90ce-49cba-b021-fefbd7a302ab">http://www.microsoft.com/downloads/zh-cn/details.aspx?familyid=cfa66d50-90ce-49cba-b021-fefbd7a302ab</a></p> <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Web Deploy 的安全访问机制和访问接口都依赖于 IIS 的“管理服务”组件，所以要使用 Web Deploy 必须先安装&nbsp;&nbsp;IIS 的“管理服务”。为此，首先打开“服务器管理器”添加角色服务，整个安装过程非常简单不再复述，可参考下图：</p> <p><a href="http://goxia.maytide.net/ftpupfiles/a257d5b27e05_9C0F/1.png"><img style="background-image: none; border-bottom: 0px; border-left: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="1" border="0" alt="1" src="http://goxia.maytide.net/ftpupfiles/a257d5b27e05_9C0F/1_thumb.png" width="644" height="484"></a><a href="http://goxia.maytide.net/ftpupfiles/a257d5b27e05_9C0F/1-1.png"><img style="background-image: none; border-bottom: 0px; border-left: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="1-1" border="0" alt="1-1" src="http://goxia.maytide.net/ftpupfiles/a257d5b27e05_9C0F/1-1_thumb.png" width="644" height="484"></a></p> <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;在“管理服务”安装完毕后即可执行 Microsoft Web Deploy 2.0 的安装程序，过程依旧非常简单一路“下一步”即可，过程可参考下图：</p> <p><a href="http://goxia.maytide.net/ftpupfiles/a257d5b27e05_9C0F/2.png"><img style="background-image: none; border-bottom: 0px; border-left: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="2" border="0" alt="2" src="http://goxia.maytide.net/ftpupfiles/a257d5b27e05_9C0F/2_thumb.png" width="644" height="484"></a><a href="http://goxia.maytide.net/ftpupfiles/a257d5b27e05_9C0F/2-1.png"><img style="background-image: none; border-bottom: 0px; border-left: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="2-1" border="0" alt="2-1" src="http://goxia.maytide.net/ftpupfiles/a257d5b27e05_9C0F/2-1_thumb.png" width="644" height="484"></a><a href="http://goxia.maytide.net/ftpupfiles/a257d5b27e05_9C0F/2-2.png"><img style="background-image: none; border-bottom: 0px; border-left: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="2-2" border="0" alt="2-2" src="http://goxia.maytide.net/ftpupfiles/a257d5b27e05_9C0F/2-2_thumb.png" width="644" height="484"></a><a href="http://goxia.maytide.net/ftpupfiles/a257d5b27e05_9C0F/3.png"><img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="3" border="0" alt="3" src="http://goxia.maytide.net/ftpupfiles/a257d5b27e05_9C0F/3_thumb.png" width="644" height="403"></a></p> <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Web Deploy 安装完毕后，便可进行下一步的配置过程。首先请确认“管理服务”是否已经在运行，如下图所示：</p> <p><a href="http://goxia.maytide.net/ftpupfiles/a257d5b27e05_9C0F/9.png"><img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="9" border="0" alt="9" src="http://goxia.maytide.net/ftpupfiles/a257d5b27e05_9C0F/9_thumb.png" width="644" height="484"></a></p> <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;之后进入“IIS 管理器用户”添加一个账号，这个账号是基于 IIS 的，并非 Windows 账号，所以在安全方面会更强一些。</p> <p><a href="http://goxia.maytide.net/ftpupfiles/a257d5b27e05_9C0F/4.png"><img style="background-image: none; border-bottom: 0px; border-left: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="4" border="0" alt="4" src="http://goxia.maytide.net/ftpupfiles/a257d5b27e05_9C0F/4_thumb.png" width="644" height="484"></a></p> <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;下来，就可以为需要使用 Web Deploy 的站点添加管理账号了。选中一个站点，进入“IIS 管理器权限”，在操作窗体中点击“允许用户…”，之后从 IIS 管理器中添加用户即可。</p> <p><a href="http://goxia.maytide.net/ftpupfiles/a257d5b27e05_9C0F/5.png"><img style="background-image: none; border-bottom: 0px; border-left: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="5" border="0" alt="5" src="http://goxia.maytide.net/ftpupfiles/a257d5b27e05_9C0F/5_thumb.png" width="644" height="484"></a><a href="http://goxia.maytide.net/ftpupfiles/a257d5b27e05_9C0F/6.png"><img style="background-image: none; border-bottom: 0px; border-left: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="6" border="0" alt="6" src="http://goxia.maytide.net/ftpupfiles/a257d5b27e05_9C0F/6_thumb.png" width="644" height="484"></a></p> <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;最后，便可在 WebMatrix 中的发布设置中选择“Web Deploy”，其中“服务器”填写 Web Server 的 IP 地址，“用户名”、“密码”即是之前在“IIS 管理器用户”添加的信息，而“网站名称”需要填写的是与 IIS 里站点对应的名称，如果当前 WebMatrix 站点配置有数据库，那么还可以在发布设置下通过 Web Deploy 配置数据库信息，使发布网站的同时也将数据库传递给 Web Server。</p> <p><a href="http://goxia.maytide.net/ftpupfiles/a257d5b27e05_9C0F/7.png"><img style="background-image: none; border-bottom: 0px; border-left: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="7" border="0" alt="7" src="http://goxia.maytide.net/ftpupfiles/a257d5b27e05_9C0F/7_thumb.png" width="644" height="484"></a></p> <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;上述步骤完成后点击“验证连接”，因为当前 Web Server 使用了自签名证书，所以会有如下图的警告提示，我们只需复选“为 WebMatrix 的将来会话保存此证书”，并点击“接受证书”便可继续连接。</p> <p><a href="http://goxia.maytide.net/ftpupfiles/a257d5b27e05_9C0F/8.png"><img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="8" border="0" alt="8" src="http://goxia.maytide.net/ftpupfiles/a257d5b27e05_9C0F/8_thumb.png" width="644" height="484"></a></p> <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Web Deploy 的功能非常强大，除了 WebMatrix，还能利用微软的 Visual Studio 实现更为便捷、高效、智能的网站发布。由于 gOxiA 不是专业的开发人员，所以 Web Deploy 更多的经验恐怕无法与大家分享。</p> <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;最后，关于 Web Deploy 使用“IIS 管理器用户”时的目录安全权限方面的经验再与大家分享一下，根据实际的测试当使用“IIS 管理器用户”进行 Web Deploy 发布时，目录权限要添加“Local Service”账号有修改权限。此外，如果你希望使用 WebMatrix 来检查网站兼容性，那么还需要为 Web Server 上的网站所在目录添加“Service”账号有读取权限。 </p><br/>Tags - <a href="https://maytide.net/go.php/tags/microsoft/" rel="tag">microsoft</a> , <a href="https://maytide.net/go.php/tags/iis/" rel="tag">iis</a> , <a href="https://maytide.net/go.php/tags/webmatrix/" rel="tag">webmatrix</a> , <a href="https://maytide.net/go.php/tags/webdeploy/" rel="tag">webdeploy</a>
]]>
</description>
</item><item>
<link>https://maytide.net/read.php/1541.htm</link>
<title><![CDATA[[IIS] 在 IIS 7.x 上启用 32bit 应用支持]]></title> 
<author>gOxiA &lt;sufan_cn@msn.com&gt;</author>
<category><![CDATA[Microsoft IIS]]></category>
<pubDate>Wed, 16 Nov 2011 06:49:57 +0000</pubDate> 
<guid>https://maytide.net/read.php/1541.htm</guid> 
<description>
<![CDATA[ 
	<h1><a href="http://goxia.maytide.net/ftpupfiles/IIS--IIS-7.x--32bit-_BF4E/logo-windows-server-2008-r2.png"><img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="logo-windows-server-2008-r2" border="0" alt="logo-windows-server-2008-r2" src="http://goxia.maytide.net/ftpupfiles/IIS--IIS-7.x--32bit-_BF4E/logo-windows-server-2008-r2_thumb.png" width="366" height="51"></a>&nbsp;&nbsp;<font size="4" face="Arial"><font style="font-weight: normal">Internet Information Services (IIS)</font></font></h1> <h1><font color="#fd3f0d">在 IIS 7.x 上启用 32bit 应用支持</font></h1> <p><font size="5" face="Arial"><a href="http://www.iis.net/" target="_blank"><img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="IIS7_Welcome" border="0" alt="IIS7_Welcome" src="http://goxia.maytide.net/ftpupfiles/IIS--IIS-7.x--32bit-_BF4E/IIS7_Welcome.png" width="552" height="154"></a></font></p> <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;一个朋友的公司近期要新上线一套 Web 应用系统，这几天开始进行评估测试。这套网站基于 DotNET 2.0 开发，使用的是 MSSQL 数据库。于是我们选择了 Windows Web Server 2008 R2 作为操作系统，SQL Server 2008 R2 Express 作为数据库。系统环境的准备工作都很顺利，由于网站是成品所以需要先上传数据并通过浏览器进行安装。没想到在打开网站时提示如下图的错误信息：</p> <p><a href="http://goxia.maytide.net/ftpupfiles/IIS--IIS-7.x--32bit-_BF4E/v5mall_64bit_error_1.png"><img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="v5mall_64bit_error_1" border="0" alt="v5mall_64bit_error_1" src="http://goxia.maytide.net/ftpupfiles/IIS--IIS-7.x--32bit-_BF4E/v5mall_64bit_error_1_thumb.png" width="639" height="480"></a> </p> <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;从错误信息看，是没能找到 V5Mall.Run64.dll 文件。于是首先想到的是去网上搜索一下是否有相关解决方案，并让朋友尽快联系官方技术支持。一天过去了，对方也没给回复，网上找到的相关信息也都来自其官方论坛，说是因为权限问题导致的，但这点可以排除，我的设置是没问题的。比较离谱的是看到论坛最终的解答是让更换虚拟主机提供商！说此问题是因为虚拟主机提供商的服务器与他们的网站程序不兼容。我晕！这个解决办法明显不适合我们，并且也不是个解决办法！已经习惯了国内开发商的产品和服务质量……还是自己动手吧。</p> <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;冷静分析了一下故障错误，既然提示“无法加载 DLL “V5Mall.Run64.dll”：找不到指定的模块。（异常来自 HRESULT:0x8007007E）。”那么首先检查是否有“V5Mall.Run64.dll”这个文件。经查网站下确实无此文件，并且官方也未提供。但是该网站程序又可以运行在“其他”服务器上，如：Windows Server 2003。说明网站程序确实与当前系统环境有兼容性问题，而这个兼容性问题应该是 64bit 操作系统所致。</p> <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;回忆起自己曾摘抄过一篇文章《<a href="http://goxia.maytide.net/read.php/10.htm" target="_blank">Configuring IIS to Run 32-bit Applications on 64-bit Windows (IIS 6.0)</a>》，既然如此那 Windows Web Server 2008 R2 上的 IIS 7.5 也能够启用 32bit 应用支持，这样就可以避免程序去调用“V5Mall.Run64.dll”，使应用以 32bit 方式运行。</p> <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;在 IIS 7.x 中，要“启用 32bit 应用程序支持”，需要对“应用程序池”进行配置。将“<font style="background-color: #ffff00">enable32BitAppOnWin64</font>”设置为“<font style="background-color: #ffff00">True</font>”。这样便将应用程序池的工作进程设置为 WOW64 模式，而在 WOW64 模式下，工作进程将仅加载 32 位应用程序的 32 位进程。为了避免影响其他网站，可为 32bit 应用程序的网站单独创建一个应用程序池。下面 <a href="goxia.maytide.net/" target="_blank">gOxiA</a> 将引导大家如何在 IIS 7.x 下启用 32bit 应用程序支持。</p> <ul> <li>为 32bit 应用程序的网站单独创建一个应用程序池，操作过程省略……；</li> <li>打开“Internet 信息服务 (IIS) 管理器”在左侧窗体中展开服务器列表，找到该网站对应的应用程序池；</li> <li>选中应用程序池，并在右边操作窗体中点击“高级设置…”；</li> <li>在“（常规）”设置中找到“启用 32 位应用程序”，并将其设置改为“True”</li></ul> <p><a href="http://goxia.maytide.net/ftpupfiles/IIS--IIS-7.x--32bit-_BF4E/v5mall_64bit_error_2.png"><img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="v5mall_64bit_error_2" border="0" alt="v5mall_64bit_error_2" src="http://goxia.maytide.net/ftpupfiles/IIS--IIS-7.x--32bit-_BF4E/v5mall_64bit_error_2_thumb.png" width="643" height="484"></a></p> <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;最后确定并完成操作。在 64bit 的 Windows 操作系统上，IIS 7.x 中“启用 32 位应用程序”的默认设置是“False”，为了方便配置和应用，可以通过“设置应用程序池默认设置…”进行统一的修改，这样以后新建的网站应用程序池都将启用 32bit 应用程序支持。</p> <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;此外，我们也可以利用命令行进行设置，命令行参考如下：</p> <p><div class="code">appcmd set apppool /apppool.name:My32bitApp /enable32bitapponwin64:true</div></p> <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;大家如果也有类似的故障错误，可以用此办法解决。</p><br/>Tags - <a href="https://maytide.net/go.php/tags/mirosoft/" rel="tag">mirosoft</a> , <a href="https://maytide.net/go.php/tags/windows/" rel="tag">windows</a> , <a href="https://maytide.net/go.php/tags/server/" rel="tag">server</a> , <a href="https://maytide.net/go.php/tags/2008/" rel="tag">2008</a> , <a href="https://maytide.net/go.php/tags/r2/" rel="tag">r2</a> , <a href="https://maytide.net/go.php/tags/internet/" rel="tag">internet</a> , <a href="https://maytide.net/go.php/tags/information/" rel="tag">information</a> , <a href="https://maytide.net/go.php/tags/services/" rel="tag">services</a> , <a href="https://maytide.net/go.php/tags/iis/" rel="tag">iis</a> , <a href="https://maytide.net/go.php/tags/32bit/" rel="tag">32bit</a> , <a href="https://maytide.net/go.php/tags/64bit/" rel="tag">64bit</a> , <a href="https://maytide.net/go.php/tags/enable32bitapponwin64/" rel="tag">enable32bitapponwin64</a> , <a href="https://maytide.net/go.php/tags/appcmd/" rel="tag">appcmd</a> , <a href="https://maytide.net/go.php/tags/apppool/" rel="tag">apppool</a>
]]>
</description>
</item><item>
<link>https://maytide.net/read.php/1477.htm</link>
<title><![CDATA[[IIS] Microsoft WebMatrix 建站的最简单方式]]></title> 
<author>gOxiA &lt;sufan_cn@msn.com&gt;</author>
<category><![CDATA[Microsoft IIS]]></category>
<pubDate>Thu, 13 Jan 2011 06:42:07 +0000</pubDate> 
<guid>https://maytide.net/read.php/1477.htm</guid> 
<description>
<![CDATA[ 
	<p><a href="http://goxia.maytide.net/ftpupfiles/IISMicrosoftWebPlatformInstaller_A551/msweblogo.png"><img src="http://goxia.maytide.net/ftpupfiles/IISMicrosoftWebPlatformInstaller_A551/msweblogo_thumb.png" border="0" alt="msweb-logo" title="msweb-logo" width="180" height="25" /></a>&nbsp;<a href="http://goxia.maytide.net/ftpupfiles/1620e7a5c8e7_C6FC/WebMatrix.png"><img style="background-image: none; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border: 0px" src="http://goxia.maytide.net/ftpupfiles/1620e7a5c8e7_C6FC/WebMatrix_thumb.png" border="0" alt="WebMatrix" title="WebMatrix" width="239" height="62" /></a></p><p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; WebMatrix 是生成、测试和部署网站的最简单方式。WebMatrix 安装只需要几分钟，并会将 Web 服务器、数据库和编程框架完美集成到单一集成体验中。从 WebMatrix 连接到 Visual Studio 或 SQL Server Express 以利用 <a href="http://www.microsoft.com/china" target="_blank">Microsoft</a> 专业工具和服务器。</p><p><a href="http://goxia.maytide.net/ftpupfiles/1620e7a5c8e7_C6FC/webMatrix_start.png"><img style="background-image: none; padding-left: 0px; padding-right: 0px; display: block; float: none; margin-left: auto; margin-right: auto; padding-top: 0px; border: 0px" src="http://goxia.maytide.net/ftpupfiles/1620e7a5c8e7_C6FC/webMatrix_start_thumb.png" border="0" alt="webMatrix_start" title="webMatrix_start" width="461" height="236" /></a></p><p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <a href="http://www.microsoft.com/web/gallery/install.aspx?appid=webmatrix" target="_blank">WebMatrix</a> 在今天发布了正式版本，正如前面官方的介绍一样，WebMatrix 的特点即一站式和简化的开发过程。WebMatrix安装后的体积非常之小，仅仅 25M 左右！但是却包含了一个 IIS 核心的轻量级 Web 服务器 &ndash; IIS Developer Express，支持简单的管理；一个基于文件的轻量级数据库 &ndash; SQL Server Compact Edition，也可以连接到其他 SQL Server 版本，以及 .NET 开发框架。</p><p><a href="http://goxia.maytide.net/ftpupfiles/1620e7a5c8e7_C6FC/WebMatrix_Main.png"><img style="background-image: none; padding-left: 0px; padding-right: 0px; display: block; float: none; margin-left: auto; margin-right: auto; padding-top: 0px; border: 0px" src="http://goxia.maytide.net/ftpupfiles/1620e7a5c8e7_C6FC/WebMatrix_Main_thumb.png" border="0" alt="WebMatrix_Main" title="WebMatrix_Main" width="604" height="434" /></a></p><p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 上图是 WebMatrix 启动后的向导页面，除了我们可以自己建立网站以外，还能够从 Web 库或模板创建网站。WebMatrix 同时还支持 PHP，只需简单的几步点击， PHP 即可安装并自动完成配置。</p><p><a href="http://goxia.maytide.net/ftpupfiles/1620e7a5c8e7_C6FC/WebMatrix_PHP.png"><img style="background-image: none; padding-left: 0px; padding-right: 0px; display: block; float: none; margin-left: auto; margin-right: auto; padding-top: 0px; border: 0px" src="http://goxia.maytide.net/ftpupfiles/1620e7a5c8e7_C6FC/WebMatrix_PHP_thumb.png" border="0" alt="WebMatrix_PHP" title="WebMatrix_PHP" width="604" height="431" /></a></p><p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 纯代码方式的页面开发，快速轻巧！也可以连接到 Visual Studio 使用高级开发环境。</p><p><a href="http://goxia.maytide.net/ftpupfiles/1620e7a5c8e7_C6FC/WebMatrix_editpage.png"><img style="background-image: none; padding-left: 0px; padding-right: 0px; display: block; float: none; margin-left: auto; margin-right: auto; padding-top: 0px; border: 0px" src="http://goxia.maytide.net/ftpupfiles/1620e7a5c8e7_C6FC/WebMatrix_editpage_thumb.png" border="0" alt="WebMatrix_editpage" title="WebMatrix_editpage" width="604" height="431" /></a></p><p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 更多功能和操作体验可以安装上 WebMatrix 试试！<a href="http://goxia.maytide.net/" target="_blank">gOxiA</a> 在第一时间安装上了 WebMatrix，简单试用之后无法掩饰自己的激动心情，火速转告需要在 Windows Client 上使用 Web 开发环境的兄弟姐妹们&hellip;&hellip;实在是太方便了！有了 WebMatrix，我们无需再在 Windows Client 平台上搭建复杂的 Web 环境，只需要 WebMatrix 即可轻松开始我们的 Web 开发旅程。</p><p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 即可访问：<a href="http://www.microsoft.com/web/gallery/install.aspx?appid=webmatrix" title="Microsoft WebMatrix">Microsoft WebMatrix</a></p><br/>Tags - <a href="https://maytide.net/go.php/tags/microsoft/" rel="tag">microsoft</a> , <a href="https://maytide.net/go.php/tags/web/" rel="tag">web</a> , <a href="https://maytide.net/go.php/tags/matrix/" rel="tag">matrix</a>
]]>
</description>
</item><item>
<link>https://maytide.net/read.php/1358.htm</link>
<title><![CDATA[[IIS] HOWTO:在 IIS 6 中添加对 Silverlight 的支持]]></title> 
<author>gOxiA &lt;sufan_cn@msn.com&gt;</author>
<category><![CDATA[Microsoft IIS]]></category>
<pubDate>Tue, 23 Feb 2010 03:21:04 +0000</pubDate> 
<guid>https://maytide.net/read.php/1358.htm</guid> 
<description>
<![CDATA[ 
	<p><a href="http://goxia.maytide.net/ftpupfiles/IISHOWTOIIS6Silverlight_9F8A/silverlight_banner.png" target="_blank"><img style="display: inline; border: 0px" src="http://goxia.maytide.net/ftpupfiles/IISHOWTOIIS6Silverlight_9F8A/silverlight_banner_thumb.png" border="0" alt="silverlight_banner" title="silverlight_banner" width="690" height="69" /></a> </p><p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Silverlight 相信对于微软爱好者来说并不陌生，简单讲 Silverlight 是一种新的 Web 呈现技术，能在各种平台上运行。借助该技术，您将拥有内容丰富、视觉效果绚丽的交互式体验，而且无论是在浏览器内、在多个设备上还是在桌面操作系统中，您都可以获得这种体验。Microsoft .NET Framework 3.0 中的呈现技术 XAML（可扩展应用程序标记语言）遵循 WPF（Windows Presentation Foundation），它是 Silverlight 呈现功能的基础。对 Silverlight 的解释引自《<a href="http://msdn.microsoft.com/zh-cn/library/bb190632.aspx" target="_blank">Silverlight 入门</a>》，如果您对该技术感兴趣可通过前面的链接获取相关的入门资讯。</p><p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 从 Windows Server 2008 内置的 IIS 7 开始，默认支持 Silverlight，我们能够直接在网站中放置 Silverlight 供用户使用，但是之前的版本如 Windows Server 2003 下的 IIS 6 则需要手工添加 Silverlight 的相关 MIME 类型，才能正确解释 Silverlight。为此，我们需要在 IIS 6 中添加以下相关的 MIME类型：</p><ul><li><strong><span style="background-color: #ffff00">.xaml&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; application/xaml+xml</span></strong></li><li><strong><span style="background-color: #ffff00">.xap&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; application/x-silverlight-app</span></strong></li><li><strong><span style="background-color: #ffff00">.manifest&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; application/manifest</span></strong></li><li><strong><span style="background-color: #ffff00">.application&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; application/x-ms-application</span></strong></li><li><strong><span style="background-color: #ffff00">.xbap&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; application/x-ms-xbap</span></strong></li><li><strong><span style="background-color: #ffff00">.deploy&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; application/octet-stream</span></strong></li><li><strong><span style="background-color: #ffff00">.xps&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; application/vnd.ms-xpsdocument</span></strong></li></ul><p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 操作过程可以参考下图：</p><p><a href="http://goxia.maytide.net/ftpupfiles/IISHOWTOIIS6Silverlight_9F8A/setup_iis_mime.png" target="_blank"><img style="display: inline; border: 0px" src="http://goxia.maytide.net/ftpupfiles/IISHOWTOIIS6Silverlight_9F8A/setup_iis_mime_thumb.png" border="0" alt="setup_iis_mime" title="setup_iis_mime" width="604" height="441" /></a> </p><p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 如果希望了解如何通过脚本来为 IIS 6 自动添加 MIME 类型，可以参考：<a href="http://msdn.microsoft.com/en-us/library/ms752346.aspx" target="_blank">How to: Configure IIS 5.0 and IIS 6.0 to Deploy WPF Applicaitions</a></p><p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 最后推荐几个 Sliverlight 学习站点：</p><p><a href="http://silverlight.net/" target="_blank">The Official Microsoft Silverlight Site</a></p><p><a href="http://silverlight.cn/" target="_blank">Silverlight 中文社区</a></p><p><a href="http://www.slfans.com/" target="_blank">Silverlight 爱好者</a></p><p><a href="http://www.silverlightchina.net/" target="_blank">银光中国 &ndash; Silverlight 资源社区</a></p><p><a href="http://wpfe.cnblogs.com/" target="_blank">博客园 &ndash; Silverlight 学习与研究</a></p><br/>Tags - <a href="https://maytide.net/go.php/tags/iis/" rel="tag">iis</a> , <a href="https://maytide.net/go.php/tags/silverlight/" rel="tag">silverlight</a>
]]>
</description>
</item><item>
<link>https://maytide.net/read.php/1284.htm</link>
<title><![CDATA[[IIS] Microsoft Web Platform Installer]]></title> 
<author>gOxiA &lt;sufan_cn@msn.com&gt;</author>
<category><![CDATA[Microsoft IIS]]></category>
<pubDate>Fri, 21 Aug 2009 03:45:14 +0000</pubDate> 
<guid>https://maytide.net/read.php/1284.htm</guid> 
<description>
<![CDATA[ 
	<p><a href="http://goxia.maytide.net/ftpupfiles/IISMicrosoftWebPlatformInstaller_A551/msweblogo.png" target="_blank"><img style="display: inline; border: 0px" src="http://goxia.maytide.net/ftpupfiles/IISMicrosoftWebPlatformInstaller_A551/msweblogo_thumb.png" border="0" alt="msweb-logo" title="msweb-logo" width="180" height="25" /></a>&nbsp; Microsoft Web Platform Installer</p><p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Microsoft Web Platform installer 是一个款免费的工具，使用它可以轻松地为我们安装和部署 Web 平台以及应用。gOxiA 在测试评估 Windows Server 2008 R2 时对该软件进行了体验，效果令人称道！</p><p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 刚才说过 Web Platform Installer 可以安装和部署 Web 平台和应用，有图有真相！这里就不再文字复述，而且 Web Platform Installer 也不断再丰富其资源。</p><p><a href="http://goxia.maytide.net/ftpupfiles/IISMicrosoftWebPlatformInstaller_A551/Windows_Web_App_gallery.png"><img style="display: inline; border: 0px" src="http://goxia.maytide.net/ftpupfiles/IISMicrosoftWebPlatformInstaller_A551/Windows_Web_App_gallery_thumb.png" border="0" alt="Windows_Web_App_gallery" title="Windows_Web_App_gallery" width="704" height="77" /></a> </p><p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 下面是支持的 Web Applications，我们知道近几年微软和 PHP 的关系非常微妙，微软在全力地支持 PHP，在 Windows 上的 PHP 性能指标甚至已经超越了它的原生平台。所以，在 Web Applications 下除了常见的 .NET 程序外，还包含了一些 PHP 程序，其中就有我们常见的 Blog 程序 &mdash; Wordpess。Web Applications 目前涉及到了 6大类，能够满足不同人群的需要。</p><p><a href="http://goxia.maytide.net/ftpupfiles/IISMicrosoftWebPlatformInstaller_A551/web_applications.png" target="_blank"><img style="display: inline; border: 0px" src="http://goxia.maytide.net/ftpupfiles/IISMicrosoftWebPlatformInstaller_A551/web_applications_thumb.png" border="0" alt="web_applications" title="web_applications" width="604" height="442" /></a> </p><p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 而下面这张图展示的受支持的 Web Platform，不过发现并为提供 MySQL 的支持，要知道 PHP+MySQL 可是黄金组合，不过发现微软提供了 Microsoft SQL Server Driver for PHP 1.0，看来有意要将 PHP+SQLServer 凑成一对儿！要想通过 Microsoft Platform Installer 来安装 MySQL 恐怕近期内是不用想了，貌似 MySQL 并不愿意合作！所以如果你要使用 MySQL 还是乖乖的先单独下载和安装吧。不过即使如此，大家也不必担心！一旦使用 Microsoft Platform Installer 来安装涉及到 MySQL 的 Web 应用程序时 Microsoft Platform Installer 会提供相关的数据库配置向导来协助你完成 web 应用的安装。</p><p><a href="http://goxia.maytide.net/ftpupfiles/IISMicrosoftWebPlatformInstaller_A551/web_platform.png" target="_blank"><img style="display: inline; border: 0px" src="http://goxia.maytide.net/ftpupfiles/IISMicrosoftWebPlatformInstaller_A551/web_platform_thumb.png" border="0" alt="web_platform" title="web_platform" width="604" height="440" /></a> </p><p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 说了这么多好的，也来揭揭短！Microsoft Platform Installer 目前的下载速度真不如微软其他的网站，不知道是不是最近国际光缆故障问题所致！这一点 gOxiA 保留态度，以观后效，嘿嘿！此外提供的 Web Applications 还是不够海量，起码国内的程序还没一个能看到的，也许微软对其要求比较严格，适当的 Open 一下，重视一下中文地域用户还是很有必要的！或许是国内的 Web 开发者们对此不屑一顾，因为在 Microsoft Platform Installer 网站上对开发者们提供了登录入口！希望国内的 Web Developers 不要错失良机哦！</p><p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Microsoft Web Platform Installer&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Windows Web App Gallery</p><p><a href="http://www.microsoft.com/web/downloads/platform.aspx" target="_blank"><img style="display: inline; border: 0px" src="http://goxia.maytide.net/ftpupfiles/IISMicrosoftWebPlatformInstaller_A551/mainwebpidownload.jpg" border="0" alt="main-webpi-download" title="main-webpi-download" width="340" height="235" /></a> <a href="http://www.microsoft.com/web/gallery/" target="_blank"><img style="display: inline; border: 0px" src="http://goxia.maytide.net/ftpupfiles/IISMicrosoftWebPlatformInstaller_A551/mainwebappdownload.jpg" border="0" alt="main-webapp-download" title="main-webapp-download" width="340" height="235" /></a></p><br/>Tags - <a href="https://maytide.net/go.php/tags/microsoft/" rel="tag">microsoft</a> , <a href="https://maytide.net/go.php/tags/web/" rel="tag">web</a> , <a href="https://maytide.net/go.php/tags/platform/" rel="tag">platform</a> , <a href="https://maytide.net/go.php/tags/installer/" rel="tag">installer</a> , <a href="https://maytide.net/go.php/tags/app/" rel="tag">app</a> , <a href="https://maytide.net/go.php/tags/gallery/" rel="tag">gallery</a> , <a href="https://maytide.net/go.php/tags/php/" rel="tag">php</a> , <a href="https://maytide.net/go.php/tags/mysql/" rel="tag">mysql</a>
]]>
</description>
</item><item>
<link>https://maytide.net/read.php/1283.htm</link>
<title><![CDATA[[IIS] 在 IIS7 上配置 FTP7 使用 IIS管理凭据 方式进行验证]]></title> 
<author>gOxiA &lt;sufan_cn@msn.com&gt;</author>
<category><![CDATA[Microsoft IIS]]></category>
<pubDate>Thu, 20 Aug 2009 05:50:35 +0000</pubDate> 
<guid>https://maytide.net/read.php/1283.htm</guid> 
<description>
<![CDATA[ 
	<p><img src="http://goxia.maytide.net/upfiles/IIS7Logo.jpg" border="0" width="640" height="188" /></p><p><a href="http://goxia.maytide.net/ftpupfiles/WindowsServer2008R2_EA08/WS08R2_v_rgb.png"><img src="http://goxia.maytide.net/ftpupfiles/WindowsServer2008R2_EA08/WS08R2_v_rgb_thumb.png" border="0" alt="WS08-R2_v_rgb" title="WS08-R2_v_rgb" width="240" height="75" /></a> 在 IIS7 上配置 FTP7 使用 IIS管理凭据 方式进行验证</p><p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;在 Windows Server 2008 R2 发布后，gOxiA 就开始着手于相关的测试和评估。IIS 是重点测试和评估之一！而今天与大家分享的是如何在&nbsp;&nbsp;IIS7 上配置 FTP7 使用 IIS管理凭据 方式进行身份验证。提到 MSFTP 服务，恐怕知道的人多，但是真正使用的人少！特别是 IDC 环境下多数会选择 Serv-U FTP Server，gOxiA 从 Windows Server 2008 开始就不再使用 Serv-U，原因很简单！Serv-U 不是免费的，此次 Serv-U 默认存在安全隐患。况且开放 FTP 也是为了方便自己维护网站，下载上传资料用！所以用系统自身的软件不是更好！维护也相对容易很多！但是，使用过 MSFTP 的朋友知道从&nbsp;&nbsp;FTP7 开始，微软才为 MSFTP 设计提供了对非 Windows 身份验证功能的支持，也就是说如果我们要访问 MSFTP 则不必再在系统里添加用户帐号，而可以使用 IIS 来统一管理单独的凭据！现在我们再也不用担心，使用 MSFTP 会存在用户帐号安全隐患的问题。</p><p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;这是一篇 Step by Step，所以其中涉及到的相关原理及知识内容不作过多介绍！我们将通过 IIS7 提供的 IisManagerAuth 身份验证模块来实现 IIS管理凭据的 FTP 帐号。具体步骤如下：</p><p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;在开始配置之前，我们需要修改相关目录的目录安全权限，这一步骤是必须的，否则在登录 FTP 的时候会出现错误。如下图所示，我们会看到由于权限不足导致无法读取配置文件的错误提示。而无权限读取的文件是位于 inetsrv＼config 下的 redirection.config 文件。经过 gOxiA 的测试发现即使为该文件添加了相应的权限但仍提示登录失败，最终要配置 config 目录权限，赋予 Network Service（FTP7 进程的默认帐户）有读取权限后才能正常登录。</p><p><a href="http://goxia.maytide.net/ftpupfiles/IISIIS7FTP7IIS_FEB1/msftp_loginfail.png" target="_blank"><img style="display: inline; border-width: 0px" src="http://goxia.maytide.net/ftpupfiles/IISIIS7FTP7IIS_FEB1/msftp_loginfail_thumb.png" border="0" alt="msftp_loginfail" title="msftp_loginfail" width="604" height="394" /></a></p><p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;为了简单的演示目录权限的设置过程，gOxiA 参考了 IIS.net 中相关文章的命令行，其中涉及到的 cacls 可以直接运行就可以得到参数帮助。要执行的命令行如下：</p><p><div class="code">cacls c:＼windows＼system32＼inetsrv＼config /G &quot;Network Service&quot;:R /E</div></p><p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;配置了 config 目录权限后，请确保 &ldquo;Network Service&rdquo;对该目录下的 administration.config 和 redirection.config 文件有读取权限，否则请执行如下命令行：</p><p><div class="code">cacls c:＼windows＼system32＼inetsrv＼config＼administration.config /G &quot;Network Service&quot;:R /E</div></p><p><div class="code">cacls c:＼windows＼system32＼inetsrv＼config＼redirection.config /G &quot;Network Service&quot;:R /E</div></p><p><a href="http://goxia.maytide.net/ftpupfiles/IISIIS7FTP7IIS_FEB1/cacls_config.png" target="_blank"><img style="display: inline; border-width: 0px" src="http://goxia.maytide.net/ftpupfiles/IISIIS7FTP7IIS_FEB1/cacls_config_thumb.png" border="0" alt="cacls_config" title="cacls_config" width="604" height="385" /></a> </p><p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;之后创建一个 FTP 的默认目录，注意请添加&ldquo;Network Service&rdquo;有完全控制的权限。</p><p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;下面，我们开始配置 IIS7，创建一个 FTP 站点，为其启用 IisManagerAuth，并创建一个 IIS管理凭据的帐户，使其具备 FTP 相应的访问权限。<br/>............<br/><br/>Tags - <a href="https://maytide.net/go.php/tags/microsoft/" rel="tag">microsoft</a> , <a href="https://maytide.net/go.php/tags/windows/" rel="tag">windows</a> , <a href="https://maytide.net/go.php/tags/server/" rel="tag">server</a> , <a href="https://maytide.net/go.php/tags/2008/" rel="tag">2008</a> , <a href="https://maytide.net/go.php/tags/r2/" rel="tag">r2</a> , <a href="https://maytide.net/go.php/tags/iis/" rel="tag">iis</a> , <a href="https://maytide.net/go.php/tags/7/" rel="tag">7</a> , <a href="https://maytide.net/go.php/tags/ftp/" rel="tag">ftp</a> , <a href="https://maytide.net/go.php/tags/7.5/" rel="tag">7.5</a> , <a href="https://maytide.net/go.php/tags/iismanagerauth/" rel="tag">iismanagerauth</a> , <a href="https://maytide.net/go.php/tags/cacls/" rel="tag">cacls</a> , <a href="https://maytide.net/go.php/tags/iis%25E7%25AE%25A1%25E7%2590%2586%25E5%2587%25AD%25E6%258D%25AE/" rel="tag">iis管理凭据</a>
]]>
</description>
</item><item>
<link>https://maytide.net/read.php/1162.htm</link>
<title><![CDATA[[IIS MIME] 在 IIS 下添加 FLV 类型文件的支持]]></title> 
<author>gOxiA &lt;sufan_cn@msn.com&gt;</author>
<category><![CDATA[Microsoft IIS]]></category>
<pubDate>Sat, 28 Feb 2009 08:13:17 +0000</pubDate> 
<guid>https://maytide.net/read.php/1162.htm</guid> 
<description>
<![CDATA[ 
	<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; FLV 即 Flash Video（Flash 视频），目前主要用于一些在线视频网站，当然也有一些个人网站或企业网站使用到该格式，但是默认情况下 IIS 并未对该格式提供支持，所以系统管理员需要对 IIS 的 MIME 配置进行修改，添加 FLV 文件类型。为此，我们需要执行如下的步骤：</p><ul><li>打开&ldquo;Internet 信息服务(IIS)管理器&rdquo;，选中当前 IIS 服务器，鼠标右键单击&ldquo;属性&rdquo;，之后单击&ldquo;MIME 类型&rdquo;； </li><li>在&ldquo;MIME 类型&rdquo;配置窗体中单击&ldquo;新建&rdquo;； </li><li>在&ldquo;扩展名&rdquo;中填入&ldquo;flv&rdquo;，在&ldquo;MIME 类型&rdquo;中填入&ldquo;flv-application/octet-stream&rdquo;并单击&ldquo;确定&rdquo;； </li><li>完成添加后，重新启动 IIS 即可！ </li></ul><p><a href="http://goxia.maytide.net/ftpupfiles/IISMIMEIISFLV_E419/FLV_via_IIS.png"><img style="display: inline; border-width: 0px" src="http://goxia.maytide.net/ftpupfiles/IISMIMEIISFLV_E419/FLV_via_IIS_thumb.png" border="0" alt="FLV_via_IIS" title="FLV_via_IIS" width="604" height="554" /></a></p><br/>Tags - <a href="https://maytide.net/go.php/tags/iis/" rel="tag">iis</a> , <a href="https://maytide.net/go.php/tags/mime/" rel="tag">mime</a>
]]>
</description>
</item><item>
<link>https://maytide.net/read.php/1088.htm</link>
<title><![CDATA[[IIS7] 为 FTP7 RTM 配置 Windows Firewall]]></title> 
<author>gOxiA &lt;sufan_cn@msn.com&gt;</author>
<category><![CDATA[Microsoft IIS]]></category>
<pubDate>Sat, 01 Nov 2008 02:10:16 +0000</pubDate> 
<guid>https://maytide.net/read.php/1088.htm</guid> 
<description>
<![CDATA[ 
	<img alt="" width="640" height="188" src="/upfiles/IIS7Logo.jpg" /><br /><br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; FTP 应用之所以回归 Microsoft FTP Publishing Service 主要的原因是使用了 IIS7，在此介绍一下！当前的网站是建立在 Windows Server 2008 Web 之上的。虽然网站主要使用 PHP 脚本，但是 Web 平台我依旧钟情于 IIS，特别是全新的 II7 。不知道长期关注本 Blog 的朋友是否发现访问速度有所提升呢？本站依靠 IIS7 的 PHP FastCGI 技术，有效的将 PHP 脚本解析速度足足提升了一倍还多。<br /><br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 早先本打算使用 Windows Server 2008 Web RTM 版 IIS7 内置的 FTP 服务，但是发现该 FTP 服务器版本是 6.0，而 FTP7.0 RTM 是之后发布的，到目前为止 FTP7.0 还没有发布中文版。即使如此，我还是决定安装 Microsoft FTP Publishing Service for IIS7（FTP7.0），毕竟 FTP 主要是自己更新网页上传图片使用，如果再单独安装第三方的 FTP Server，除了资源上的占用和兼容性的问题，恐怕还要多操心安全问题了！<br /><br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; FTP7 的安装很简单，从 <a target="_blank" href="http://www.microsoft.com/downloads">Microsoft Download Center</a> 下载了 <a target="_blank" href="http://www.microsoft.com/downloads/info.aspx?na=22&amp;p=1&amp;SrcDisplayLang=en&amp;SrcCategoryId=&amp;SrcFamilyId=&amp;u=%2fdownloads%2fdetails.aspx%3fFamilyID%3d2eccf14a-5c4f-4cfb-9153-cfe1204b346a%26DisplayLang%3den">Microsoft FTP Service for IIS 7.0</a>，根据向导一路回车便完成了安装。建立了一个 FTP 站点，本地进行了连接测试。之后通过 ISA 将其发布出去，问题来了！外部的用户无法访问，检查发现 FTP7 并未在 Windows Firewall 中添加通过策略，于是手工增加 TCP 21 Port ！外部访问异常，通过 FTP 客户端连接登录偶尔出现无法列表目录，配置 Windows Live Write 的图片上传时，无法通过 FTP 浏览目录。经测试发现是被动模式连接失败，无法打开被动端口。<br/>............<br/><br/>Tags - <a href="https://maytide.net/go.php/tags/iis/" rel="tag">iis</a> , <a href="https://maytide.net/go.php/tags/7/" rel="tag">7</a> , <a href="https://maytide.net/go.php/tags/ftp/" rel="tag">ftp</a> , <a href="https://maytide.net/go.php/tags/windows/" rel="tag">windows</a> , <a href="https://maytide.net/go.php/tags/firewall/" rel="tag">firewall</a> , <a href="https://maytide.net/go.php/tags/advfirewall/" rel="tag">advfirewall</a>
]]>
</description>
</item><item>
<link>https://maytide.net/read.php/1037.htm</link>
<title><![CDATA[[Server Core+II7] 全程记录 Server Core 上部署 II7 + PHP FastCGI + MySQL]]></title> 
<author>gOxiA &lt;sufan_cn@msn.com&gt;</author>
<category><![CDATA[Microsoft IIS]]></category>
<pubDate>Thu, 24 Jul 2008 06:30:07 +0000</pubDate> 
<guid>https://maytide.net/read.php/1037.htm</guid> 
<description>
<![CDATA[ 
	<p><strong><span style="font-size: small">全程记录 Server Core 上部署 II7 + PHP FastCGI + MySQL</span></strong></p><p>前言：</p><p>近段时间由于网站服务器断电而出现一系列问题，让人感到很是郁闷！虽然目前 Blog 能够正常运转，但是效率明显降低很多。于是萌发将系统升级到 Windows Server 2008 平台的想法，这几天一直都在做 Windows Server 2008 和 IIS7 的评估测试，收获颇丰！不敢独享，特以大家都很关注的 Server Core 为中心，撰写此篇关于在 Server Core 上部署 IIS7、PHP FastCGI 和 MySQL 的 Blog 与大家一同学习分享。同时也希望大家能参与讨论。之所以拿 Server Core 来讲，我个人感觉非常有代表性，而且在部署过程中通过相对复杂的命令行反而更能深入地了解和认识 Server Core 与 IIS7 的特性和相关知识。</p><p>目标：</p><p>此次部署过程将使大家详细了解如何在一台全新安装的 Windows Server 2008 Web Edition Server Core （以下简称：WS08WebCore）上部署以 IIS7 为 Web 平台的 PHP + MySQL 服务器，同时会向大家展现如何修改服务器名称、分配静态IP、开启远程桌面、在防火墙上开启远程桌面支持、开启自动更新、安装 II7、安装配置 PHP FastCGI 以及 安装 MySQL 的全部过程。</p><p>涉及到的关键词：Windows Server 2008 Web,Server Core,IIS7,FastCGI,PHP,Netsh,Scregedit.wsf,Pkgmgr,Ocsetup,Oclist,Appcmd</p><p>测试环境：</p><p>宿主：</p><p>ThinkPad X60 1706-BM8：T7200/2G*2/120G/3945ABG/Windows Vista Ultimate with SP1</p><p>虚拟机平台：Virtual PC 2007 with SP1</p><p>虚拟机：Windows Server 2008 Web Edition Server Core，分配 512M 内存和 20G VHD，桥接到宿主3945ABG，开启VT支持</p><p>Step By Step ：</p><p>安装 WS08WebCore 的过程就不再复述，对于新一代操作系统的安装过程所体现出的特性，相信不少朋友与我有一样的认可度。</p><p>在开始之前我们先来了解并确定一些信息！根据新加坡 <a target="_blank" href="http://www.StreetDirectory.com/">StreetDirectory.com</a> 网站的数据了解到他们在 WS08 发布之际就已经开始在测试评估该产品，并取得了让人为之兴奋的成果，经过他们的实际评估，在 WS08 的 IIS7 上以 FastCGI 方式运行 PHP 的效率远远高出原生的 LAMP 环境，而这个数据着实的让人为之震惊和兴奋！足足的高出一倍还多&mdash;&mdash;130%！注意这个数据是在没有进行任何优化的情况下得到的。如果这个数据还不能让你振奋，你现在就可以打开该网站亲身体验一下最终的效果。</p><p><a href="http://goxia.maytide.net/ftpupfiles/ServerCoreII7ServerCoreII7PHPFastCGIMySQ_138A2/WS08vsLinux.jpg"><img style="border-top-width: 0px; border-left-width: 0px; border-bottom-width: 0px; border-right-width: 0px" height="287" alt="WS08vsLinux" width="521" border="0" src="http://goxia.maytide.net/ftpupfiles/ServerCoreII7ServerCoreII7PHPFastCGIMySQ_138A2/WS08vsLinux_thumb.jpg" /></a></p><p>正如我之前提到的，此次使用 Server Core 主要还是为了让大家能够额外了解到 Core 的一些操作特性，在未来我还会与大家分享在 Windows Server 2008 上部署 II7、PHP FastCGI 等等的心得体会。如果您的工作领域涉及到 Web 服务，我想现在就选择升级到 WS08是非常明智的，不论你是运行 ASP 还是 ASP.NET（注意：Server Core 不支持 .NET），甚至是 PHP，WS08 都提供了更强劲的动力支持，它更加稳定、效率更高、更安全、针对资源的控制更为出色。很早以前我就开始了针对 WS08 系列产品的测试和评估，而这次当我怀着测试看看的心情接触了 WS08 的 Web 版本，我深深地被吸引了，要知道如果你仅仅只是为了部署一台用于 Web 服务的服务器，选择 WS08Web 意味着你拥有更大的剩余磁盘空间、减少更多不必要的角色和功能、更低的设备性能需求，更廉价得软件授权费用！从而在减少安全隐患的同时，还提升了运营系统的性能和稳定性，最终有效地降低了 TCO（总体拥有成本）。</p><p>下面让我们进入主题，跟随我一起来体验一下这让人振奋的过程。<br/>............<br/>
]]>
</description>
</item><item>
<link>https://maytide.net/read.php/1035.htm</link>
<title><![CDATA[[IIS7] IIS7安装场景对照表]]></title> 
<author>gOxiA &lt;sufan_cn@msn.com&gt;</author>
<category><![CDATA[Microsoft IIS]]></category>
<pubDate>Tue, 22 Jul 2008 05:58:02 +0000</pubDate> 
<guid>https://maytide.net/read.php/1035.htm</guid> 
<description>
<![CDATA[ 
	<strong><span style="font-size: medium">Default Server Install Components</span></strong> <p></p><table border="0" cellspacing="0" cellpadding="2" width="550"><tbody><tr><td width="275" valign="top"><p><strong><em>Server Manager</em></strong></p></td><td width="275" valign="top"><p><strong><em>Update Name</em></strong></p></td></tr><tr><td width="275" valign="top"><p>Static Content</p></td><td width="275" valign="top"><p>IIS-StaticContent</p></td></tr><tr><td width="275" valign="top"><p>Default Document</p></td><td width="275" valign="top"><p>IIS-DefaultDocument</p></td></tr><tr><td width="275" valign="top"><p>Directory Browsing</p></td><td width="275" valign="top"><p>IIS-DirectoryBrowsing</p></td></tr><tr><td width="275" valign="top"><p>HTTP Errors</p></td><td width="275" valign="top"><p>IIS-HttpErrors</p></td></tr><tr><td width="275" valign="top"><p>HTTP Logging</p></td><td width="275" valign="top"><p>IIS-HttpLogging</p></td></tr><tr><td width="275" valign="top"><p>Logging Tools</p></td><td width="275" valign="top"><p>IIS-LoggingLibraries</p></td></tr><tr><td width="275" valign="top"><p>Request Monitor</p></td><td width="275" valign="top"><p>IIS-RequestMonitor</p></td></tr><tr><td width="275" valign="top"><p>Request Filtering</p></td><td width="275" valign="top"><p>IIS-RequestFiltering</p></td></tr><tr><td width="275" valign="top"><p>Static Content Compression</p></td><td width="275" valign="top"><p>IIS-HttpCompressionStatic</p></td></tr><tr><td width="275" valign="top"><p>IIS Management Console</p></td><td width="275" valign="top"><p>IIS-ManagementConsole</p></td></tr></tbody></table><p><strong><em><span style="font-size: medium">ASP.NET Workload Server Options</span></em></strong></p><table border="0" cellspacing="0" cellpadding="2" width="552"><tbody><tr><td width="275" valign="top"><p><strong><em>Server Manager</em></strong></p></td><td width="275" valign="top"><p><strong><em>Update Name</em></strong></p></td></tr><tr><td width="275" valign="top"><p>Static Content</p></td><td width="275" valign="top"><p>IIS-StaticContent</p></td></tr><tr><td width="275" valign="top"><p>Default Document</p></td><td width="275" valign="top"><p>IIS-DefaultDocument</p></td></tr><tr><td width="275" valign="top"><p>Directory Browsing</p></td><td width="275" valign="top"><p>IIS-DirectoryBrowsing</p></td></tr><tr><td width="275" valign="top"><p>HTTP Errors</p></td><td width="275" valign="top"><p>IIS-HttpErrors</p></td></tr><tr><td width="275" valign="top"><p>HTTP Logging</p></td><td width="275" valign="top"><p>IIS-HttpLogging</p></td></tr><tr><td width="275" valign="top"><p>Logging Tools</p></td><td width="275" valign="top"><p>IIS-LoggingLibraries</p></td></tr><tr><td width="275" valign="top"><p>Request Monitor</p></td><td width="275" valign="top"><p>IIS-RequestMonitor</p></td></tr><tr><td width="275" valign="top"><p>Request Filtering</p></td><td width="275" valign="top"><p>IIS-RequestFiltering</p></td></tr><tr><td width="275" valign="top"><p>Static Content Compression</p></td><td width="275" valign="top"><p>IIS-HttpCompressionStatic</p></td></tr><tr><td width="275" valign="top"><p>IIS Management Console</p></td><td width="275" valign="top"><p>IIS-ManagementConsole</p></td></tr><tr><td width="275" valign="top">ASP.NET</td><td width="275" valign="top">IIS-ASPNET</td></tr><tr><td width="275" valign="top">.NET Extensibility</td><td width="275" valign="top">IIS-NetFxExtensibility</td></tr><tr><td width="275" valign="top">ISAPI Filters</td><td width="275" valign="top">IIS-ISAPIFilter</td></tr><tr><td width="275" valign="top">ISAPI Extensions</td><td width="275" valign="top">IIS-ISAPIExtensions</td></tr></tbody></table><p><strong><em><span style="font-size: medium">Class ASP Workload Server Options</span></em></strong></p><table border="0" cellspacing="0" cellpadding="2" width="552"><tbody><tr><td width="275" valign="top"><p><strong><em>Server Manager</em></strong></p></td><td width="275" valign="top"><p><strong><em>Update Name</em></strong></p></td></tr><tr><td width="275" valign="top"><p>Static Content</p></td><td width="275" valign="top"><p>IIS-StaticContent</p></td></tr><tr><td width="275" valign="top"><p>Default Document</p></td><td width="275" valign="top"><p>IIS-DefaultDocument</p></td></tr><tr><td width="275" valign="top"><p>Directory Browsing</p></td><td width="275" valign="top"><p>IIS-DirectoryBrowsing</p></td></tr><tr><td width="275" valign="top"><p>HTTP Errors</p></td><td width="275" valign="top"><p>IIS-HttpErrors</p></td></tr><tr><td width="275" valign="top"><p>HTTP Logging</p></td><td width="275" valign="top"><p>IIS-HttpLogging</p></td></tr><tr><td width="275" valign="top"><p>Logging Tools</p></td><td width="275" valign="top"><p>IIS-LoggingLibraries</p></td></tr><tr><td width="275" valign="top"><p>Request Monitor</p></td><td width="275" valign="top"><p>IIS-RequestMonitor</p></td></tr><tr><td width="275" valign="top"><p>Request Filtering</p></td><td width="275" valign="top"><p>IIS-RequestFiltering</p></td></tr><tr><td width="275" valign="top"><p>Static Content Compression</p></td><td width="275" valign="top"><p>IIS-HttpCompressionStatic</p></td></tr><tr><td width="275" valign="top"><p>IIS Management Console</p></td><td width="275" valign="top"><p>IIS-ManagementConsole</p></td></tr><tr><td width="275" valign="top">ASP</td><td width="275" valign="top">IIS-ASP</td></tr><tr><td width="275" valign="top">ISAPI Extensions</td><td width="275" valign="top">IIS-ISAPIExtensions</td></tr></tbody></table><p><strong><em><span style="font-size: medium">FastCGI Workload Server Options</span></em></strong></p><table border="0" cellspacing="0" cellpadding="2" width="552"><tbody><tr><td width="275" valign="top"><p><strong><em>Server Manager</em></strong></p></td><td width="275" valign="top"><p><strong><em>Update Name</em></strong></p></td></tr><tr><td width="275" valign="top"><p>Static Content</p></td><td width="275" valign="top"><p>IIS-StaticContent</p></td></tr><tr><td width="275" valign="top"><p>Default Document</p></td><td width="275" valign="top"><p>IIS-DefaultDocument</p></td></tr><tr><td width="275" valign="top"><p>Directory Browsing</p></td><td width="275" valign="top"><p>IIS-DirectoryBrowsing</p></td></tr><tr><td width="275" valign="top"><p>HTTP Errors</p></td><td width="275" valign="top"><p>IIS-HttpErrors</p></td></tr><tr><td width="275" valign="top"><p>HTTP Logging</p></td><td width="275" valign="top"><p>IIS-HttpLogging</p></td></tr><tr><td width="275" valign="top"><p>Logging Tools</p></td><td width="275" valign="top"><p>IIS-LoggingLibraries</p></td></tr><tr><td width="275" valign="top"><p>Request Monitor</p></td><td width="275" valign="top"><p>IIS-RequestMonitor</p></td></tr><tr><td width="275" valign="top"><p>Request Filtering</p></td><td width="275" valign="top"><p>IIS-RequestFiltering</p></td></tr><tr><td width="275" valign="top"><p>Static Content Compression</p></td><td width="275" valign="top"><p>IIS-HttpCompressionStatic</p></td></tr><tr><td width="275" valign="top"><p>IIS Management Console</p></td><td width="275" valign="top"><p>IIS-ManagementConsole</p></td></tr><tr><td width="275" valign="top">CGI</td><td width="275" valign="top">IIS-CGI</td></tr></tbody></table><p><strong><em><span style="font-size: medium">IIS Managed Modules and .NET Extensibility Server Workload</span></em></strong></p><table border="0" cellspacing="0" cellpadding="2" width="552"><tbody><tr><td width="275" valign="top"><p><strong><em>Server Manager</em></strong></p></td><td width="275" valign="top"><p><strong><em>Update Name</em></strong></p></td></tr><tr><td width="275" valign="top"><p>Static Content</p></td><td width="275" valign="top"><p>IIS-StaticContent</p></td></tr><tr><td width="275" valign="top"><p>Default Document</p></td><td width="275" valign="top"><p>IIS-DefaultDocument</p></td></tr><tr><td width="275" valign="top"><p>Directory Browsing</p></td><td width="275" valign="top"><p>IIS-DirectoryBrowsing</p></td></tr><tr><td width="275" valign="top"><p>HTTP Errors</p></td><td width="275" valign="top"><p>IIS-HttpErrors</p></td></tr><tr><td width="275" valign="top"><p>HTTP Logging</p></td><td width="275" valign="top"><p>IIS-HttpLogging</p></td></tr><tr><td width="275" valign="top"><p>Logging Tools</p></td><td width="275" valign="top"><p>IIS-LoggingLibraries</p></td></tr><tr><td width="275" valign="top"><p>Request Monitor</p></td><td width="275" valign="top"><p>IIS-RequestMonitor</p></td></tr><tr><td width="275" valign="top"><p>Request Filtering</p></td><td width="275" valign="top"><p>IIS-RequestFiltering</p></td></tr><tr><td width="275" valign="top"><p>Static Content Compression</p></td><td width="275" valign="top"><p>IIS-HttpCompressionStatic</p></td></tr><tr><td width="275" valign="top"><p>IIS Management Console</p></td><td width="275" valign="top"><p>IIS-ManagementConsole</p></td></tr><tr><td width="275" valign="top">.NET Extensibility</td><td width="275" valign="top">IIS-NetFxExtensibility</td></tr></tbody></table><p><strong><em><span style="font-size: medium">Full Server Install Components</span></em></strong></p><table border="0" cellspacing="0" cellpadding="2" width="587"><tbody><tr><td width="297" valign="top"><p><strong><em>Server Manager</em></strong></p></td><td width="288" valign="top"><p><strong><em>Update Name</em></strong></p></td></tr><tr><td width="297" valign="top">Internet Information Services</td><td width="288" valign="top">IIS-WebServerRole</td></tr><tr><td width="297" valign="top">World Wide Web Services</td><td width="288" valign="top">IIS-WebServer</td></tr><tr><td width="297" valign="top">Common HTTP Features</td><td width="288" valign="top">IIS-CommonHttpFeatures</td></tr><tr><td width="297" valign="top"><p>Static Content</p></td><td width="288" valign="top"><p>IIS-StaticContent</p></td></tr><tr><td width="297" valign="top"><p>Default Document</p></td><td width="288" valign="top"><p>IIS-DefaultDocument</p></td></tr><tr><td width="297" valign="top"><p>Directory Browsing</p></td><td width="288" valign="top"><p>IIS-DirectoryBrowsing</p></td></tr><tr><td width="297" valign="top"><p>HTTP Errors</p></td><td width="288" valign="top"><p>IIS-HttpErrors</p></td></tr><tr><td width="297" valign="top">HTTP Redirection</td><td width="288" valign="top">IIS-HttpRedirect</td></tr><tr><td width="297" valign="top">Application development</td><td width="288" valign="top">IIS-ApplicationDevelopment</td></tr><tr><td width="297" valign="top">ASP.NET</td><td width="288" valign="top">IIS-ASPNET</td></tr><tr><td width="297" valign="top">.NET Extensibility</td><td width="288" valign="top">IIS-NetFxExtensibility</td></tr><tr><td width="297" valign="top">ASP</td><td width="288" valign="top">IIS-ASP</td></tr><tr><td width="297" valign="top">CGI</td><td width="288" valign="top">IIS-CGI</td></tr><tr><td width="297" valign="top">ISAPI Extensions</td><td width="288" valign="top">IIS-ISAPIExtensions</td></tr><tr><td width="297" valign="top">ISAPI Filters</td><td width="288" valign="top">IIS-ISAPIFilter</td></tr><tr><td width="297" valign="top">Ser-Side Includes</td><td width="288" valign="top">IIS-ServerSideInclude</td></tr><tr><td width="297" valign="top">Health and diagnostics</td><td width="288" valign="top">IIS-HealthAndDiagnostics</td></tr><tr><td width="297" valign="top"><p>HTTP Logging</p></td><td width="288" valign="top"><p>IIS-HttpLogging</p></td></tr><tr><td width="297" valign="top"><p>Logging Tools</p></td><td width="288" valign="top"><p>IIS-LoggingLibraries</p></td></tr><tr><td width="297" valign="top"><p>Request Monitor</p></td><td width="288" valign="top"><p>IIS-RequestMonitor</p></td></tr><tr><td width="297" valign="top">Tracing</td><td width="288" valign="top">IIS-HttpTracing</td></tr><tr><td width="297" valign="top">Custom Logging</td><td width="288" valign="top">IIS-CustomLogging</td></tr><tr><td width="297" valign="top">ODBC Logging</td><td width="288" valign="top">IIS-ODBCLogging</td></tr><tr><td width="297" valign="top">Security</td><td width="288" valign="top">IIS-Security</td></tr><tr><td width="297" valign="top">Basic Authentication</td><td width="288" valign="top">IIS-BasicAuthenticaition</td></tr><tr><td width="297" valign="top">Windows Authentication</td><td width="288" valign="top">IIS-WindowsAuthentication</td></tr><tr><td width="297" valign="top">Digest Authentication</td><td width="288" valign="top">IIS-DigestAuthentication</td></tr><tr><td width="297" valign="top">Client Certificate Mapping Authentication</td><td width="288" valign="top">IIS-ClientCertificateMappingAuthentication</td></tr><tr><td width="297" valign="top">IIS Client Certificate Mapping Authentication</td><td width="288" valign="top">IIS-IISCertificateMappingAuthentication</td></tr><tr><td width="297" valign="top">URL Authorization</td><td width="288" valign="top">IIS-URLAuthorization</td></tr><tr><td width="297" valign="top"><p>Request Filtering</p></td><td width="288" valign="top"><p>IIS-RequestFiltering</p></td></tr><tr><td width="297" valign="top">IP and Domain Restrictions</td><td width="288" valign="top">IIS-IPSecurity</td></tr><tr><td width="297" valign="top">Performance</td><td width="288" valign="top">IIS-Performance</td></tr><tr><td width="297" valign="top"><p>Static Content Compression</p></td><td width="288" valign="top"><p>IIS-HttpCompressionStatic</p></td></tr><tr><td width="297" valign="top">Dynamic Content Compression</td><td width="288" valign="top">IIS-HttpCompressionDynamic</td></tr><tr><td width="297" valign="top">Management Tools</td><td width="288" valign="top">IIS-WebServerManagementTools</td></tr><tr><td width="297" valign="top"><p>IIS Management Console</p></td><td width="288" valign="top"><p>IIS-ManagementConsole</p></td></tr><tr><td width="297" valign="top">IIS Management Scripts and Tools</td><td width="288" valign="top">IIS-ManagementScriptingTools</td></tr><tr><td width="297" valign="top">Management Service</td><td width="288" valign="top">IIS-ManagementService</td></tr><tr><td width="297" valign="top">IIS6 Management Compatibility</td><td width="288" valign="top">IIS-IIS6ManagementCompatibility</td></tr><tr><td width="297" valign="top">IIS Metabase Compatibility</td><td width="288" valign="top">IIS-Metabase</td></tr><tr><td width="297" valign="top">IIS 6 WMI Compatibility</td><td width="288" valign="top">IIS-WMICompatibility</td></tr><tr><td width="297" valign="top">IIS 6 Scripting Tools</td><td width="288" valign="top">IIS-LegacyScripts</td></tr><tr><td width="297" valign="top">IIS 6 Management Console</td><td width="288" valign="top">IIS-LegacySnapin</td></tr><tr><td width="297" valign="top">FTP Publishing Service</td><td width="288" valign="top">IIS-FTPPublishingService</td></tr><tr><td width="297" valign="top">FTP Server</td><td width="288" valign="top">IIS-FTPServer</td></tr><tr><td width="297" valign="top">FTP Management Console</td><td width="288" valign="top">IIS-FTPManagemnt</td></tr><tr><td width="297" valign="top">Windows Process Activation service</td><td width="288" valign="top">WAS-WindowsActivationService</td></tr><tr><td width="297" valign="top">Process Model</td><td width="288" valign="top">WAS-ProcessModel</td></tr><tr><td width="297" valign="top">.NET Environment</td><td width="288" valign="top">WAS-NetFxEnvironment</td></tr><tr><td width="297" valign="top">Configiuration APIs</td><td width="288" valign="top">WAS-ConfigurationAPI</td></tr></tbody></table>
]]>
</description>
</item><item>
<link>https://maytide.net/read.php/1034.htm</link>
<title><![CDATA[[IIS7] 脚本方式安装 IIS7]]></title> 
<author>gOxiA &lt;sufan_cn@msn.com&gt;</author>
<category><![CDATA[Microsoft IIS]]></category>
<pubDate>Sat, 19 Jul 2008 12:39:23 +0000</pubDate> 
<guid>https://maytide.net/read.php/1034.htm</guid> 
<description>
<![CDATA[ 
	使用此脚本将完整安装的 IIS，并可根据自己的需要进行编辑以安装需要的功能包。注意该脚本命令行不支持 Server Core 下的 II7 安装，如需 Server Core 下的完整安装脚本请访问：<a href="http://goxia.maytide.net/read.php/1033.htm">在 Server Core 下执行 IIS7 的完整安装</a>，因为 Server Core 不支持 .Net Framework，所以 IIS7 也就无法支持 DotNet。<br /><span style="background-color: #ffff00">start /w pkgmgr /iu:IIS-WebServerRole;IIS-WebServer;IIS-CommonHttpFeatures;IIS-StaticContent;IIS-DefaultDocument;IIS-DirectoryBrowsing;IIS-HttpErrors;IIS-HttpRedirect;IIS-ApplicationDevelopment;IIS-ASPNET;IIS-NetFxExtensibility;IIS-ASP;IIS-CGI;IIS-ISAPIExtensions;IIS-ISAPIFilter;IIS-ServerSideIncludes;IIS-HealthAndDiagnostics;IIS-HttpLogging;IIS-LoggingLibraries;IIS-RequestMonitor;IIS-HttpTracing;IIS-CustomLogging;IIS-ODBCLogging;IIS-Security;IIS-BasicAuthentication;IIS-WindowsAuthentication;IIS-DigestAuthentication;IIS-ClientCertificateMappingAuthentication;IIS-IISCertificateMappingAuthentication;IIS-URLAuthorization;IIS-RequestFiltering;IIS-IPSecurity;IIS-Performance;IIS-HttpCompressionStatic;IIS-HttpCompressionDynamic;IIS-WebServerManagementTools;IIS-ManagementConsole;IIS-ManagementScriptingTools;IIS-ManagementService;IIS-IIS6ManagementCompatibility;IIS-Metabase;IIS-WMICompatibility;IIS-LegacyScripts;IIS-LegacySnapIn;IIS-FTPPublishingService;IIS-FTPServer;IIS-FTPManagement;WAS-WindowsActivationService;WAS-ProcessModel;WAS-NetFxEnvironment;WAS-ConfigurationAPI<br /></span>而下面的脚本则进行 IIS7 的默认安装，即最小化安装。<br /><span style="background-color: #ffff00">start /w pkgmgr /iu:IIS-WebServerRole;WAS-WindowsActivationService;WAS-ProcessModel</span><br />注意：以上脚本中均不包含换行。 <p></p>
]]>
</description>
</item><item>
<link>https://maytide.net/read.php/1033.htm</link>
<title><![CDATA[[Server Core + IIS7] 在 Server Core 下执行 IIS7 的完整安装]]></title> 
<author>gOxiA &lt;sufan_cn@msn.com&gt;</author>
<category><![CDATA[Microsoft IIS]]></category>
<pubDate>Sat, 19 Jul 2008 05:32:35 +0000</pubDate> 
<guid>https://maytide.net/read.php/1033.htm</guid> 
<description>
<![CDATA[ 
	执行如下命令：<br /><br /><span style="font-size: small; background-color: #ffff00">start /w pkgmgr /iu:IIS-WebServerRole;IIS-WebServer;IIS-CommonHttpFeatures;IISStaticContent;IIS-DefaultDocument;IIS-DirectoryBrowsing;IIS-HttpErrors;IISHttpRedirect;IIS-ApplicationDevelopment;IIS-ASP;IIS-CGI;IIS-ISAPIExtensions;IIS-ISAPIFilter;IIS-ServerSideIncludes;IIS-HealthAndDiagnostics;IISHttpLogging;IIS-LoggingLibraries;IIS-RequestMonitor;IIS-HttpTracing;IISCustomLogging;IIS-ODBCLogging;IIS-Security;IIS-BasicAuthentication;IISWindowsAuthentication; <br />IIS-DigestAuthentication;IIS-ClientCertificateMappingAuthentication;IIS-IISCertificateMappingAuthentication;IIS-URLAuthorization;IISRequestFiltering;IIS-IPSecurity;IIS-Performance;IIS-HttpCompressionStatic;IISHttpCompressionDynamic;IIS-WebServerManagementTools;IISManagementScriptingTools;IIS-IIS6ManagementCompatibility;IIS-Metabase;IISWMICompatibility;IIS-LegacyScripts;IIS-FTPPublishingService;IIS-FTPServer;WASWindowsActivationService;WAS-ProcessModel</span><br /><span style="color: #ff6600"><br />注意：中间没有换行！</span>
]]>
</description>
</item><item>
<link>https://maytide.net/read.php/1030.htm</link>
<title><![CDATA[[IIS7] FastCGI PHP on Windows Server 2003]]></title> 
<author>gOxiA &lt;sufan_cn@msn.com&gt;</author>
<category><![CDATA[Microsoft IIS]]></category>
<pubDate>Mon, 14 Jul 2008 13:57:38 +0000</pubDate> 
<guid>https://maytide.net/read.php/1030.htm</guid> 
<description>
<![CDATA[ 
	<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 微软近来对 PHP 的支持尤为突出，最近才发布的 Expression Studio 2 中的 Expression Web 2 就直接提供了对 PHP 的支持，而早些时候发布的 FastCGI RTM ，使 PHP 在 Windows&nbsp; 的 IIS 平台上的执行效率大大提高，并且内置在了 Windows Server 2008 中。新加坡一家公司曾经测试在 Windows 的 IIS 平台上运行 PHP，执行效率足足提高了 130% 以上，这是一个惊人的数字。 <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; FastCGI 除了支持 Windows Server 2008 还支持 Windows Server 2003，下面是 FastCGI 的原文介绍： <br /><em>Overview <br />The FastCGI Extension for IIS 6.0 enables popular application frameworks that support FastCGI protocol to be hosted on the IIS web server in a high-performance and reliable way. FastCGI provides a high-performance alternative to the Common Gateway Interface (CGI), a standard way of interfacing external applications with Web servers that has been supported as part of the IIS feature-set since the very first release. <br />CGI programs are executables launched by the web server for each request in order to process the request and generate dynamic responses that are sent back to the client. Because many of these frameworks do not support multi-threaded execution, CGI enables them to execute reliably on IIS by executing exactly one request per process. Unfortunately, it provides poor performance due to the high cost of starting and shutting down a process for each request. <br />FastCGI addresses the performance issues inherent to CGI by providing a mechanism to reuse a single process over and over again for many requests. Additionally, FastCGI maintains compatibility with non-thread-safe libraries by providing a pool of reusable processes and ensuring that each process will only handle one request at a time. <br />For additional support information, go to </em><a href="http://support.microsoft.com"><em>http://support.microsoft.com</em></a><em>. <br />Features <br />The Microsoft FastCGI Extension for IIS&nbsp; provides full support for hosting and executing FastCGI enabled applications on IIS in high performance and reliable way. <br />Some of the important features provided in this release of FastCGI Extension are listed below: <br />Reliable hosting of non thread-safe applications (such as PHP) in FastCGI mode by enforcing single request concurrency per FastCGI process <br />Support for hosting of FastCGI application frameworks on shared servers by providing necessary configurability. <br />Rich set of configuration options for tweaking performance of FastCGI extension and FastCGI processes. <br />The following list describes the most important changes since the Go Live release: <br />Changes to fcgiext.ini take effect without restarting web service process <br />When any configuration change is made to fcgiext.ini file the change is picked up by the FastCGI Extension right away, without any need to restart the Web Server process. Because of that it is recommended to use the configuration script (fcgiconfig.js) included in this release instead of the one provided with Go Live release. The configuration script that was included with Go Live release recycled the application pool or restarted the web service every time a configuration change was made. It is not necessary to perform these operations anymore, so the application pool recycling functionality has been removed from the configuration script. <br />RapidFailsPerMinute configuration setting can be used to control Rapid Failure Protection mode <br />By default the FastCGI extension goes into Rapid Failure Protection mode, if it encounters more than 10 failures per minute in the FastCGI process pool. The RapidFailsPerMinute setting can be used to specify the number of failures per minute that would trigger Rapid Failure Protection mode. <br />Configuration script (fcgiconfig.js) can re-create IIS script mappings from fcgiext.ini file <br />The new command &ldquo;-syncini&rdquo; has been added to fcgiconfig.js to allow for re-creation of IIS script mappings by using FastCGI process pool configuration information available in the fcgiext.ini file. For example this command can be used in situations when the FastCGI extension is un-installed and then re-installed, since all script mappings are removed during un-install. <br />The following bugs have been fixed since Go Live release: <br />Responses with empty header values caused the FastCGI extension to fail response processing <br />The status codes logged by the FastCGI extension may be different from what was sent to the client <br />On 64 bit machines with Enable32BitAppOnWin64 set, fcgiext.dll would look for configuration in windowssyswow64inetsrv instead of windowssystem32inetsrv <br />Stability under heavy load has been improved <br />Benefits <br />Most applications built to for IIS take advantage of the native, multi-threaded extensibility model of IIS. Many popular applications, particularly those written or originally designed for Linux, are not multi-threaded, and instead take a multi-process approach to concurrency. While the PHP engine itself is multi-thread capable, many of the popular PHP extensions are not, requiring a single concurrent request guarantee to operate reliably. This forces the use of CGI and results in poor performance on the Windows platform. FastCGI helps these application frameworks to achieve improved performance on Windows over CGI, while allowing stable operation in production environments. <br />Requirements <br />To use FastCGI extension, you must have one of the following operating systems with IIS installed: <br />Windows Server 2003 SP2 (IIS 6.0) <br />Windows Server 2003 x64 edition (IIS6.0)</em> <br />下载地址：<a href="http://www.microsoft.com/downloads/details.aspx?FamilyID=2d481579-9a7c-4632-b6e6-dee9097f9dc5&amp;displaylang=en" target="_blank">FastCGI Extension for Internet Information Services 6.0</a> <br />上述介绍原文地址：<a href="http://www.iis.net/downloads/default.aspx?tabid=34&amp;g=6&amp;i=1521" target="_blank">FastCGI Extension for IIS6.0 - RTM</a> <br />FastCGI 在 Windows Server 2003 上的安装非常简单，一路 Next 即可完成。而今天的主题则是与大家分享在 Windows Server 2003 上配置 PHP 的 FastCGI 模式。与以往的 PHP 常规配置不同，PHP 使用 FastCGI 来解释脚本，所以我们将会使用 fcgiext.dll 来解释 PHP，之后我们便需要编写 FastCGI 的配置文件（FCGIEXT.ini）使 PHP 与之集成。具体操作步骤如下： <br />1. 运行 Inetmgr.exe 启动 IIS 管理器； <br />2. 进入&ldquo;网站&rdquo;属性（如果只希望为某个站点启用 FastCGI PHP 支持，则需要单独配置该站点）； <br />3. 切换到&ldquo;主目录&rdquo;配置页，并单击&ldquo;配置&rdquo;进入&ldquo;应用程序配置&rdquo;； <br />4. 在&ldquo;影射&rdquo;配置下单击&ldquo;添加&rdquo;创建一个应用程序扩展； <br />5. 在&ldquo;可执行文件&rdquo;中键入用于解释 PHP 脚本的 FastCGI 地址：&ldquo;C:WINDOWSsystem32inetsrvfcgiext.dll&rdquo;，&ldquo;限制为&rdquo;指定只允许&ldquo;GET,HEAD,POST&rdquo;。 <br /><a href="http://goxia.maytide.net/ftpupfiles/IIS7FastCGIPHPonWindowsServer2003_134A0/image.png"><img style="border: 0px" src="http://goxia.maytide.net/ftpupfiles/IIS7FastCGIPHPonWindowsServer2003_134A0/image_thumb.png" border="0" alt="image" width="504" height="414" /></a> <br />至此就完成了应用程序影射的添加。 <br />之后，编辑 PHP.ini 文件，配置如下参数： <br />1. fastcgi.impersonate = 1 <br />2. cgi.fix_pathinfo = 1 <br />3. cgi.force_redirect = 0 <br />完成后，将 PHP.ini 拷贝到 Windows 目录，或者在之后的 FCGIEXT.ini 配置 PHP.ini 的位置。 <br />最后，编辑 FCGIEXT.ini 文件，在&ldquo;[Types]&rdquo;字段下添加如下内容： <br />php=c:&#92;php&#92;php-cgi.exe <br />Arguments=-c c:&#92;windows&#92;php.ini <br />至此就完成了整个配置，我们可以编写一个 PHP 测试脚本，内容如下： <br />&lt;? phpinfo (); ?&gt; <br />打开浏览器来测试一下吧！ <br /><a href="http://goxia.maytide.net/ftpupfiles/IIS7FastCGIPHPonWindowsServer2003_134A0/image_3.png"><img style="border: 0px" src="http://goxia.maytide.net/ftpupfiles/IIS7FastCGIPHPonWindowsServer2003_134A0/image_thumb_3.png" border="0" alt="image" width="504" height="487" /></a></p>
]]>
</description>
</item><item>
<link>https://maytide.net/read.php/960.htm</link>
<title><![CDATA[摘录：W3C Extended Log File Format (IIS 6.0)]]></title> 
<author>gOxiA &lt;sufan_cn@msn.com&gt;</author>
<category><![CDATA[Microsoft IIS]]></category>
<pubDate>Sat, 29 Mar 2008 14:37:05 +0000</pubDate> 
<guid>https://maytide.net/read.php/960.htm</guid> 
<description>
<![CDATA[ 
	<p>The W3C Extended log file format is the default log file format for IIS. It is a customizable ASCII text-based format. You can use IIS Manager to select which fields to include in the log file, which allows you to keep log files as small as possible. Because HTTP.sys handles the W3C Extended log <br/>............<br/>
]]>
</description>
</item><item>
<link>https://maytide.net/read.php/10.htm</link>
<title><![CDATA[[摘抄] Configuring IIS to Run 32-bit Applications on 64-bit Windows (IIS 6.0)]]></title> 
<author>gOxiA &lt;sufan_cn@msn.com&gt;</author>
<category><![CDATA[Microsoft IIS]]></category>
<pubDate>Tue, 19 Feb 2008 14:06:56 +0000</pubDate> 
<guid>https://maytide.net/read.php/10.htm</guid> 
<description>
<![CDATA[ 
	<p>      Windows Server 2003TM, Service Pack 1 enables IIS 6.0 to run 32-bit Web applications on 64-bit Windows using the Windows-32-on-Windows-64 (WOW64) compatibility layer. IIS 6.0 using WOW64 is intended to run 32-bit personal productivity applications needed by software developers and administrators, including 32-bit Internet Information Services (IIS) Web applications. For more information about running 32-bit applications on 64-bit Windows, see Running 32-bit Applications on 64-bit Windows.</p><p>To enable IIS 6.0 to run 32-bit applications on 64-bit Windows</p><p>1. Open a command prompt and navigate to the %systemdrive%\Inetpub\AdminScripts directory.<br /> <br />2. Type the following command:</p><p><div class="code">cscript.exe adsutil.vbs set W3SVC/AppPools/Enable32BitAppOnWin64 “true”</div><br /> <br />3. Press ENTER.</p><p>即可实现在Windows 64bit 系统上应用下列 32bit 程序:</p><li><font style="BACKGROUND-COLOR: #fafafa">Internet服务API扩展</font> </li><li><font style="BACKGROUND-COLOR: #fafafa">ISAPI过滤器</font> </li><li><font style="BACKGROUND-COLOR: #fafafa">ASP应用程序</font> </li><li><font style="BACKGROUND-COLOR: #fafafa">ASP.NET应用程序</font> </li><p>获取更多信息:http://www.microsoft.com/technet/prodtechnol/WindowsServer2003/Library/IIS/13f991a5-45eb-496c-8618-2179c3753bb0.mspx?mfr=true</p>
]]>
</description>
</item><item>
<link>https://maytide.net/read.php/65.htm</link>
<title><![CDATA[IIS 的身份验证简要说明 - 摘录]]></title> 
<author>gOxiA &lt;sufan_cn@msn.com&gt;</author>
<category><![CDATA[Microsoft IIS]]></category>
<pubDate>Fri, 07 Dec 2007 08:48:21 +0000</pubDate> 
<guid>https://maytide.net/read.php/65.htm</guid> 
<description>
<![CDATA[ 
	<p>•<br /><strong>匿名访问</strong>：如果启用了匿名访问，访问站点时，不要求提供经过身份验证的用户凭据。当需要让大家公开访问那些没有安全要求的信息时，使用此选项最合适。用户尝试连接您的网站时，IIS 会将该连接分配给 IUSER_<var>ComputerName</var> 帐户，其中 <var>ComputerName</var> 是运行 IIS 的服务器的名称。默认情况下，IUSER_<var>ComputerName</var> 帐户为 Guests 组的成员。此组具有 NTFS 文件系统权限所规定的安全限制，这些限制指定访问级别以及可提供给公共用户的内容的类型。要编辑用于匿名访问的 Windows 帐户，请在“匿名访问”框中单击<strong>浏览</strong>。<br /><strong>重要说明</strong>：如果启用匿名访问，IIS 会始终先使用匿名身份验证来尝试验证用户身份，即使您启用其他身份验证方法也是如此。 </p><p>•<br /><strong>集成 Windows 身份验证</strong>：以前称为 <em>NTLM</em> 或 <em>Windows NT 质询/响应身份验证</em>，此方法以 Kerberos 票证的形式通过网络向用户发送身份验证信息，并提供较高的安全级别。Windows 集成身份验证使用 Kerberos 版本 5 和 NTLM 身份验证。要使用此方法，客户端必须使用 Microsoft Internet Explorer 2.0 或更高版本。另外，不支持通过 HTTP 代理连接进行 Windows 集成身份验证。如果某个 Intranet 中的用户和 Web 服务器计算机在同一个域中，并且管理员可以确保每个用户都使用 Internet Explorer 2.0 或更高版本，那么对于这个 Intranet，使用此选项是最合适的。<br /><strong>注意</strong>：如果选择了多个身份验证选项，IIS 会首先尝试协商最安全的方法，然后它按可用身份验证协议的列表向下逐个试用其他协议，直到找到客户端和服务器都支持的某种共有的身份验证协议。 </p><p>•<br /><strong>Windows 域服务器的摘要式身份验证</strong>：摘要式身份验证需要用户 ID 和密码，可提供中等的安全级别，如果您要允许从公共网络访问安全信息，则可以使用这种方法。这种方法与基本身份验证提供的功能相同。但是，此方法会将用户凭据作为 MD5 哈希或<em>消息摘要</em>在网络中进行传输，这样就无法根据哈希对原始用户名和密码进行解码。要使用此方法，客户端必须使用 Microsoft Internet Explorer 5.0 或更高版本，Web 客户端和 Web 服务器必须是相同域的成员或者被相同域信任。<br />如果启用摘要式身份验证，请在<strong>领域</strong>框中键入领域名称。 </p><p>•<br /><strong>基本身份验证(以明文形式发送密码)</strong>：基本身份验证需要用户 ID 和密码，提供的安全级别较低。用户凭据以明文形式在网络中发送。这种形式提供的安全级别很低，因为几乎所有协议分析程序都能读取密码。但是，它与大多数 Web 客户端兼容。如果允许用户访问的信息没有什么隐私性或不需要保护，使用此选项最为合适。 <br />如果启用基本身份验证，请在“默认域”框中键入要使用的域名。您还可以选择在<strong>领域</strong>框中输入一个值。 </p><p>•<br /><strong>Microsoft .NET Passport 身份验证</strong>：.NET Passport 身份验证提供了单一登录安全性，为用户提供对 Internet 上各种服务的访问权限。如果选择此选项，对 IIS 的请求必须在查询字符串或 Cookie 中包含有效的 .NET Passport 凭据。如果 IIS 不检测 .NET Passport 凭据，请求就会被重定向到 .NET Passport 登录页。<br /><strong>注意</strong>：如果选择此选项，所有其他身份验证方法都将不可用（显示为灰色）。 </p>
]]>
</description>
</item><item>
<link>https://maytide.net/read.php/635.htm</link>
<title><![CDATA[通过 Adsutil.vbs 获取或设置 IUSR 和 IWAM 的帐号密码]]></title> 
<author>gOxiA &lt;sufan_cn@msn.com&gt;</author>
<category><![CDATA[Microsoft IIS]]></category>
<pubDate>Sat, 24 Jun 2006 07:29:40 +0000</pubDate> 
<guid>https://maytide.net/read.php/635.htm</guid> 
<description>
<![CDATA[ 
	<p>获取 IUSR 帐户密码<br />cscript.exe adsutil.vbs get w3svc/anonymoususerpass <br /><br />获取 IWAM 帐户密码<br />cscript.exe adsutil.vbs get w3svc/wamuserpass <br /><br />设置 IUSR 帐户密码<br />cscript.exe adsutil.vbs set w3svc/anonymoususerpass &quot;password&quot; <br /><br />设置 IWAM 帐户密码<br />cscript.exe adsutil.vbs set w3svc/wamuserpass &quot;password&quot; </p><p><font color="#e00000">注：在获取密码的时候如果现实的结果密码为“******”，那么应当修改Adsutil.vbs文件</font></p><p><font color="#e00000">将     </font></p><p><font color="#e00000"><div class="code">        If (Attribute = True) Then<br />        IsSecureProperty = True</div></font></p><p><font color="#e00000">中的</font></p><p><font color="#e00000"><div class="code">        IsSecureProperty = True</div></font></p><p><font color="#e00000">改为</font></p><p><font color="#e00000"><div class="code">        IsSecureProperty = False</div></font></p><p>关于 IWAM 帐号的同步可察看另外一篇Blog：<a href="http://goxia.maytide.net/index.php?job=art&articleid=a_20041106_095727">IIS帐号同步</a></p>
]]>
</description>
</item><item>
<link>https://maytide.net/read.php/643.htm</link>
<title><![CDATA[为 IIS FTP 指定被动模式所使用的端口范围]]></title> 
<author>gOxiA &lt;sufan_cn@msn.com&gt;</author>
<category><![CDATA[Microsoft IIS]]></category>
<pubDate>Mon, 05 Jun 2006 07:42:26 +0000</pubDate> 
<guid>https://maytide.net/read.php/643.htm</guid> 
<description>
<![CDATA[ 
	<p>如果服务器使用IIS中的FTP服务，并且启用了TCP/IP筛选，而此时又需要启用被动模式连接（Passive），那么为了方便开放端口，我们可以指定Passive的范围，操作如下：</p><p><div class="code">adsutil.vbs set /MSFTPSVC/PassivePortRange &quot;4000-4020&quot;</div></p>
]]>
</description>
</item><item>
<link>https://maytide.net/read.php/650.htm</link>
<title><![CDATA[加载性能计数器时记录事件 ID 2003 警告消息 W3CTRS ID2003]]></title> 
<author>gOxiA &lt;sufan_cn@msn.com&gt;</author>
<category><![CDATA[Microsoft IIS]]></category>
<pubDate>Thu, 25 May 2006 00:48:45 +0000</pubDate> 
<guid>https://maytide.net/read.php/650.htm</guid> 
<description>
<![CDATA[ 
	<p>最近总是遇到W3CTRS ID2001和2003的警告，估计跟我之前装压力测试软件有关。</p><p>察看了一下KB找到了一篇关于解决ID2003的KB，特此转记这里：</p><p>在 %SystemRoot%\System32 文件夹中，在命令提示符处运行下列命令，以卸载并重新加载 IIS 性能动态链接库 (DLL)。在运行这些命令之后，将不再记录这些警告消息： </p><div class="indent">unlodctr w3svc<br />unlodctr msftpsvc<br />unlodctr asp<br />unlodctr inetinfo<br />lodctr w3ctrs.ini<br />lodctr ftpctrs.ini<br />lodctr axperf.ini<br />lodctr infoctrs.ini<br /></div><p>在运行这些命令之后，您必须重新启动计算机才能使更改生效。</p><p>上述信息适用在2000系统中，看来要解决2003系统的问题还是要捉摸捉摸的</p>
]]>
</description>
</item><item>
<link>https://maytide.net/read.php/653.htm</link>
<title><![CDATA[使用 IIS Diagnostics Toolkit 调试诊断工具]]></title> 
<author>gOxiA &lt;sufan_cn@msn.com&gt;</author>
<category><![CDATA[Microsoft IIS]]></category>
<pubDate>Fri, 28 Apr 2006 07:25:55 +0000</pubDate> 
<guid>https://maytide.net/read.php/653.htm</guid> 
<description>
<![CDATA[ 
	<p>      IIS意外崩溃或因网站导致的服务器性能下降甚至崩溃是一件令管理员非常头疼的问题，早期我通常的做法是使用Filemon和Task Manager来配合找到可以的站点，之后将站点放入独立进程监视，最终确定罪魁祸首！这个过程是非常耗时而且消耗精力的。有时候甚至不知道该如何是好！</p><p>      自从微软正式发布了调试诊断工具 <a href="http://www.microsoft.com/windowsserver2003/iis/diagnostictools/default.mspx">IIS Diagnostics Toolkit</a> 后终于找到了解决办法，依靠这个工具可以实现内存转储捕获来协助我们发现问题。</p><p>      上面只是简单的介绍，我也是才开始接触这个工具，下面我转载的是来自微软网站的资料：</p><p>1. 打开调试诊断工具。将弹出如下所示的“新建规则向导”。<br /><img src="http://goxia.maytide.net/up/1146208720.gif" /></p><p>2. 创建 Crash（崩溃）规则，然后单击“Next”（下一步）。</p><p>3. 因为我们不知道哪个进程崩溃了，所以选择“All IIS Related processes”（所有 IIS 相关的进程），然后单击“Next”（下一步）。<br /><img src="http://goxia.maytide.net/up/1146208931.gif" /></p><p>4. 此时，您不需要设置任何高级配置选项，所以请单击“Next”（下一步）。<br /><img src="http://goxia.maytide.net/up/1146208976.gif" /></p><p>5. 键入规则名称，然后输入 userdump 位置的路径。<br /><img src="http://goxia.maytide.net/up/1146209006.gif" /></p><p>注意：请记住，这些内存转储可能会非常大，所以请确保选择有大量空闲磁盘空间的分区。</p><p>6. 单击“Next”（下一步），选择“Activate therule now”（立即激活规则），然后单击“Finish”（完成）。<br /><img src="http://goxia.maytide.net/up/1146209062.gif" /></p><p>主调试诊断工具窗口显示了刚创建的规则。请注意，在包含您规则的那一行，Userdump 计数设置为 0。下次 IIS 崩溃时，调试诊断工具将捕获内存转储，您会看到 Userdump 计数将变为 1。<br /><img src="http://goxia.maytide.net/up/1146209102.gif" /></p><p><strong>分析内存捕获</strong></p><p>1. 打开调试诊断工具，然后单击“Advanced Analysis”（高级分析）选项卡。<br /><img src="http://goxia.maytide.net/up/1146209132.gif" /></p><p>2. 在 Data Files（数据文件）部分，单击“Add Data Files”（添加数据文件）按钮，然后添加调试诊断工具刚才为您创建的转储文件。</p><p>3. 突出显示 Available Analysis Scripts（可用分析脚本）部分的 Crash/Hang Analyzers（崩溃/挂起分析器）脚本，然后单击“Start Analysis”（开始分析）按钮。这将启动分析脚本，它将生成一份基于 HTML 的详细报告，说明在系统崩溃时 IIS 及其相关进程的运行情况。如果分析脚本在内存转储中发现了一些需要关注的问题，它会在报告的顶部将其显示出来并给出可行的解决方案。</p><p>可以使用在以下网址处提供的 Windows 调试工具进行内存转储的高级分析：<a href="http://www.microsoft.com/whdc/devtools/debugging/default.mspx">http://www.microsoft.com/whdc/devtools/debugging/default.mspx</a>。</p>
]]>
</description>
</item><item>
<link>https://maytide.net/read.php/683.htm</link>
<title><![CDATA[让IIS6支持所有类型扩展名]]></title> 
<author>gOxiA &lt;sufan_cn@msn.com&gt;</author>
<category><![CDATA[Microsoft IIS]]></category>
<pubDate>Thu, 15 Dec 2005 03:19:37 +0000</pubDate> 
<guid>https://maytide.net/read.php/683.htm</guid> 
<description>
<![CDATA[ 
	<p>IIS6的安全性提高了很多，为了防止扩展名欺骗带来的安全性问题，限制了扩展名MIME类型</p><p>如果需要提供更多的扩展名支持有两种办法</p><p>1、直接在MIME设置下添加指定的类型文件支持；</p><p>2、可以配置IIS支持任何扩展名类型的文件，在MIME中添加一个新类型，扩展名为“ * ”，MIME 类型填写“application/octet-stream”</p><p>参考文献：<a href="http://www.microsoft.com/china/TechNet/iis/mimeiis.asp">http://www.microsoft.com/china/TechNet/iis/mimeiis.asp</a></p>
]]>
</description>
</item><item>
<link>https://maytide.net/read.php/684.htm</link>
<title><![CDATA[SSL Diagnostics]]></title> 
<author>gOxiA &lt;sufan_cn@msn.com&gt;</author>
<category><![CDATA[Microsoft IIS]]></category>
<pubDate>Wed, 07 Dec 2005 02:34:43 +0000</pubDate> 
<guid>https://maytide.net/read.php/684.htm</guid> 
<description>
<![CDATA[ 
	<p>SSL Diagnostics Version 1.0，是微软提供的一个用来测试SSL的小工具。应为没有试验环境所以暂时也就没有测试的资料可供参考。等有机会在搞……</p><p><img src="http://goxia.maytide.net/up/1133922802.jpg" /></p><p>下载地址：<a href="http://www.microsoft.com/downloads/details.aspx?FamilyID=cabea1d0-5a10-41bc-83d4-06c814265282&displaylang=en">http://www.microsoft.com/downloads/details.aspx?FamilyID=cabea1d0-5a10-41bc-83d4-06c814265282&amp;displaylang=en</a></p>
]]>
</description>
</item><item>
<link>https://maytide.net/read.php/685.htm</link>
<title><![CDATA[Authentication and Access Control Diagnostics]]></title> 
<author>gOxiA &lt;sufan_cn@msn.com&gt;</author>
<category><![CDATA[Microsoft IIS]]></category>
<pubDate>Wed, 07 Dec 2005 01:56:08 +0000</pubDate> 
<guid>https://maytide.net/read.php/685.htm</guid> 
<description>
<![CDATA[ 
	<p>微软发布了一款IIS的小工具 Authentication and Access Control Diagnostics 1.0，使用这个工具可以很轻松的帮助我们来解决一个网站运行所需要的权限，这样便降低了WEB服务器工程师在排查网站故障所需要的时间。<br/>............<br/>
]]>
</description>
</item><item>
<link>https://maytide.net/read.php/698.htm</link>
<title><![CDATA[安装MS05-051安全更新后系统故障的解决办法]]></title> 
<author>gOxiA &lt;sufan_cn@msn.com&gt;</author>
<category><![CDATA[Microsoft IIS]]></category>
<pubDate>Tue, 25 Oct 2005 06:55:29 +0000</pubDate> 
<guid>https://maytide.net/read.php/698.htm</guid> 
<description>
<![CDATA[ 
	<p>微软发布MS05-051安全更新后，打过此补丁的部分用户系统出现了故障，此篇文章记录了故障的解决办法。</p><p><strong>症状<br /></strong>• Windows 防火墙服务可能不启动。  <br />• “网络连接”文件夹为空。 <br />• Windows 更新网站可能会错误地建议您更改 Microsoft Internet Explorer 中的“持续使用用户数据”设置。  <br />• 在 Microsoft Internet 信息服务 (IIS) 上运行的 Active Server Pages (ASP) 页返回“HTTP 500 - 内部服务器错误”错误信息。  <br />• Microsoft COM+ EventSystem 服务不启动。 <br />• COM+ 应用程序不启动。  <br />• Microsoft 组件服务 Microsoft 管理控制台 (MMC) 树中的“计算机”节点无法展开。 <br />• 经过身份验证的用户无法登录，而且在用户应用十月份的安全更新后出现空白屏幕。 <br/>............<br/>
]]>
</description>
</item><item>
<link>https://maytide.net/read.php/700.htm</link>
<title><![CDATA[加固基于Windows平台的WEB服务器]]></title> 
<author>gOxiA &lt;sufan_cn@msn.com&gt;</author>
<category><![CDATA[Microsoft IIS]]></category>
<pubDate>Mon, 17 Oct 2005 09:40:24 +0000</pubDate> 
<guid>https://maytide.net/read.php/700.htm</guid> 
<description>
<![CDATA[ 
	<p style="TEXT-ALIGN: center" align="center"><font size="2"><b style="mso-bidi-font-weight: normal"><span style="FONT-SIZE: 10.5pt; mso-ascii-font-family: Verdana; mso-hansi-font-family: Verdana"><font face="宋体">加固基于</font></span></b><b style="mso-bidi-font-weight: normal"><span lang="EN-US" style="FONT-SIZE: 10.5pt; FONT-FAMILY: Verdana">Windows</span></b><b style="mso-bidi-font-weight: normal"><span style="FONT-SIZE: 10.5pt; mso-ascii-font-family: Verdana; mso-hansi-font-family: Verdana"><font face="宋体">平台的</font></span></b><b style="mso-bidi-font-weight: normal"><span lang="EN-US" style="FONT-SIZE: 10.5pt; FONT-FAMILY: Verdana">WEB</span></b></font><font face="宋体"><b style="mso-bidi-font-weight: normal"><span style="FONT-SIZE: 10.5pt; mso-ascii-font-family: Verdana; mso-hansi-font-family: Verdana"><font size="2">服务器</font></span></b><b style="mso-bidi-font-weight: normal"><span lang="EN-US" style="FONT-SIZE: 10.5pt; FONT-FAMILY: Verdana"></span></b></font></p><p><font size="2"></font></p><p><font size="2"><span lang="EN-US" style="FONT-SIZE: 10.5pt; FONT-FAMILY: Verdana">      </span><span style="FONT-SIZE: 10.5pt; mso-ascii-font-family: Verdana; mso-hansi-font-family: Verdana"><font face="宋体">基于</font></span><span lang="EN-US" style="FONT-SIZE: 10.5pt; FONT-FAMILY: Verdana">Windows</span><span style="FONT-SIZE: 10.5pt; mso-ascii-font-family: Verdana; mso-hansi-font-family: Verdana"><font face="宋体">平台下</font></span><span lang="EN-US" style="FONT-SIZE: 10.5pt; FONT-FAMILY: Verdana">IIS</span><span style="FONT-SIZE: 10.5pt; mso-ascii-font-family: Verdana; mso-hansi-font-family: Verdana"><font face="宋体">运行的网站总给人一种感觉就是脆弱。早期的</font></span><span lang="EN-US" style="FONT-SIZE: 10.5pt; FONT-FAMILY: Verdana">IIS</span><span style="FONT-SIZE: 10.5pt; mso-ascii-font-family: Verdana; mso-hansi-font-family: Verdana"><font face="宋体">确实存在很多问题，不过我个人认为自从</font></span><span lang="EN-US" style="FONT-SIZE: 10.5pt; FONT-FAMILY: Verdana">Windows Server 2003</span><span style="FONT-SIZE: 10.5pt; mso-ascii-font-family: Verdana; mso-hansi-font-family: Verdana"><font face="宋体">发布后，</font></span><span lang="EN-US" style="FONT-SIZE: 10.5pt; FONT-FAMILY: Verdana">IIS6</span><span style="FONT-SIZE: 10.5pt; mso-ascii-font-family: Verdana; mso-hansi-font-family: Verdana"><font face="宋体">及</font></span><span lang="EN-US" style="FONT-SIZE: 10.5pt; FONT-FAMILY: Verdana">Windows Server 2003</span><span style="FONT-SIZE: 10.5pt; mso-ascii-font-family: Verdana; mso-hansi-font-family: Verdana"><font face="宋体">新的安全特性、更加完善的管理功能和系统的稳定性都有很大的增强。虽然从</font></span><span lang="EN-US" style="FONT-SIZE: 10.5pt; FONT-FAMILY: Verdana">Windows Server 2003</span><span style="FONT-SIZE: 10.5pt; mso-ascii-font-family: Verdana; mso-hansi-font-family: Verdana"><font face="宋体">上可以看到微软不准备再发展</font></span><span lang="EN-US" style="FONT-SIZE: 10.5pt; FONT-FAMILY: Verdana">ASP</span><span style="FONT-SIZE: 10.5pt; mso-ascii-font-family: Verdana; mso-hansi-font-family: Verdana"><font face="宋体">，特别是不再对</font></span><span lang="EN-US" style="FONT-SIZE: 10.5pt; FONT-FAMILY: Verdana">Access</span><span style="FONT-SIZE: 10.5pt; mso-ascii-font-family: Verdana; mso-hansi-font-family: Verdana"><font face="宋体">数据库的完好支持，但是面对它的那些优势迫使我不得不舍弃</font></span><span lang="EN-US" style="FONT-SIZE: 10.5pt; FONT-FAMILY: Verdana">Windows 2000 Server</span><span style="FONT-SIZE: 10.5pt; mso-ascii-font-family: Verdana; mso-hansi-font-family: Verdana"><font face="宋体">。况且我也不需要运行太多的</font></span><span lang="EN-US" style="FONT-SIZE: 10.5pt; FONT-FAMILY: Verdana">ASP+Access</span><span style="FONT-SIZE: 10.5pt; mso-ascii-font-family: Verdana; mso-hansi-font-family: Verdana"><font face="宋体">，因为我的程序都是</font></span><span lang="EN-US" style="FONT-SIZE: 10.5pt; FONT-FAMILY: Verdana">PHP+MySQL</span><span style="FONT-SIZE: 10.5pt; mso-ascii-font-family: Verdana; mso-hansi-font-family: Verdana"><font face="宋体">（说实话我不喜欢微软的</font></span><span lang="EN-US" style="FONT-SIZE: 10.5pt; FONT-FAMILY: Verdana">ASP</span><span style="FONT-SIZE: 10.5pt; mso-ascii-font-family: Verdana; mso-hansi-font-family: Verdana"><font face="宋体">和</font></span><span lang="EN-US" style="FONT-SIZE: 10.5pt; FONT-FAMILY: Verdana">ASPNET</span><span style="FONT-SIZE: 10.5pt; mso-ascii-font-family: Verdana; mso-hansi-font-family: Verdana"><font face="宋体">），而且我确实信赖</font></span><span lang="EN-US" style="FONT-SIZE: 10.5pt; FONT-FAMILY: Verdana">Windows Server 2003</span></font><font face="宋体"><span style="FONT-SIZE: 10.5pt; mso-ascii-font-family: Verdana; mso-hansi-font-family: Verdana"><font size="2">！</font></span><span lang="EN-US" style="FONT-SIZE: 10.5pt; FONT-FAMILY: Verdana"></span></font></p><p><font size="2"></font></p><p><span lang="EN-US" style="FONT-SIZE: 10.5pt; FONT-FAMILY: Verdana"><font size="2">      </font></span><font face="宋体"><span style="FONT-SIZE: 10.5pt; mso-ascii-font-family: Verdana; mso-hansi-font-family: Verdana"><font size="2">服务器、网站，看到这些词大家都会想到什么，不只是性能更加关注的是它的安全问题。很多人都无法做到非常完美的安全加固，因为大部分的资料都来源互联网，而互联网的资料总不是那么详尽，毕竟每个服务器的应用环境及运行程序不同。<br/>............<br/>
]]>
</description>
</item><item>
<link>https://maytide.net/read.php/714.htm</link>
<title><![CDATA[从命令提示符执行 IIS 中的管理任务]]></title> 
<author>gOxiA &lt;sufan_cn@msn.com&gt;</author>
<category><![CDATA[Microsoft IIS]]></category>
<pubDate>Sat, 03 Sep 2005 01:36:10 +0000</pubDate> 
<guid>https://maytide.net/read.php/714.htm</guid> 
<description>
<![CDATA[ 
	<h2 class="subTitle"><font face="arial,helvetica,sans-serif" size="2">概要</font></h2><div class="sbody"><font face="arial,helvetica,sans-serif" size="2">本文介绍如何从命令提示符执行 Internet 信息服务 (IIS) 中的管理任务。有几种工具可以帮助管理任务的执行。本文中，这些任务划分为三个独立的任务组；不过，所有任务都是由<var>驱动器盘符</var>:\Inetpub\AdminScripts 文件夹中 Administrator 组的组成员用户执行的。 <br/>............<br/>
]]>
</description>
</item><item>
<link>https://maytide.net/read.php/727.htm</link>
<title><![CDATA[在Web服务器上禁止Socket Pooling]]></title> 
<author>gOxiA &lt;sufan_cn@msn.com&gt;</author>
<category><![CDATA[Microsoft IIS]]></category>
<pubDate>Mon, 04 Jul 2005 07:21:34 +0000</pubDate> 
<guid>https://maytide.net/read.php/727.htm</guid> 
<description>
<![CDATA[ 
	<p>安装Httpcfg.exe。在Windows Server 2003安装光盘的%cdrom_root%\support\tools\目录下，双击<b>SUPTOOLS.MSI</b></p><p>跟随提示完成安装。然后点击<b>开始</b>-&gt;<b>所有程序</b>-&gt;<b>Windows Support Tools</b>-&gt;<b>Command Prompt</b>，</p><p>运行Httpcfg set iplisten -i 192.168.0.1进行绑定，然后运行httpcfg query iplisten进行查询，最后重启计算机。 </p><p>计算机重启后以管理员身份登录，再运行netstat -an，可以看到IIS的Web站点已经只是绑定在内部接口的IP地址上了。</p>
]]>
</description>
</item><item>
<link>https://maytide.net/read.php/728.htm</link>
<title><![CDATA[通过URLScan来隐藏IIS的标示头]]></title> 
<author>gOxiA &lt;sufan_cn@msn.com&gt;</author>
<category><![CDATA[Microsoft IIS]]></category>
<pubDate>Sat, 25 Jun 2005 08:50:27 +0000</pubDate> 
<guid>https://maytide.net/read.php/728.htm</guid> 
<description>
<![CDATA[ 
	<p>安装URLScan，之后编辑URLScan.ini文件</p><p>找到<div class="code">RemoveServerHeader=0</div></p><p>修改为：<div class="code">RemoveServerHeader=1</div></p><p>原文地址：<a href="http://support.microsoft.com/?id=317741">http://support.microsoft.com/?id=317741</a></p>
]]>
</description>
</item><item>
<link>https://maytide.net/read.php/732.htm</link>
<title><![CDATA[DebugDiag 1.0]]></title> 
<author>gOxiA &lt;sufan_cn@msn.com&gt;</author>
<category><![CDATA[Microsoft IIS]]></category>
<pubDate>Wed, 01 Jun 2005 07:31:54 +0000</pubDate> 
<guid>https://maytide.net/read.php/732.htm</guid> 
<description>
<![CDATA[ 
	<p><font size="2">从微软MVP：Bernard Cheah先生那里得知微软发布了一款新工具，用来调试维修IIS，这为IIS管理员带来了惊喜和福音。</font></p><p><font size="2">**Microsoft releases Debug Diagnostics 1.0 - Release Candidate 1**<br /> <br />Microsoft is working diligently on a new tool designed to make the life easier for IIS administrators and developers who are tasked with solving complex problems such as crashes, hangs, or memory leaks.  The tool, called Debug Diagnostics 1.0, is the next generation debugging utility that extends on the functionality of previous tools such as IIS Debug Toolkit 1.1, Debug Matrix, and IIS State.  This tool will be the only fully supported tool for debugging applications that run on IIS upon release and is supported on the IIS 4.0, 5.0, 5.1, and 6.0 platforms.  <br /> <br />To join the beta and provide invaluable feedback to the designers,<br />please do the following -<br />1. Go to </font><a href="http://beta.microsoft.com/"><font face="Verdana" size="2">http://beta.microsoft.com</font></a><font face="Verdana"><br /><font size="2">2. Login in with your passport id.<br />3. Login using the guest ID &quot;DebugDiag&quot; (it's case sensitive)<br />4. Click on the &quot;IIS Debug Diagnostic Tool&quot; link.<br />5. On the left hand side expand survey and select &quot;IIS Debug Diagnostic Tool Nomination Form&quot;<br />Note: if the customer only wants DebugDiag and doesn't want to sign up for the beta they can do this by selecting &quot;Click here to download IIS Debug Diagnostic Tool&quot; from the File Downloads section. <br />*You may be prompted to install an activeX control</font></font></p><p align="justify"><font face="Verdana" size="2">This tool is also receiving full support via newsgroups which are available by doing the following -<br />To access WebNews newsgroups: <br />1. Connect to </font><a href="http://webnews.microsoft.com/"><font face="Verdana" size="2">http://webnews.microsoft.com</font></a><br /><font face="Verdana" size="2">3. For account name, enter &quot;&lt;Your Beta ID&gt;&quot; <br />4. Enter your Newsgroup Password (if you do not have a Newsgroup password - you can create it on BetaPlace by selecting Modify Your Info from the top navigation bar). Click OK. <br />5. Select the Program Name or particular newsgroup on the left pane to access. <br /><br />To provide bug and customer feedback, please open bugs via the beta.microsoft.com using your Microsoft Passport.  It would be incredibly powerful for us to get your feedback and make a true difference in your lives and Microsoft's.</font></p>
]]>
</description>
</item><item>
<link>https://maytide.net/read.php/734.htm</link>
<title><![CDATA[发现WinSRV2003SP1并没有包含ASP+Access的BUG更新]]></title> 
<author>gOxiA &lt;sufan_cn@msn.com&gt;</author>
<category><![CDATA[Microsoft IIS]]></category>
<pubDate>Sat, 30 Apr 2005 03:46:00 +0000</pubDate> 
<guid>https://maytide.net/read.php/734.htm</guid> 
<description>
<![CDATA[ 
	<p>看了Windows Server 2003 SP1的LIST后，发现解决Win2003上运行ASP+Access的BUG补丁没有包含在里面。很郁闷，真的很郁闷！苦苦等待的关键性更新却没有包含，看来微软真的要放弃ASP+Access了，可是这种模式对于小网站还是够用的啊！也许这次将是对ASP程序员们的一次洗牌。</p><p>一面是SP1关于IIS更新的List：</p><p><a href="http://support.microsoft.com/?id=823554"><font face="Verdana" size="2"><strong>823544</strong></font></a><font face="Verdana" size="2"> MD_ETAG_CHANGENUMBER metabase property is not honored in Internet Information Services version 6.0<br /></font><a href="http://support.microsoft.com/?id=823596"><font face="Verdana" size="2"><strong>823596</strong></font></a><font face="Verdana" size="2"> IIS Admin Service quits unexpectedly without generating an error message<br /></font><a href="http://support.microsoft.com/?id=823700"><font face="Verdana" size="2"><strong>823700</strong></font></a><font face="Verdana" size="2"> FIX: Your computer may run slowly when you use Active Directory Service Interfaces scripts in a program to administer IIS on a computer that is running Windows Server 2003, Windows 2000, or Windows XP<br /><a href="http://support.microsoft.com/?id=824322"><strong>824322</strong></a> ASP file cache is deleted after a network error<br /></font><a href="http://support.microsoft.com/?id=824330"><font face="Verdana" size="2">824330</font></a><font face="Verdana" size="2"> FIX: IIS 6.0 does not return AUTH_TYPE for Integrated security<br /><a href="http://www.msmvps.com/bernard/824446"><strong>824446</strong></a> A Common Gateway Interface (CGI) program may not work correctly if a multi-byte character set string is entered in the HTTP Cookie Header field<br /><a href="http://support.microsoft.com/?id=826007"><strong>826007</strong></a> You may receive a &quot;The IIS Admin scripts only support IIS 6.0&quot; error message when you run the Iisback.vbs script in IIS 6.0<br /></font><a href="http://support.microsoft.com/?id=826270"><font face="Verdana" size="2"><strong>826270</strong></font></a><font face="Verdana" size="2"> FIX: You cannot suppress the default FTP banner for the FTP service<br /><a href="http://support.microsoft.com/?id=826410"><strong>826410</strong></a> You cannot disable the logging of successful requests in IIS 6.0<br /></font><a href="http://support.microsoft.com/?id=826756"><font face="Verdana" size="2"><strong>826756</strong></font></a><font face="Verdana" size="2"> FIX: The Response.BinaryWrite method fails when you use it to send files that are larger than 20 MB<br /></font><a href="http://support.microsoft.com/?id=827991"><font face="Verdana" size="2"><strong>827991</strong></font></a><font face="Verdana" size="2"> FIX: &quot;HTTP error 401.1 - Unauthorized: Access is denied due to invalid credentials&quot; error message if the Basic authentication Default Domain property is set to a backward slash character (\) in IIS<br /></font><a href="http://support.microsoft.com/?id=828086"><font face="Verdana" size="2"><strong>828086</strong></font></a><font face="Verdana" size="2"> FIX: You cannot rename a file after you upload the file to an FTP server<br /></font><a href="http://support.microsoft.com/?id=828869"><font face="Verdana" size="2"><strong>828869</strong></font></a><font face="Verdana" size="2"> The IIS worker process recycles when you use the Server.Execute method<br /></font><a href="http://support.microsoft.com/?id=828970"><font face="Verdana" size="2"><strong>828970</strong></font></a><font face="Verdana" size="2"> Problems decoding client certificate attributes of type CERT_RDN_UTF8_STRING<br /></font><a href="http://support.microsoft.com/?id=829010"><font face="Verdana" size="2"><strong>829010</strong></font></a><font face="Verdana" size="2"> FIX: Query strings cannot be appended to a default document for a Web application<br /><a href="http://support.microsoft.com/?id=830219"><strong>830219</strong></a> FIX: Extending the metabase schema may result in corrupt custom properties<br /><a href="http://support.microsoft.com/?id=830520"><strong>830520</strong></a> Two authentication prompts when you use an ISAPI filter for authentication<br /></font><a href="http://support.microsoft.com/?id=832139"><font face="Verdana" size="2"><strong>832139</strong></font></a><font face="Verdana" size="2"> FIX: IIS 6.0 serves stale content if your Web site has both an IP address and host headers set<br /></font><a href="http://support.microsoft.com/?id=833734"><font face="Verdana" size="2"><strong>833734</strong></font></a><font face="Verdana" size="2"> FIX: You experience various problems when you use the Password Change pages in IIS 6.0<br /></font><a href="http://support.microsoft.com/?id=834027"><font face="Verdana" size="2"><strong>834027</strong></font></a><font face="Verdana" size="2"> PRB: Disconnected TCP session after chunked transfer response in IIS 6.0<br /></font><a href="http://support.microsoft.com/?id=834141"><font face="Verdana" size="2"><strong>834141</strong></font></a><font face="Verdana" size="2"> FIX: IP address is revealed in the content-location field in the TCP header in IIS 6.0<br /><a href="http://support.microsoft.com/?id=836533"><strong>836533</strong></a> You receive a &quot;The security context is invalid&quot; error message when you call or create an out-of-process component<br /><a href="http://support.microsoft.com/?id=838790"><strong>838790</strong></a> FIX: You receive a 403.2 error message when you use an ISAPI extension .dll file as a default document<br /><a href="http://support.microsoft.com/?id=839003"><strong>839003</strong></a> FIX: &quot;Automation Error, object is not registered&quot; error message when an ASP page calls COM objects that are running in a COM+ package on IIS 6.0<br /></font><a href="http://support.microsoft.com/?id=841460"><font face="Verdana" size="2"><strong>841460</strong></font></a><font face="Verdana" size="2"> You may experience performance problems when you use the URL authorization feature of IIS 6.0<br /></font><a href="http://support.microsoft.com/?id=867755"><font face="Verdana" size="2"><strong>867755</strong></font></a><font face="Verdana" size="2"> Content in Web pages does not appear as expected, or you receive script error messages, after you turn on dynamic HTTP compression for Web sites that use ISAPI filters in Internet Information Services 6.0<br /></font><a href="http://support.microsoft.com/?id=867776"><font face="Verdana" size="2"><strong>867776</strong></font></a><font face="Verdana" size="2"> FIX: Memory leaks may occur in ASP transactional pages that create COM objects in Internet Information Services (IIS) 6.0<br /><a href="http://support.microsoft.com/?id=872953"><strong>872953</strong></a> FIX: HTTP headers are set incorrectly when the AddHeader function or the SetHeader function is called in IIS 6.0<br /></font><a href="http://support.microsoft.com/?id=883489"><font face="Verdana" size="2"><strong>883489</strong></font></a><font face="Verdana" size="2"> You receive an &quot;Access is denied&quot; error message when you connect to a Web site after you modify permissions in the metabase in IIS 6.0<br /><a href="http://support.microsoft.com/?id=883661"><strong>883661</strong></a> The ILogPlugin::QueryExtraLoggingFields method returns incorrectly formatted data in IIS 6.0<br /><a href="http://support.microsoft.com/?id=883944"><strong>883944</strong></a> Web requests may not obtain the correct security context on a server that is running Windows Server 2003<br /></font><a href="http://support.microsoft.com/?id=884503"><font face="Verdana" size="2"><strong>884503</strong></font></a><font face="Verdana" size="2"> FIX: You cannot configure CGI wildcard application mapping in IIS 6.0 in Windows Server 2003<br /><a href="http://support.microsoft.com/?id=886695"><strong>886695</strong></a> You receive an &quot;Error 1053: The service did not respond to the start or control request in a timely fashion&quot; error message when a service that uses the local system account tries to start on a Windows Server 2003-based computer<br /></font><a href="http://support.microsoft.com/?id=886810"><font face="Verdana" size="2"><strong>886810</strong></font></a><font face="Verdana" size="2"> The values in the Request.ClientCertificate object are not displayed correctly in IIS 6.0<br /></font><a href="http://support.microsoft.com/?id=892499"><font face="Verdana" size="2"><strong>892499</strong></font></a><font face="Verdana" size="2"> FIX: Some virtual directory configuration information may be lost and event ID 51260 may be logged on your computer that is running Internet Information Services 6.0<br /></font><a href="http://support.microsoft.com/?id=892988"><font face="Verdana" size="2"><strong>892988</strong></font></a><font face="Verdana" size="2"> An access violation may occur when you use an ISAPI filter in IIS 6.0</font></p><p><font size="2">可以发现关于JETDB的<a href="http://support.microsoft.com/?id=838306"><font face="Verdana"><font size="2"><strong>KB 838306</strong> </font></font></a>没有包含在里面。</font></p><p><font size="2">马上要对服务器进程重新设置，还要依靠定期的进程回收来解决。</font></p>
]]>
</description>
</item><item>
<link>https://maytide.net/read.php/751.htm</link>
<title><![CDATA[配置 URLScan 工具]]></title> 
<author>gOxiA &lt;sufan_cn@msn.com&gt;</author>
<category><![CDATA[Microsoft IIS]]></category>
<pubDate>Tue, 25 Jan 2005 05:14:27 +0000</pubDate> 
<guid>https://maytide.net/read.php/751.htm</guid> 
<description>
<![CDATA[ 
	<strong>修改 URLScan.ini 文件</strong><br/><br/>URLScan 的所有配置都是通过 URLScan.ini 文件执行的，此文件位于 %WINDIR%\System32\Inetsrv\URLscan 文件夹中。要配置 URLScan，请在文本编辑器（如记事本）中打开此文件，进行相应的更改，然后保存此文件。<br/><br/><strong>注意：</strong>要使更改生效，必须重新启动 Internet 信息服务 (IIS)。一种快速的实现方法是在命令提示符处运行 <strong>IISRESET</strong>。<br/><br/>URLScan.ini 文件包含以下几节：<br/><br/><strong>[Options]：</strong>此节描述常规 URLScan 选项。<br/><strong>[AllowVerbs] 和 [DenyVerbs]：</strong>此节定义 URLScan 允许的谓词（又称作 HTTP 方法）。<br/><strong>[DenyHeaders]：</strong>此节列出 HTTP 请求中不允许的 HTTP 标头。如果 HTTP 请求中包含此节中列出的任何 HTTP 标头，URLScan 将拒绝该请求。<br/><strong>[AllowExtensions] 和 [DenyExtensions]：</strong>此节定义 URLScan 允许的文件扩展名。<br/><strong>[DenyURLSequences]：</strong>此节列出 HTTP 请求中不允许的字符串。URLScan 拒绝那些包含此节中出现的字符串的 HTTP 请求。<br/><br/><strong>[Options] 节</strong><br/>在<strong> [Options] </strong>节中，可以配置许多 URLScan 选项。此节中的每一行都具有以下格式：<br/><br/><em>OptionName=OptionValue</em><br/>可用选项及其默认值如下所示：<br/><br/><strong>UseAllowVerbs=1</strong><br/>默认情况下，此选项设置为 1。如果将此选项设置为 1，则 URLScan 仅允许那些使用 [AllowVerbs] 节中列出的谓词的 HTTP 请求。URLScan 禁止任何不使用这些谓词的请求。如果将此选项设置为 0，则 URLScan 忽略 [AllowVerbs] 节，相反仅禁止那些使用 [DenyVerbs] 节中列出的谓词的请求。<br/><br/><strong>UseAllowExtensions=0</strong><br/>默认情况下，此选项设置为 0。如果将此选项设置为 0，则 URLScan 禁止对 [DenyExtensions] 节中列出的文件扩展名的请求，但允许对任何其他文件扩展名的请求。如果将此选项设置为 1，则 URLScan 仅允许对带 [AllowExtensions] 节中列出的扩展名的文件的请求，而禁止对任何其他文件的请求。<br/><br/><strong>NormalizeUrlBeforeScan=1</strong><br/>IIS 收到用 URL 编码的请求。这表示某些字符可能被替换为百分号 (%) 后跟特定的数字。例如，%20 对应于一个空格，因此，对 http://myserver/My%20Dir/My%20File.htm 的请求与对 http://myserver/My Dir/My File.htm 的请求是相同的。标准化就是对 URL 编码请求进行解码的过程。默认情况下，此选项设置为 1。如果将 NormalizeUrlBeforeScan 选项设置为 1，则 URLScan 分析已解码的请求。如果将此选项设置为 0，则 URLScan 分析未解码的请求。将此选项设置为 0 会影响 URLScan 禁止某种攻击的能力。<br/><br/><strong>VerifyNormalization=1</strong><br/>由于百分号 (%) 本身可以是 URL 编码的，所以攻击者可以向服务器提交一个精心制作的、基本上是双重编码的请求。如果发生这种情况，IIS 可能会接受本应视作无效而拒绝的请求。默认情况下，此选项设置为 1。如果将 VerifyNormalization 选项设置为 1，则 URLScan 将对 URL 执行两次标准化。如果第一次标准化后的 URL 与第二次标准化后的 URL 不同，URLScan 将拒绝该请求。这样就可以防止那些依赖双重编码请求的攻击。<br/><br/><strong>AllowHighBitCharacters=0</strong><br/>默认情况下，此选项设置为 0。如果将此选项设置为 0，则 URLScan 拒绝任何包含非 ASCII 字符的请求。这样可以防止某些类型的攻击，但同时可能也会禁止对某些合法文件的请求，如带有非英文名的文件。<br/><br/><strong>AllowDotInPath=0</strong><br/>默认情况下，此选项设置为 0。如果将此选项设置为 0，则 URLScan 拒绝所有包含多个句点 (.) 的请求。这样可以防止通过将安全的文件扩展名放入 URL 的路径信息或查询字符串部分，以达到伪装请求中的危险文件扩展名的企图。例如，如果将此选项设置为 1，则 URLScan 可能允许对 http://servername/BadFile.exe/SafeFile.htm 的请求，因为它认为这是对 HTML 页的请求，但实际上这是一个对可执行 (.exe) 文件的请求，而该文件的名称在 PATH_INFO 区域中显示为 HTML 页的名称。如果将此选项设置为 0，URLScan 可能还会拒绝对包含句点的目录的请求。<br/><br/><strong>RemoveServerHeader=0</strong><br/>默认情况下，Web 服务器返回一个标头，其中指出了 Web 服务器在所有响应中运行的 Web 服务器软件。这会增加服务器遭受攻击的可能性，因为攻击者可以确定服务器正在运行 IIS，于是便攻击已知的 IIS 问题，而不是试图使用为其他 Web 服务器设计的攻击手段来攻击 IIS 服务器。默认情况下，此选项设置为 0。如果将 RemoveServerHeader 选项设置为 1，可以防止您的服务器发送将其标识为 IIS 服务器的标头。如果将 RemoveServerHeader 设置为 0，则仍发送此标头。<br/><br/><strong>AlternateServerName=（默认情况下不指定）</strong><br/>如果将 RemoveServerHeader 设置为 0，可以在 AlternateServerName 选项中指定一个字符串以指定将在服务器标头中传回的内容。如果将 RemoveServerHeader 设置为 1，则此选项将被忽略。<br/><br/><strong>EnableLogging=1</strong><br/>默认情况下，URLScan 在 %WINDIR%\System32\Inetsrv\URLScan 中保留所有被禁止的请求的完整日志。如果不希望保留此日志，可将 EnableLogging 设置为 0。<br/><br/><strong>PerProcessLogging=0</strong><br/>默认情况下，此选项设置为 0。如果将此选项设置为 1，URLScan 将为承载 URLScan.dll 的每个进程创建一个单独的日志。如果将此选项设置为 0，所有进程将记录到同一个文件中。<br/><br/><strong>PerDayLogging=1</strong><br/>默认情况下，此选项设置为 1。如果将该值设置为 1，则 URLScan 每天创建一个新的日志文件。每个日志文件的名称都是 Urlscan.MMDDYY.log，其中 MMDDYY 是日志文件的日期。如果将该值设置为 0，则所有日志记录都保存在同一个文件中，与日期无关。<br/><br/><strong>AllowLateScanning=0</strong><br/>默认情况下，此选项设置为 0。如果将此选项设置为 0，则 URLScan 作为高优先级筛选器运行，这表示它先于服务器上安装的所有其他 Internet 服务器应用程序编程接口 (ISAPI) 筛选器执行。如果将此选项设置为 1，则 URLScan 作为低优先级筛选器运行，以便其他筛选器可以在 URLScan 进行任何分析之前修改 URL。FrontPage Server Extensions (FPSE) 要求将此选项设置为 1。<br/><br/><strong>RejectResponseUrl=（默认情况下不指定）</strong><br/>此选项指定在 URLScan 禁止请求时运行的文件的虚拟路径。这允许您自定义针对被禁止的请求发送给客户机的响应。必须将 RejectResponseUrl 指定为相应文件的虚拟路径，如 /Path/To/RejectResponseHandler.asp。可以指定 URLScan 通常禁止的文件，如 Active Server Pages (ASP) 页。还可以从该页指定以下服务器变量：• HTTP_URLSCAN_STATUS_HEADER：此变量指定请求被禁止的原因。 <br/>• HTTP_URLSCAN_ORIGINAL_VERB：此变量指定被禁止的请求中的原始谓词（例如 GET、POST、HEAD 或 DEBUG）。 <br/>• HTTP_URLSCAN_ORIGINAL_URL：此变量指定被禁止的请求中的原始 URL。 <br/>如果将 RejectResponseUrl 设置为特殊值 /~*，则 URLScan 使用“仅日志记录”模式。这允许 IIS 为所有请求提供服务，但它会在 URLScan 日志中为所有通常被禁止的请求添加相应的项。这在需要测试 URLScan.ini 文件时很有用。<br/>如果没有指定 RejectResponseUrl 的值，则 URLScan 使用默认值 /<Rejected-By-UrlScan>。<br/><br/><strong>UseFastPathReject=0</strong><br/>默认情况下，此选项设置为 0。如果将此选项设置为 1，则 URLScan 忽略 RejectResponseUrl 设置并立即向浏览器返回 404 错误信息。这比处理 RejectResponseUrl 要快，但它允许的日志记录选项没有那么多。如果将此选项设置为 0，则 URLScan 使用 RejectResponseUrl 设置来处理请求。<br/><br/><strong>[AllowVerbs] 节和 [DenyVerbs] 节</strong><br/><br/><strong>[AllowVerbs] 节和 [DenyVerbs] 节</strong>定义 URLScan 允许的 HTTP 谓词（又称作方法）。常用的 HTTP 谓词包括 GET、POST、HEAD 和 PUT。其他应用程序（如 FPSE 和 Web 分布式创作和版本控制 (WebDAV)）使用更多的谓词。<br/><br/><strong>[AllowVerbs] 节和 [DenyVerbs] 节</strong>的语法相同。它们由 HTTP 谓词列表组成，每个谓词占一行。<br/><br/>URLScan 根据 <strong>[Options] 节</strong>中 <strong>UseAllowVerbs </strong>选项的值来决定使用哪一节。默认情况下，此选项设置为 1。如果将 <strong>UseAllowVerbs</strong> 设置为 1，则 URLScan 仅允许那些使用 <strong>[AllowVerbs] 节</strong>中列出的谓词的请求。不使用任何这些谓词的请求将被拒绝。在这种情况下，<strong>[DenyVerbs] 节</strong>被忽略。<br/><br/>如果将 <strong>UseAllowVerbs</strong> 设置为 0，则 URLScan 拒绝那些使用 <strong>[DenyVerbs]</strong> 节中明确列出的谓词的请求。允许任何使用未在此节中出现的谓词的请求。在这种情况下，URLScan 忽略 <strong>[AllowVerbs]</strong> 节<br/><br/><strong>[DenyHeaders] 节</strong><br/><br/>当客户机向 Web 服务器请求页面时，它通常会发送一些包含有关此请求的其他信息的 HTTP 标头。常见的 HTTP 标头包括：<br/><br/>Host:<br/>此标头包含 Web 服务器的名称。<br/><br/>Accept:<br/>此标头定义客户机可以处理的文件类型。<br/><br/>User-Agent:<br/>此标头包含请求页面的浏览器的名称。<br/><br/>Authorization:<br/>此标头定义客户机支持的身份验证方法。<br/><br/>客户机可能会向服务器发送其他标头以指定其他信息。<br/><br/>在 <strong>[DenyHeaders]</strong> 节中，您定义 URLScan 将拒绝的 HTTP 标头。如果 URLScan 收到的请求中包含此节中列出的任何标头，它将拒绝该请求。此节由 HTTP 标头列表组成，每个标头占一行。标头名后面必须跟一个冒号 (:)（<strong>例如 Header-Name:</strong>）。<br/><br/><strong>[AllowExtensions] 节和 [DenyExtensions] 节</strong><br/><br/>大多数文件都有一个标识其文件类型的文件扩展名。例如，Word 文档的文件名一般以 .doc 结束，HTML 文件名一般以 .htm 或 .html 结束，纯文本文件名一般以 .txt 结束。<strong>[AllowExtensions]</strong> 节和 <strong>[DenyExtensions]</strong> 节允许您定义 URLScan 将禁止的扩展名。例如，您可以配置 URLScan 以拒绝对 .exe 文件的请求，防止 Web 用户在您的系统上执行应用程序。<br/><br/><strong>[AllowExtensions] 节和 [DenyExtensions] 节</strong>的语法相同。它们由文件扩展名列表组成，每个扩展名占一行。扩展名以句点 (.) 开头（例如 .ext）。<br/><br/>URLScan 根据 <strong>[Options]</strong> 节中 UseAllowExtensions 的值来决定使用哪一节。默认情况下，此选项设置为 0。如果将 UseAllowExtensions 设置为 0，则 URLScan 仅拒绝对 <strong>[DenyExtensions]</strong> 节中列出的文件扩展名的请求。允许此节中未列出的任何文件扩展名。<strong>[AllowExtensions]</strong> 节被忽略。<br/><br/>如果将 UseAllowExtensions 设置为 1，则 URLScan 拒绝对 <strong>[AllowExtensions]</strong> 节中未明确列出的任何文件扩展名的请求。仅允许对此节中列出的文件扩展名的请求。<strong>[DenyExtensions]</strong> 节被忽略。<br/><br/>有关如何配置 URLScan 以允许对没有扩展名的文件的请求，请单击下面的文章编号，以查看 Microsoft 知识库中相应的文章：<br/><a href="http://support.microsoft.com/kb/312376/EN-US/" target="_blank">312376</a> HOW TO:Configure URLScan to Allow Requests with a Null Extension in IIS<br/><br/><strong>[DenyUrlSequences] 节</strong><br/><br/>可以配置 URLScan 以禁止那些 URL 中包含某些字符序列的请求。例如，可以禁止那些包含两个连续句点 (..) 的请求，利用目录遍历漏洞的攻击中经常采用这种手段。要指定一个要禁止的字符序列，请将此序列单独放在 <strong>[DenyUrlSequences]</strong> 节中的一行上。<br/><br/>请注意，添加字符序列可能会对 Microsoft Exchange 的 Outlook Web Access (OWA) 产生负面影响。当您从 OWA 打开一个邮件时，该邮件的主题行包含在服务器所请求的 URL 中。由于 URLScan.ini 文件禁止任何包含百分号 (%) 和连字符 (&) 的请求，因此，当用户尝试打开主题行为“Sales increase by 100%”或“Bob & Sue are coming to town”的邮件时，会收到 404 错误信息。要解决此问题，可以从 <strong>[DenyUrlSequences]</strong> 节中删除这些序列。请注意，这样做会降低安全性，因为它有可能允许危险的请求到达服务器。<br/><br/>有关其他信息，请单击下面的文章编号，以查看 Microsoft 知识库中相应的文章： <br/><a href="http://support.microsoft.com/kb/320089" target="_blank">320089</a> XCCC:The URLScan Utility Does Not Allow You to Open Messages in OWA<br/><br/><span style="color: red;">注：原文出处：http://support.microsoft.com/default.aspx?scid=kb;zh-cn;326444</span>
]]>
</description>
</item><item>
<link>https://maytide.net/read.php/752.htm</link>
<title><![CDATA[Configure URLScan to Allow Requests with a Null Extension in IIS]]></title> 
<author>gOxiA &lt;sufan_cn@msn.com&gt;</author>
<category><![CDATA[Microsoft IIS]]></category>
<pubDate>Tue, 25 Jan 2005 03:10:53 +0000</pubDate> 
<guid>https://maytide.net/read.php/752.htm</guid> 
<description>
<![CDATA[ 
	<strong>Modify the Default URLScan Configuration File</strong><br/><br/>Paste the Urlscan folder in the %Windir%\System32\Inetsrv directory. Double-click the Urlscan folder under Inetsrv, and then open Urlscan.ini in Notepad.<br/><br/>In the Urlscan.ini file, be sure to enable UseAllowExtensions, as follows:<br/><div class="code">[Option]<br/>UseAllowExtensions=1; if 1, use [AllowExtensions] section, else</div><br/><br/>Urlscan allows you to specify a null extension in the [AllowExtensions] section. To do this, add a period (.) in the [AllowExtensions] section, as follows:<br/><div class="code">[AllowExtensions]<br/>.<br/>;<br/>; Extensions listed here are commonly used on a typical IIS server.<br/>;<br/>; Note that these entries are effective if \"UseAllowExtensions=1\"<br/>; is set in the [Option] section above.<br/>;<br/>.asp<br/>.htm<br/>.html<br/>.txt<br/>.jpg<br/>.jpeg<br/>.gif</div>
]]>
</description>
</item><item>
<link>https://maytide.net/read.php/762.htm</link>
<title><![CDATA[解决”dllhost进程消耗cpu 100%的问题]]></title> 
<author>gOxiA &lt;sufan_cn@msn.com&gt;</author>
<category><![CDATA[Microsoft IIS]]></category>
<pubDate>Wed, 24 Nov 2004 09:15:13 +0000</pubDate> 
<guid>https://maytide.net/read.php/762.htm</guid> 
<description>
<![CDATA[ 
	特征：服务器正常CPU消耗应该在75%以下，而且CPU消耗应该是上下起伏的，出现这种问题的服务器，CPU会突然一直处100%的水平，而且不会下降。查看任务管理器，可以发现是DLLHOST.EXE消耗了所有的CPU空闲时间，管理员在这种情况下，只好重新启动IIS服务，奇怪的是，重新启动IIS服务后一切正常，但可能过了一段时间后，问题又再次出现了。 <br/><br/>直接原因： <br/>有一个或多个ACCESS数据库在多次读写过程中损坏，微软的MDAC系统在写入这个损坏的ACCESS文件时，ASP线程处于BLOCK状态，结果其他线程只能等待，IIS被死锁了，全部的CPU时间都消耗在DLLHOST中。 <br/><br/>解决办法： <br/>最简单的办法是使用文件医生，自动查找并修复所有有问题的文件，请参考： <br/>http://7i24.com/serverdoctor/filedoctor.htm <br/><br/><br/>另一个办法是： <br/>安装“一流信息监控拦截系统”，使用其中的“首席文件检查官IIS健康检查官”软件， <br/>启用”查找死锁模块”，设置： <br/>;--wblock=yes <br/>;监控的目录，请指定您的主机的文件所在目录： <br/>;--wblockdir=d:\test <br/>监控生成的日志的文件保存位置在安装目录的log目录中，文件名为：logblock.htm <br/><br/>停止IIS，再启动“首席文件检查官IIS健康检查官”，再启动IIS，“首席文件检查官IIS健康检查官”会在logblock.htm中记录下最后写入的ACCESS文件的。 <br/><br/>过了一段时间后，当问题出来时，例如CPU会再次一直处100%的水平，可以停止IIS，检查logblock.htm所记录的最后的十个文件，注意，最有问题的往往是计数器类的ACCESS文件，例如：”**COUNT.MDB”，”**COUNT.ASP”，可以先把最后十个文件或有所怀疑的文件删除到回收站中，再启动IIS，看看问题是否再次出现。我们相信，经过仔细的查找后，您肯定可以找到这个让您操心了一段时间的文件的。 <br/>找到这个文件后，可以删除它，或下载下来，用ACCESS2000修复它，问题就解决了！！！ 
]]>
</description>
</item><item>
<link>https://maytide.net/read.php/763.htm</link>
<title><![CDATA[ASP.NET的修复]]></title> 
<author>gOxiA &lt;sufan_cn@msn.com&gt;</author>
<category><![CDATA[Microsoft IIS]]></category>
<pubDate>Wed, 24 Nov 2004 09:13:42 +0000</pubDate> 
<guid>https://maytide.net/read.php/763.htm</guid> 
<description>
<![CDATA[ 
	一般IIS运行不了ASP.NET,试一下下面四种方法，99％有效：<br/>1).NET 安装的顺序应该是先装IIS，再装VS.NET，如果次序反了，或者IIS重装了，就<br/>需要使用aspnet_regiis.exe -i来重新安装IIS Mapping（主要用于aspx, asmx等文件<br/>的Extention的匹配）。在C:\WINDOWS\Microsoft.NET\Framework\v1.0.3705目录下，<br/>运行下面的命令：<br/>aspnet_regiis.exe -i<br/><br/>2)重设ASPNET的密码，然后在下面的目录中找到Machine.config文件：<br/>%Systemroot%\Microsoft.NET\Framework\v1.0.3705\CONFIG （Systemroot是你的安装<br/>目录），在标识中添加/修改：<br/>userName和password<br/><br/>3)如果还不行，重装IIS，然后再按照方法1进行操作<br/><br/>4)如果你的机器是域控制器，你可以参考Q315158：ASP.NET Does Not Work with<br/>ASPNET Account on Domain Controller：<br/>http://support.microsoft.com/default.aspx?scid=KB;EN-US;Q315158&<br/><br/>大致操作步骤：<br/>1)在Administrative Tools->Active Directory Users and Computers中建立一个名<br/>为ASPUSER的用户，将该用户添加到用户组中（默认情况下已在User Group中）<br/><br/>2)在Administrative Tools->Local Security Settings－>Local Policy->User<br/>Right Assignment中,双击右栏的Log on as a batch job项，在弹出的窗口中点击<br/>Add，选择或输入刚才建立的ASPUSER帐号，确定。（需要重启机器）<br/><br/>3)确保ASPUSER帐号有相应文件、目录的访问权限<br/><br/>4)在下面的目录中找到Machine.config文件：<br/>%Systemroot%\Microsoft.NET\Framework\v1.0.3705\CONFIG （Systemroot是你的安装<br/>目录），在标识中添加/修改：<br/>userName="DomainName\ASPUSER" password="ASPUSERpassword" 其中ASPUSERpassword<br/>是刚刚建立的ASPUSER的密码，DomainName是域名 （重启机器）
]]>
</description>
</item><item>
<link>https://maytide.net/read.php/767.htm</link>
<title><![CDATA[INFO：ASP 错误代码]]></title> 
<author>gOxiA &lt;sufan_cn@msn.com&gt;</author>
<category><![CDATA[Microsoft IIS]]></category>
<pubDate>Tue, 09 Nov 2004 03:18:36 +0000</pubDate> 
<guid>https://maytide.net/read.php/767.htm</guid> 
<description>
<![CDATA[ 
	概要<br/>本文包含处理 Active Server Pages (ASP) 页面时可能返回的 ASP 错误代码的列表。根据您所使用的 Internet 信息服务 (IIS) 版本的不同，该列表可能会有所不同。<br/>更多信息<br/><div class="code">ASP 错误代码 说明 <br/>ASP 0100 内存不足 <br/>ASP 0101 意外错误 <br/>ASP 0102 需要字符串输入 <br/>ASP 0103 需要数字输入 <br/>ASP 0104 不允许此项操作 <br/>ASP 0105 下标越界 <br/>ASP 0106 类型不匹配 <br/>ASP 0107 堆栈溢出 <br/>ASP 0108 创建对象失败 <br/>ASP 0109 找不到成员 <br/>ASP 0110 未知名称 <br/>ASP 0111 未知接口 <br/>ASP 0112 缺少参数 <br/>ASP 0113 脚本超时 <br/>ASP 0114 非自由线程对象 <br/>ASP 0115 意外错误 <br/>ASP 0116 丢失脚本关闭分隔符 <br/>ASP 0117 丢失脚本关闭标记 <br/>ASP 0118 丢失对象关闭标记 <br/>ASP 0119 丢失 Classid 或 Progid 特性 <br/>ASP 0120 无效的 Runat 特性 <br/>ASP 0121 对象标记中包含无效作用域 <br/>ASP 0122 对象标记中包含无效作用域 <br/>ASP 0123 丢失 Id 特性 <br/>ASP 0124 丢失 Language 特性 <br/>ASP 0125 丢失特性的关闭符 <br/>ASP 0126 找不到包含文件 <br/>ASP 0127 丢失了 HTML 注释的关闭符 <br/>ASP 0128 丢失 File 或 Virtual 特性 <br/>ASP 0129 未知的脚本语言 <br/>ASP 0130 无效的 File 特性 <br/>ASP 0131 不允许的父路径 <br/>ASP 0132 编译错误 <br/>ASP 0133 无效的 ClassID 特性 <br/>ASP 0134 无效的 ProgID 特性 <br/>ASP 0135 循环包含 <br/>ASP 0136 无效对象实例名称 <br/>ASP 0137 无效全局脚本 <br/>ASP 0138 嵌套的 Script 块 <br/>ASP 0139 嵌套的 Object <br/>ASP 0140 Page 命令无序 <br/>ASP 0141 Page 命令重复 <br/>ASP 0142 线程令牌错误 <br/>ASP 0143 无效的应用程序名 <br/>ASP 0144 初始化错误 <br/>ASP 0145 新建应用程序失败 <br/>ASP 0146 新建会话失败 <br/>ASP 0147 500 服务器错误 <br/>ASP 0148 服务器太忙 <br/>ASP 0149 应用程序正在重新启动 <br/>ASP 0150 应用程序目录错误 <br/>ASP 0151 更改通知错误 <br/>ASP 0152 安全错误 <br/>ASP 0153 线程错误 <br/>ASP 0154 写入 HTTP 头错误 <br/>ASP 0155 写入页内容错误 <br/>ASP 0156 标头错误 <br/>ASP 0157 缓冲已打开 <br/>ASP 0158 丢失 URL <br/>ASP 0159 缓冲已关闭 <br/>ASP 0160 日志记录失败 <br/>ASP 0161 数据类型错误 <br/>ASP 0162 不能修改 Cookie <br/>ASP 0163 逗号的使用不正确 <br/>ASP 0164 无效的超时值 <br/>ASP 0165 SessionID 错误 <br/>ASP 0166 未初始化的对象 <br/>ASP 0167 会话初始化错误 <br/>ASP 0168 不允许的对象使用方式 <br/>ASP 0169 丢失对象信息 <br/>ASP 0170 删除会话错误 <br/>ASP 0171 缺少路径 <br/>ASP 0172 无效路径 <br/>ASP 0173 无效 Path 字符 <br/>ASP 0174 无效 Path 字符 <br/>ASP 0175 不允许的 Path 字符 <br/>ASP 0176 找不到路径 <br/>ASP 0177 Server.CreateObject 失败 <br/>ASP 0178 Server.CreateObject 访问错误 <br/>ASP 0179 应用程序初始化错误 <br/>ASP 0180 不允许的对象使用方式 <br/>ASP 0181 无效线程模型 <br/>ASP 0182 丢失对象信息 <br/>ASP 0183 空 Cookie 关键字 <br/>ASP 0184 丢失 Cookie 名称 <br/>ASP 0185 丢失默认属性 <br/>ASP 0186 解析证书时出错 <br/>ASP 0187 对象添加冲突 <br/>ASP 0188 不允许的对象使用方式 <br/>ASP 0189 不允许的对象使用方式 <br/>ASP 0190 意外错误 <br/>ASP 0191 意外错误 <br/>ASP 0192 意外错误 <br/>ASP 0193 OnStartPage 失败 <br/>ASP 0194 OnEndPage 失败 <br/>ASP 0195 无效服务器方法调用 <br/>ASP 0196 不能启动进程外组件 <br/>ASP 0197 不允许的对象使用方式 <br/>ASP 0198 服务器正在关闭 <br/>ASP 0199 不允许的对象使用方式 <br/>ASP 0200 'Expires' 特性越界 <br/>ASP 0201 无效的默认脚本语言 <br/>ASP 0202 丢失代码页 <br/>ASP 0203 无效代码页 <br/>ASP 0204 CodePage 值无效 <br/>ASP 0205 更改通知 <br/>ASP 0206 不能调用 BinaryRead <br/>ASP 0207 不能使用 Request.Form <br/>ASP 0208 不能使用一般 Request 集合 <br/>ASP 0209 TRANSACTION 属性值非法 <br/>ASP 0210 方法未实现 <br/>ASP 0211 对象越界 <br/>ASP 0212 不能清除缓冲区 <br/>ASP 0214 无效路径参数 <br/>ASP 0215 ENABLESESSIONSTATE 属性值非法 <br/>ASP 0216 MSDTC 服务不在运行 <br/>ASP 0217 对象标记中包含无效作用域 <br/>ASP 0218 丢失 LCID <br/>ASP 0219 无效的 LCID <br/>ASP 0220 不允许 GLOBAL.ASA 请求 <br/>ASP 0221 无效的 @ 命令指令 <br/>ASP 0222 无效 TypeLib 规格 <br/>ASP 0223 未找到 TypeLib <br/>ASP 0224 无法加载 TypeLib <br/>ASP 0225 无法包装 TypeLibs <br/>ASP 0226 不能修改 StaticObjects <br/>ASP 0227 Server.Execute 失败 <br/>ASP 0228 Server.Execute 错误 <br/>ASP 0229 Server.Transfer 失败 <br/>ASP 0230 Server.Transfer 错误 <br/>ASP 0231 Server.Execute 错误 <br/>ASP 0232 无效的 Cookie 规格 <br/>ASP 0233 无法加载 cookie 脚本源 <br/>ASP 0234 无效的包含指令 <br/>ASP 0235 Server.Transfer 错误 <br/>ASP 0236 无效的 Cookie 规格 <br/>ASP 0237 无效的 Cookie 规格 <br/>ASP 0238 丢失特性值 <br/>ASP 0239 无法处理文件 <br/>ASP 0240 脚本引擎异常 <br/>ASP 0241 CreateObject 异常 <br/>ASP 0242 查询 OnStartPage 接口异常 <br/>ASP 0243 Global.asa 中包含无效的 METADATA 标记 <br/>ASP 0244 无法启用会话状态 <br/>ASP 0245 代码页值的混合使用 <br/>ASP 0246 并发用户太多。请稍后重试。 <br/>ASP 0247 无效的 BinaryRead 参数。 <br/>ASP 0248 脚本未经事务处理。此 ASP 文件必须经过事务处理以使用 ObjectContext 对象。 <br/>ASP 0249 不能在 Request 上使用 IStream。使用 Request.Form 集合或 Request.BinaryRead 后不能在 Request 对象上使用 IStream。 <br/>ASP 0250 无效默认代码页。指定的应用程序默认代码页无效。 <br/>ASP 0251 超过响应缓冲区限制。此 ASP 页的执行造成响应缓冲区超过其配置限制。 </div>
]]>
</description>
</item><item>
<link>https://maytide.net/read.php/768.htm</link>
<title><![CDATA[IIS帐号同步]]></title> 
<author>gOxiA &lt;sufan_cn@msn.com&gt;</author>
<category><![CDATA[Microsoft IIS]]></category>
<pubDate>Sat, 06 Nov 2004 01:57:27 +0000</pubDate> 
<guid>https://maytide.net/read.php/768.htm</guid> 
<description>
<![CDATA[ 
	一.错误表现 <br/>这个错误发生时总会有三方面的表现:一是IE中的最直接的表现,<br/>也是最让人看不懂的表现;二是安全日志中的表现,IWAM_Machine账号登录失败;三是系统日志中的表现,IIS Out-Of-Process Pooled Applications应用程序因启动账号的错误而不能够启动.从而造成ASP页面浏览错误. <br/>(一)IE中的表现 <br/>当浏览以前能够正常运行的asp页面时会出现如下的错误: <br/>(1) <br/>网页无法显示 <br/>您要访问的网页存在问题，因此无法显示。 <br/>--------------------------------------------- <br/>请尝试下列操作： <br/>打开 http://127.0.0.1 主页，寻找指向所需信息的链接。 <br/>单击刷新按钮，或者以后重试。 <br/>HTTP 500 - 内部服务器错误 <br/>Internet 信息服务 <br/>-------------------------------------------------------------------------------- <br/>技术信息（支持个人） <br/>详细信息： <br/>Microsoft 支持 <br/>[注意,这儿只是500错误,不是500.xx等错误的,那些错误主要是asp编程问题,与iis没有太大的关系,只有500错误是由iis自身造成的] <br/>(2) <br/>Server Application Error <br/>The server has encountered an error while loading an application during the processing of your request. Please refer to the event log for more detail information. Please contact the server administrator for assistance. <br/>(二)安全日志记录(2条) <br/>事件类型: 失败审核 <br/>事件来源: Security <br/>事件种类: 登录/注销 <br/>事件 ID: 529 <br/>日期: 2001-9-9 <br/>事件: 11:17:07 <br/>用户: NT AUTHORITY\SYSTEM <br/>计算机: MYSERVER <br/>描述: <br/>登录失败: <br/>原因: 用户名未知或密码错误 <br/>用户名: IWAM_MYSERVER <br/>域: MYDOM <br/>登录类型: 4 <br/>登录过程: Advapi <br/>身份验证程序包: MICROSOFT_AUTHENTICATION_PACKAGE_V1_0 <br/>工作站名: MYSERVER <br/><br/>事件类型: 失败审核 <br/>事件来源: Security <br/>事件种类: 帐户登录 <br/>事件 ID: 681 <br/>日期: 2001-9-9 <br/>事件: 11:17:07 <br/>用户: NT AUTHORITY\SYSTEM <br/>计算机: MYSERVER <br/>描述: <br/>登录到帐户: IWAM_MYSERVER <br/>登录的用户: MICROSOFT_AUTHENTICATION_PACKAGE_V1_0 <br/>从工作站: MYSERVER <br/>未成功。错误代码是: 3221225578 <br/>注:IWAM_MYSERVER,启动进程之外的应用程序的 Internet 信息服务的内置帐号,安装IIS时自动建立,其密码由IIS控制. <br/>(三)系统日志中的记录(2条) <br/>事件类型: 错误 <br/>事件来源: DCOM <br/>事件种类: 无 <br/>事件 ID: 10004 <br/>日期: 2001-9-9 <br/>事件: 11:20:26 <br/>用户: N/A <br/>计算机: MYSERVER <br/>描述: <br/>DCOM 遇到错误“无法更新密码。提供给新密码的值包含密码中不允许的值。 ”并且无法登录到 .\IWAM_MYSERVER 上以运行服务器: <br/>&#123;3D14228D-FBE1-11D0-995D-00C04FD919C1&#125; <br/>事件类型: 警告 <br/>事件来源: W3SVC <br/>事件种类: 无 <br/>事件 ID: 36 <br/>日期: 2001-9-9 <br/>事件: 11:20:26 <br/>用户: N/A <br/>计算机: MYSERVER <br/>描述: <br/>服务器未能转入应用程序 '/LM/W3SVC/4/Root'。错误是 'RunAs 的格式必须是<域名>\<用户名>或只是<用户名> <br/>'。 <br/>若要获取关于此消息的更多的信息，请访问 Microsoft 联机支持站点: http://www.microsoft.com/contentredirect.asp 。 <br/>注:3D14228D-FBE1-11D0-995D-00C04FD919C1&#125;实际是IIS Out-Of-Process Pooled Applications 的KEY.也就是代表IIS Out-Of-Process Pooled Applications. <br/>出现IIS 500内部错误的原因有多个,但最主要的原因是IWAM_MACHINE账号在Active Directory(或SAM),IIS的metabase数据库与COM+组件中的密码不匹配不同步最成的.因此解决问题的关键在于使这三方的密码同步起来. <br/>要使这三方的密码同步,有几种办法,下面只介绍最好用的一种,使用IIS自带的脚本进行密码同步(看来微软早就知道这方面的问题了,因此专门做了一个密码同步的脚本.:)): <br/>操作如下: <br/>1.在本地账号管理器或AD用户与计算机中更改IWAM_MACHINE账号的密码.假设我们改为"12345678".[本来这个账号是计算机控制的,非常复杂]. <br/>2.使用新的密码重设IIS Metabase数据库.我们需要使用IIS自带的管理脚本adsutil.运行如下的命令: <br/>c:\Inetpub\AdminScripts> adsutil SET w3svc/WAMUserPass 12345678 <br/>系统会显示: <br/>WAMUserPass: (String) "12345678" <br/>提示密码更新成功. <br/>通常情况下IIS会自动与系统账号等信息同步,但我发现我的机器上ISUR_MACHINE是同步的,但IWAM_MACHINE总是不同步,因此只好自行修改了. <br/>3.同步COM+账号密码 <br/>同样我们要用到IIS的管理脚本synciwam.vbs,这个脚本通常会存在于c:\inetpub\adminscripts下,上一个管理脚本也在这儿放着. <br/>命令如下: <br/>cscript c:\inetpub\adminscripts\synciwam.vbs -v <br/>-v参数是打开详细模式,让我们看到更新的过程,通常会如下显示: <br/>Microsoft (R) Windows Script Host Version 5.6 <br/>版权所有(C) Microsoft Corporation 1996-2000。保留所有权利。 <br/>WamUserNameIWAM_MYSERVER <br/>WamUserPass12345678 <br/>IIS Applications Defined: <br/>Name, AppIsolated, Package ID <br/>w3svc, 0, &#123;3D14228C-FBE1-11d0-995D-00C04FD919C1&#125; <br/>Root, 2, <br/>IISHelp, 2, <br/>IISAdmin, 2, <br/>IISSamples, 2, <br/>MSADC, 2, <br/>ROOT, 2, <br/>IISAdmin, 2, <br/>IISHelp, 2, <br/>Root, 2, <br/>Root, 2, <br/>Out of process applications defined: <br/>Count: 1 <br/>&#123;3D14228D-FBE1-11d0-995D-00C04FD919C1&#125; <br/>Updating Applications: <br/>Name: IIS Out-Of-Process Pooled Applications Key: &#123;3D14228D-FBE1-11D0-995D-00C04 <br/>FD919C1&#125; <br/>密码同步成功.如果不成功先看一下这个脚本取的IIS的密码正确不正确,如果不正确请重复第二步同步IIS密码. <br/>问题解闷,再打开IIS看看,ASP程序应该能够正常浏览了.
]]>
</description>
</item><item>
<link>https://maytide.net/read.php/772.htm</link>
<title><![CDATA[IIS日志删除脚本]]></title> 
<author>gOxiA &lt;sufan_cn@msn.com&gt;</author>
<category><![CDATA[Microsoft IIS]]></category>
<pubDate>Thu, 21 Oct 2004 01:07:57 +0000</pubDate> 
<guid>https://maytide.net/read.php/772.htm</guid> 
<description>
<![CDATA[ 
	How can I delete all files from my IIS log file directory that are over 90 days old? <br/><br/>这个脚本可以从日志目录中删除90天的记录。<br/><br/><div class="code">Option Explicit<br/>Const GENERAL_FAILURE = 2<br/>Const KillFile=0 ' Set this to 0 to not delete the files, set to 1 to delete the files<br/><br/>Dim ArgObj, Servername, WebSiteID, WebSite, WebSitepath, totalDeleted, MaxAgeOfFileToKeep<br/><br/>Function DeleteOldLogFiles(WebSite, &nbsp;MaxAgeOfFile)<br/>Dim File, ServerObj, FSO, FolderObj, FileObj, LogFileDir, Deleted, Status, FailedToDelete<br/>Deleted = 0<br/>FailedToDelete= 0<br/>on error resume next<br/>' Attempt to get the web site object from the metabase<br/>Err.clear<br/>Set ServerObj = GetObject(WebSite)<br/>If (Err.Number &lt;&gt; 0) Then<br/> &nbsp; WScript.Echo \&quot;Error: \&quot; &amp; Err.Description &amp; \&quot; (\&quot; &amp; Err.Number &amp; \&quot;)\&quot;<br/> &nbsp; Exit Function<br/>end if<br/>LogFileDir = ServerObj.LogFileDirectory<br/>Set ServerObj = Nothing<br/>WScript.Echo \&quot;Log file dir for: \&quot; &amp;WebSite &amp; \&quot; = \&quot; &amp; LogFileDir<br/>WScript.Echo \&quot;Delete files over \&quot;&amp; MaxAgeOfFile &amp; \&quot; days old.\&quot;<br/>WScript.Echo \&quot;\&quot;<br/>Set FSO = CreateObject(\&quot;Scripting.FileSystemObject\&quot;)<br/>set Folderobj = FSO.GetFolder(LogFileDir)<br/>for each File in Folderobj.files<br/> &nbsp;if (Date - File.DateCreated &gt; cint(MaxAgeOfFile)) then<br/> &nbsp; &nbsp; &nbsp; &nbsp; Status = \&quot;Deleting File: \&quot; &amp; File.name &amp; \&quot;, Age=\&quot; &amp; formatNumber(Date-File.DateCreated, 0) &amp; \&quot; days, Status=\&quot; <br/> &nbsp; &nbsp; &nbsp; &nbsp; Err.Clear<br/> &nbsp; &nbsp; &nbsp; &nbsp; if (KillFile = 1) then<br/> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; FSO.DeleteFile(LogFileDir &amp; \&quot;\&quot; &amp; File.Name)<br/> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; If (Err.Number &lt;&gt; 0) Then<br/> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Status = Status &amp; \&quot;Failed : \&quot;&amp; Err.Description &amp; \&quot; (\&quot; &amp; Err.Number &amp; \&quot;)\&quot;<br/> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;FailedToDelete = FailedToDelete +1<br/> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;else &nbsp; &nbsp; &nbsp; <br/> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Status = Status &amp; \&quot;Deleted\&quot;<br/> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Deleted = Deleted + 1<br/> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; end if<br/> &nbsp; &nbsp; &nbsp; else<br/> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Status = Status &amp; \&quot;Skipped\&quot;<br/> &nbsp; &nbsp; &nbsp; &nbsp;end if<br/> &nbsp; &nbsp; &nbsp; &nbsp;WScript.Echo Status &nbsp;<br/> &nbsp;end if<br/>next<br/>DeleteoldLogfiles = Deleted<br/>WScript.Echo \&quot;\&quot;<br/>if (FailedToDelete &gt; 0) then<br/> &nbsp; WScript.Echo \&quot;There were \&quot; &amp; FailedToDelete &nbsp;&amp; \&quot; files that could not be deleted.\&quot;<br/>end if<br/>WScript.Echo \&quot;There were \&quot; &amp; Deleted &amp; \&quot; files deleted.\&quot;<br/>end function<br/>Sub DisplayHelpMessage()<br/> &nbsp; &nbsp;WScript.Echo<br/> &nbsp; &nbsp;WScript.Echo \&quot;Usage:\&quot;<br/> &nbsp; &nbsp;WScript.Echo \&quot; &nbsp; &nbsp; &nbsp;DeleteOldWebSiteLogfiles.VBS MaxDays WebSiteNumber \&quot;<br/> &nbsp; &nbsp;WScript.Echo<br/> &nbsp; &nbsp;WScript.Echo \&quot;MaxDays = maximum age in days of files to keep.\&quot;<br/> &nbsp; &nbsp;WScript.Echo \&quot;WebSiteNumber is the number of the web site, you have two methods to determine this:\&quot;<br/> &nbsp; &nbsp;WScript.Echo<br/> &nbsp; &nbsp;WScript.Echo \&quot;#1 = Run FINDWEB.VBS\&quot;<br/> &nbsp; &nbsp;WScript.Echo \&quot;#2 = Right click the web site, select properties, on the web site tab\&quot;<br/> &nbsp; &nbsp;WScript.Echo \&quot; &nbsp; &nbsp; under logging click the Properties button, part of the log file\&quot;<br/> &nbsp; &nbsp;WScript.Echo \&quot; &nbsp; &nbsp; name will contain the web site #\&quot;<br/> &nbsp; &nbsp;WScript.Echo<br/> &nbsp; &nbsp;WScript.Echo \&quot; &nbsp; &nbsp; example log filename: W3SVC1\exyymmdd.log &nbsp;- the web site is 1\&quot;<br/> &nbsp; &nbsp;WScript.Echo \&quot; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; W3SVC45\exyymmdd.log - the web site is 45\&quot;<br/> &nbsp; &nbsp;WScript.Echo<br/> &nbsp; &nbsp;WScript.Echo \&quot;Please visit and support : http://www.iisfaq.com\&quot;<br/>end sub<br/>' Get the Arguments object<br/>Set ArgObj = WScript.Arguments<br/>' Test to make sure there is at least one command line arg - the command<br/>If ArgObj.Count &lt; 2 Then<br/> &nbsp; &nbsp; &nbsp; &nbsp;DisplayHelpMessage<br/> &nbsp; &nbsp; &nbsp; &nbsp;WScript.Quit (GENERAL_FAILURE)<br/>End If<br/>Servername = \&quot;LocalHost\&quot;<br/>MaxAgeOfFileToKeep = trim(ArgObj(0))<br/>WebSiteID &nbsp; &nbsp;= trim(ArgObj(1))<br/>WebSite &nbsp; &nbsp; &nbsp; &nbsp;= \&quot;W3SVC/\&quot; &amp; WebSiteID <br/>WebSitepath = \&quot;IIS://\&quot; &amp; Servername &amp;\&quot;/\&quot; &amp; WebSite<br/>TotalDeleted = DeleteOldLogFiles(WebSitePath, &nbsp;MaxAgeOfFileToKeep)</div>
]]>
</description>
</item><item>
<link>https://maytide.net/read.php/774.htm</link>
<title><![CDATA[关于Win2003下ASP无故停止]]></title> 
<author>gOxiA &lt;sufan_cn@msn.com&gt;</author>
<category><![CDATA[Microsoft IIS]]></category>
<pubDate>Wed, 13 Oct 2004 09:33:47 +0000</pubDate> 
<guid>https://maytide.net/read.php/774.htm</guid> 
<description>
<![CDATA[ 
	微软已经承认，在win2003下运行access数据库的站点，会遇到ASP突然停止工作的故障<br/>主要是因为session造成的，相关文档：<br/>http://support.microsoft.com/?id=307598<br/><br/>解决方法，安装相应更新文件，参考网址：http://www.aspfaq.com/show.asp?id=2356<br/>1、安装MDAC2.8，http://www.microsoft.com/downloads/details.aspx?FamilyID=6c050fe3-c795-4b7d-b037-185d0506396c&amp;DisplayLang=en<br/><br/>2、安装MDAC关键更新Microsoft Data Access Components (MDAC) Security Patch MS04-003 (32-bit)，http://www.microsoft.com/downloads/details.aspx?FamilyId=39472EE8-C14A-47B4-BFCC-87988E062D91&amp;displaylang=en<br/><br/>3、安装Jet 4.0 Service Pack 8 (SP8) for Windows Server 2003 (KB829558)，http://www.microsoft.com/downloads/details.aspx?familyid=97bc8126-5c60-44bc-a2ce-1e40c7fe2b34&amp;displaylang=en
]]>
</description>
</item><item>
<link>https://maytide.net/read.php/782.htm</link>
<title><![CDATA[IIS6上传文件尺寸太小解决办法]]></title> 
<author>gOxiA &lt;sufan_cn@msn.com&gt;</author>
<category><![CDATA[Microsoft IIS]]></category>
<pubDate>Fri, 30 Jul 2004 07:22:00 +0000</pubDate> 
<guid>https://maytide.net/read.php/782.htm</guid> 
<description>
<![CDATA[ 
	IIS 6 出于安全考虑, 默认最大请求200K(也即最大提交数据限额为200KByte, 204800Byte).<br/><br/>解决办法: <br/><br/><div class="code">1. 关闭 IIS Admin Service 服务 <br/><br/>2. 打开 \Windows\system32\inesrv\metabase.xml <br/><br/>3. 修改 ASPMaxRequestEntityAllowed 的值为自己需要的, 默认为 204800 <br/><br/>4. 启动 IIS Admin Service</div><br/><br/>Addon: 解决方法2<br/><br/>1. 新建文本文件：<br/><div class="code">'use VBS <br/>set obj1=GetObject(\&quot;winmgmts:/root/MicrosoftIISv2\&quot;) <br/>set obj2=obj1.get(\&quot;IIsWebVirtualDirSetting='W3SVC/1/ROOT'\&quot;) <br/>'Output default value <br/>WScript.Echo \&quot;AspMaxRequestEntityAllowed Default Value: \&quot; &amp; obj2.AspMaxRequestEntityAllowed <br/>'Reset the value <br/>obj2.AspMaxRequestEntityAllowed=1024000 ' set to 1mbyte, u can set to other what you want :) <br/>' Save data <br/>obj2.Put_() <br/>'Output new value <br/>WScript.Echo \&quot;AspMaxRequestEntityAllowed New Value: \&quot; &amp; obj2.AspMaxRequestEntityAllowed</div><br/><br/>2. 保存为<div class="code">requestchange.vbs</div><br/><br/>3. 进入命令行, 运行: <br/><div class="code">cscript [path]requestchange.vbs</div>
]]>
</description>
</item>
</channel>
</rss>