<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.msdn.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Thoughts about IIS (and now SharePoint!) : IIS</title><link>http://blogs.msdn.com/jb/archive/tags/IIS/default.aspx</link><description>Tags: IIS</description><dc:language>en-US</dc:language><generator>CommunityServer 2.1 SP1 (Build: 61025.2)</generator><item><title>So, your IIS Manager comes up blank, too?</title><link>http://blogs.msdn.com/jb/archive/2008/02/28/so-your-iis-manager-comes-up-blank-too.aspx</link><pubDate>Fri, 29 Feb 2008 00:33:51 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:7937510</guid><dc:creator>jamesbl</dc:creator><slash:comments>4</slash:comments><comments>http://blogs.msdn.com/jb/comments/7937510.aspx</comments><wfw:commentRss>http://blogs.msdn.com/jb/commentrss.aspx?PostID=7937510</wfw:commentRss><description>&lt;p&gt;Have you ever opened the IIS Manager MMC (quick shortcut - Start/Run/inetmgr) only to find it comes up completely blank?&amp;nbsp; Also, keen eyes will notice it takes a &lt;strong&gt;lot&lt;/strong&gt; longer for the MMC window itself to appear as well, when this problem occurs.&amp;nbsp; This phenomena appears to only occur if you have MOSS installed.&lt;/p&gt; &lt;p&gt;In any case, if you have seen this problem on one or more servers in your farm, you can work around it by simply restarting the OWSTimer service ("&lt;em&gt;Windows SharePoint Services Timer&lt;/em&gt;" service).&amp;nbsp; This is fairly acceptable to most since it does not require you to reset IIS or reboot the server (i.e. no downtime).&lt;/p&gt; &lt;p&gt;The good news is there is now a &lt;a href="http://support.microsoft.com/kb/946517" target="_blank"&gt;hotfix&lt;/a&gt; that should resolve this issue!&amp;nbsp; Give Microsoft Support a call if you're experiencing this issue.&lt;/p&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=7937510" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/jb/archive/tags/IIS/default.aspx">IIS</category><category domain="http://blogs.msdn.com/jb/archive/tags/.NET/default.aspx">.NET</category><category domain="http://blogs.msdn.com/jb/archive/tags/SharePoint/default.aspx">SharePoint</category></item><item><title>Script for enabling full IIS logging</title><link>http://blogs.msdn.com/jb/archive/2008/02/03/script-for-enabling-full-iis-logging.aspx</link><pubDate>Sun, 03 Feb 2008 11:23:21 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:7408832</guid><dc:creator>jamesbl</dc:creator><slash:comments>4</slash:comments><comments>http://blogs.msdn.com/jb/comments/7408832.aspx</comments><wfw:commentRss>http://blogs.msdn.com/jb/commentrss.aspx?PostID=7408832</wfw:commentRss><description>&lt;p&gt;Nothing overly fancy, but useful enough to warrant sharing.&amp;nbsp; This is something you can use to get your SharePoint farms set up to turn every IIS logging option on.&amp;nbsp; The good news is each web site in a MOSS farm shares the same web site ID, so it should be pretty easy to batch up:&lt;/p&gt; &lt;p class="MsoNormal" style="margin: 0in 0in 0pt 0.5in" align="left"&gt;&lt;span style="font-size: 9pt; color: blue; font-family: 'Courier New'"&gt;Option&lt;/span&gt;&lt;span style="font-size: 9pt; font-family: 'Courier New'"&gt;&lt;font color="#000000"&gt; &lt;/font&gt;&lt;span style="color: blue"&gt;Explicit&lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoNormal" style="margin: 0in 0in 0pt 0.5in" align="left"&gt;&lt;span style="font-size: 9pt; color: blue; font-family: 'Courier New'"&gt;On&lt;/span&gt;&lt;span style="font-size: 9pt; font-family: 'Courier New'"&gt;&lt;font color="#000000"&gt; &lt;/font&gt;&lt;span style="color: blue"&gt;Error&lt;/span&gt;&lt;font color="#000000"&gt; &lt;/font&gt;&lt;span style="color: blue"&gt;Resume&lt;/span&gt;&lt;font color="#000000"&gt; &lt;/font&gt;&lt;span style="color: blue"&gt;Next&lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoNormal" style="margin: 0in 0in 0pt 0.5in" align="left"&gt;&lt;font face="Calibri" color="#000000" size="3"&gt;&amp;nbsp;&lt;/font&gt;&lt;/p&gt; &lt;p class="MsoNormal" style="margin: 0in 0in 0pt 0.5in" align="left"&gt;&lt;span style="font-size: 9pt; color: blue; font-family: 'Courier New'"&gt;Dim&lt;/span&gt;&lt;span style="font-size: 9pt; font-family: 'Courier New'"&gt;&lt;font color="#000000"&gt; CmdLineArgs&lt;/font&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoNormal" style="margin: 0in 0in 0pt 0.5in" align="left"&gt;&lt;span style="font-size: 9pt; color: blue; font-family: 'Courier New'"&gt;Dim&lt;/span&gt;&lt;span style="font-size: 9pt; font-family: 'Courier New'"&gt;&lt;font color="#000000"&gt; CurrSite&lt;/font&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoNormal" style="margin: 0in 0in 0pt 0.5in" align="left"&gt;&lt;span style="font-size: 9pt; color: blue; font-family: 'Courier New'"&gt;Dim&lt;/span&gt;&lt;span style="font-size: 9pt; font-family: 'Courier New'"&gt;&lt;font color="#000000"&gt; CurrSiteObj&lt;/font&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoNormal" style="margin: 0in 0in 0pt 0.5in" align="left"&gt;&lt;font face="Calibri" color="#000000" size="3"&gt;&amp;nbsp;&lt;/font&gt;&lt;/p&gt; &lt;p class="MsoNormal" style="margin: 0in 0in 0pt 0.5in" align="left"&gt;&lt;span style="font-size: 9pt; color: green; font-family: 'Courier New'"&gt;' Obtain all command line args&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoNormal" style="margin: 0in 0in 0pt 0.5in" align="left"&gt;&lt;span style="font-size: 9pt; color: blue; font-family: 'Courier New'"&gt;Set&lt;/span&gt;&lt;span style="font-size: 9pt; font-family: 'Courier New'"&gt;&lt;font color="#000000"&gt; CmdLineArgs = WScript.Arguments.Named&lt;/font&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoNormal" style="margin: 0in 0in 0pt 0.5in" align="left"&gt;&lt;font face="Calibri" color="#000000" size="3"&gt;&amp;nbsp;&lt;/font&gt;&lt;/p&gt; &lt;p class="MsoNormal" style="margin: 0in 0in 0pt 0.5in" align="left"&gt;&lt;span style="font-size: 9pt; color: green; font-family: 'Courier New'"&gt;' verify args&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoNormal" style="margin: 0in 0in 0pt 0.5in" align="left"&gt;&lt;span style="font-size: 9pt; color: blue; font-family: 'Courier New'"&gt;If&lt;/span&gt;&lt;span style="font-size: 9pt; font-family: 'Courier New'"&gt;&lt;font color="#000000"&gt; (&lt;/font&gt;&lt;span style="color: blue"&gt;Not&lt;/span&gt;&lt;font color="#000000"&gt; CmdLineArgs.Exists(&lt;/font&gt;&lt;span style="color: maroon"&gt;"SiteID"&lt;/span&gt;&lt;font color="#000000"&gt;)) &lt;/font&gt;&lt;span style="color: blue"&gt;Or&lt;/span&gt;&lt;font color="#000000"&gt; _&lt;/font&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoNormal" style="margin: 0in 0in 0pt 0.5in" align="left"&gt;&lt;span style="font-size: 9pt; font-family: 'Courier New'"&gt;&lt;font color="#000000"&gt;&amp;nbsp;&amp;nbsp; (&lt;/font&gt;&lt;span style="color: blue"&gt;Not&lt;/span&gt;&lt;font color="#000000"&gt; CmdLineArgs.Exists(&lt;/font&gt;&lt;span style="color: maroon"&gt;"Server"&lt;/span&gt;&lt;font color="#000000"&gt;)) &lt;/font&gt;&lt;span style="color: blue"&gt;Then&lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoNormal" style="margin: 0in 0in 0pt 0.5in" align="left"&gt;&lt;span style="font-size: 9pt; font-family: 'Courier New'"&gt;&lt;font color="#000000"&gt;Wscript.Echo &lt;/font&gt;&lt;span style="color: maroon"&gt;"Error: Invalid number of command line arguments specified."&lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoNormal" style="margin: 0in 0in 0pt 0.5in" align="left"&gt;&lt;span style="font-size: 9pt; font-family: 'Courier New'"&gt;&lt;font color="#000000"&gt;Wscript.Echo&lt;/font&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoNormal" style="margin: 0in 0in 0pt 0.5in" align="left"&gt;&lt;span style="font-size: 9pt; font-family: 'Courier New'"&gt;&lt;font color="#000000"&gt;Wscript.Echo &lt;/font&gt;&lt;span style="color: maroon"&gt;"Usage:&amp;nbsp; ""cscript FullLogging.vbs /Server:&amp;lt;ServerName&amp;gt; /SiteID:&amp;lt;WebsiteID&amp;gt;"""&lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoNormal" style="margin: 0in 0in 0pt 0.5in" align="left"&gt;&lt;span style="font-size: 9pt; font-family: 'Courier New'"&gt;&lt;font color="#000000"&gt;Wscript.Quit&lt;/font&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoNormal" style="margin: 0in 0in 0pt 0.5in" align="left"&gt;&lt;span style="font-size: 9pt; color: blue; font-family: 'Courier New'"&gt;End&lt;/span&gt;&lt;span style="font-size: 9pt; font-family: 'Courier New'"&gt;&lt;font color="#000000"&gt; &lt;/font&gt;&lt;span style="color: blue"&gt;If&lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoNormal" style="margin: 0in 0in 0pt 0.5in" align="left"&gt;&lt;font face="Calibri" color="#000000" size="3"&gt;&amp;nbsp;&lt;/font&gt;&lt;/p&gt; &lt;p class="MsoNormal" style="margin: 0in 0in 0pt 0.5in" align="left"&gt;&lt;span style="font-size: 9pt; font-family: 'Courier New'"&gt;&lt;font color="#000000"&gt;CurrSiteObj = &lt;/font&gt;&lt;span style="color: maroon"&gt;"IIS://"&lt;/span&gt;&lt;font color="#000000"&gt; &amp;amp; CmdLineArgs.Item(&lt;/font&gt;&lt;span style="color: maroon"&gt;"Server"&lt;/span&gt;&lt;font color="#000000"&gt;) &amp;amp; &lt;/font&gt;&lt;span style="color: maroon"&gt;"/w3svc/"&lt;/span&gt;&lt;font color="#000000"&gt; &amp;amp; CmdLineArgs.Item(&lt;/font&gt;&lt;span style="color: maroon"&gt;"SiteID"&lt;/span&gt;&lt;font color="#000000"&gt;)&lt;/font&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoNormal" style="margin: 0in 0in 0pt 0.5in" align="left"&gt;&lt;span style="font-size: 9pt; color: blue; font-family: 'Courier New'"&gt;Set&lt;/span&gt;&lt;span style="font-size: 9pt; font-family: 'Courier New'"&gt;&lt;font color="#000000"&gt; CurrSite = GetObject(CurrSiteObj) &lt;/font&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoNormal" style="margin: 0in 0in 0pt 0.5in" align="left"&gt;&lt;span style="font-size: 9pt; color: blue; font-family: 'Courier New'"&gt;If&lt;/span&gt;&lt;span style="font-size: 9pt; font-family: 'Courier New'"&gt;&lt;font color="#000000"&gt; Err.number &amp;lt;&amp;gt; 0 &lt;/font&gt;&lt;span style="color: blue"&gt;Then&lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoNormal" style="margin: 0in 0in 0pt 0.5in" align="left"&gt;&lt;span style="font-size: 9pt; font-family: 'Courier New'"&gt;&lt;font color="#000000"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Wscript.Echo &lt;/font&gt;&lt;span style="color: maroon"&gt;"Error querying IIS provider: "&lt;/span&gt;&lt;font color="#000000"&gt; &amp;amp; CurrSiteObj&lt;/font&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoNormal" style="margin: 0in 0in 0pt 0.5in" align="left"&gt;&lt;span style="font-size: 9pt; font-family: 'Courier New'"&gt;&lt;font color="#000000"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Wscript.Echo &lt;/font&gt;&lt;span style="color: maroon"&gt;"Error = "&lt;/span&gt;&lt;font color="#000000"&gt; &amp;amp; Err.number &amp;amp; &lt;/font&gt;&lt;span style="color: maroon"&gt;" - "&lt;/span&gt;&lt;font color="#000000"&gt; &amp;amp; Err.Description&lt;/font&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoNormal" style="margin: 0in 0in 0pt 0.5in" align="left"&gt;&lt;span style="font-size: 9pt; font-family: 'Courier New'"&gt;&lt;font color="#000000"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; WScript.Quit&lt;/font&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoNormal" style="margin: 0in 0in 0pt 0.5in" align="left"&gt;&lt;span style="font-size: 9pt; color: blue; font-family: 'Courier New'"&gt;End&lt;/span&gt;&lt;span style="font-size: 9pt; font-family: 'Courier New'"&gt;&lt;font color="#000000"&gt; &lt;/font&gt;&lt;span style="color: blue"&gt;If&lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoNormal" style="margin: 0in 0in 0pt 0.5in" align="left"&gt;&lt;font face="Calibri" color="#000000" size="3"&gt;&amp;nbsp;&lt;/font&gt;&lt;/p&gt; &lt;p class="MsoNormal" style="margin: 0in 0in 0pt 0.5in" align="left"&gt;&lt;span style="font-size: 9pt; font-family: 'Courier New'"&gt;&lt;font color="#000000"&gt;CurrSite.LogExtFileDate&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = &lt;/font&gt;&lt;span style="color: blue"&gt;True&lt;/span&gt;&lt;font color="#000000"&gt; &lt;/font&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoNormal" style="margin: 0in 0in 0pt 0.5in" align="left"&gt;&lt;span style="font-size: 9pt; font-family: 'Courier New'"&gt;&lt;font color="#000000"&gt;CurrSite.LogExtFileHost&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = &lt;/font&gt;&lt;span style="color: blue"&gt;True&lt;/span&gt;&lt;font color="#000000"&gt; &lt;/font&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoNormal" style="margin: 0in 0in 0pt 0.5in" align="left"&gt;&lt;span style="font-size: 9pt; font-family: 'Courier New'"&gt;&lt;font color="#000000"&gt;CurrSite.LogExtFileTime&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = &lt;/font&gt;&lt;span style="color: blue"&gt;True&lt;/span&gt;&lt;font color="#000000"&gt; &lt;/font&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoNormal" style="margin: 0in 0in 0pt 0.5in" align="left"&gt;&lt;span style="font-size: 9pt; font-family: 'Courier New'"&gt;&lt;font color="#000000"&gt;CurrSite.LogExtFileClientIp&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = &lt;/font&gt;&lt;span style="color: blue"&gt;True&lt;/span&gt;&lt;font color="#000000"&gt; &lt;/font&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoNormal" style="margin: 0in 0in 0pt 0.5in" align="left"&gt;&lt;span style="font-size: 9pt; font-family: 'Courier New'"&gt;&lt;font color="#000000"&gt;CurrSite.LogExtFileUserName&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = &lt;/font&gt;&lt;span style="color: blue"&gt;True&lt;/span&gt;&lt;font color="#000000"&gt; &lt;/font&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoNormal" style="margin: 0in 0in 0pt 0.5in" align="left"&gt;&lt;span style="font-size: 9pt; font-family: 'Courier New'"&gt;&lt;font color="#000000"&gt;CurrSite.LogExtFileSiteName&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = &lt;/font&gt;&lt;span style="color: blue"&gt;True&lt;/span&gt;&lt;font color="#000000"&gt; &lt;/font&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoNormal" style="margin: 0in 0in 0pt 0.5in" align="left"&gt;&lt;span style="font-size: 9pt; font-family: 'Courier New'"&gt;&lt;font color="#000000"&gt;CurrSite.LogExtFileComputerName&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = &lt;/font&gt;&lt;span style="color: blue"&gt;True&lt;/span&gt;&lt;font color="#000000"&gt; &lt;/font&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoNormal" style="margin: 0in 0in 0pt 0.5in" align="left"&gt;&lt;span style="font-size: 9pt; font-family: 'Courier New'"&gt;&lt;font color="#000000"&gt;CurrSite.LogExtFileServerIp&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = &lt;/font&gt;&lt;span style="color: blue"&gt;True&lt;/span&gt;&lt;font color="#000000"&gt; &lt;/font&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoNormal" style="margin: 0in 0in 0pt 0.5in" align="left"&gt;&lt;span style="font-size: 9pt; font-family: 'Courier New'"&gt;&lt;font color="#000000"&gt;CurrSite.LogExtFileMethod&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = &lt;/font&gt;&lt;span style="color: blue"&gt;True&lt;/span&gt;&lt;font color="#000000"&gt; &lt;/font&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoNormal" style="margin: 0in 0in 0pt 0.5in" align="left"&gt;&lt;span style="font-size: 9pt; font-family: 'Courier New'"&gt;&lt;font color="#000000"&gt;CurrSite.LogExtFileUriStem&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = &lt;/font&gt;&lt;span style="color: blue"&gt;True&lt;/span&gt;&lt;font color="#000000"&gt; &lt;/font&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoNormal" style="margin: 0in 0in 0pt 0.5in" align="left"&gt;&lt;span style="font-size: 9pt; font-family: 'Courier New'"&gt;&lt;font color="#000000"&gt;CurrSite.LogExtFileUriQuery&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = &lt;/font&gt;&lt;span style="color: blue"&gt;True&lt;/span&gt;&lt;font color="#000000"&gt; &lt;/font&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoNormal" style="margin: 0in 0in 0pt 0.5in" align="left"&gt;&lt;span style="font-size: 9pt; font-family: 'Courier New'"&gt;&lt;font color="#000000"&gt;CurrSite.LogExtFileHttpStatus&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = &lt;/font&gt;&lt;span style="color: blue"&gt;True&lt;/span&gt;&lt;font color="#000000"&gt; &lt;/font&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoNormal" style="margin: 0in 0in 0pt 0.5in" align="left"&gt;&lt;span style="font-size: 9pt; font-family: 'Courier New'"&gt;&lt;font color="#000000"&gt;CurrSite.LogExtFileWin32Status&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = &lt;/font&gt;&lt;span style="color: blue"&gt;True&lt;/span&gt;&lt;font color="#000000"&gt; &lt;/font&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoNormal" style="margin: 0in 0in 0pt 0.5in" align="left"&gt;&lt;span style="font-size: 9pt; font-family: 'Courier New'"&gt;&lt;font color="#000000"&gt;CurrSite.LogExtFileBytesSent&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = &lt;/font&gt;&lt;span style="color: blue"&gt;True&lt;/span&gt;&lt;font color="#000000"&gt; &lt;/font&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoNormal" style="margin: 0in 0in 0pt 0.5in" align="left"&gt;&lt;span style="font-size: 9pt; font-family: 'Courier New'"&gt;&lt;font color="#000000"&gt;CurrSite.LogExtFileBytesRecv&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = &lt;/font&gt;&lt;span style="color: blue"&gt;True&lt;/span&gt;&lt;font color="#000000"&gt; &lt;/font&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoNormal" style="margin: 0in 0in 0pt 0.5in" align="left"&gt;&lt;span style="font-size: 9pt; font-family: 'Courier New'"&gt;&lt;font color="#000000"&gt;CurrSite.LogExtFileTimeTaken&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = &lt;/font&gt;&lt;span style="color: blue"&gt;True&lt;/span&gt;&lt;font color="#000000"&gt; &lt;/font&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoNormal" style="margin: 0in 0in 0pt 0.5in" align="left"&gt;&lt;span style="font-size: 9pt; font-family: 'Courier New'"&gt;&lt;font color="#000000"&gt;CurrSite.LogExtFileServerPort&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = &lt;/font&gt;&lt;span style="color: blue"&gt;True&lt;/span&gt;&lt;font color="#000000"&gt; &lt;/font&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoNormal" style="margin: 0in 0in 0pt 0.5in" align="left"&gt;&lt;span style="font-size: 9pt; font-family: 'Courier New'"&gt;&lt;font color="#000000"&gt;CurrSite.LogExtFileUserAgent&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = &lt;/font&gt;&lt;span style="color: blue"&gt;True&lt;/span&gt;&lt;font color="#000000"&gt; &lt;/font&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoNormal" style="margin: 0in 0in 0pt 0.5in" align="left"&gt;&lt;span style="font-size: 9pt; font-family: 'Courier New'"&gt;&lt;font color="#000000"&gt;CurrSite.LogExtFileCookie&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = &lt;/font&gt;&lt;span style="color: blue"&gt;True&lt;/span&gt;&lt;font color="#000000"&gt; &lt;/font&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoNormal" style="margin: 0in 0in 0pt 0.5in" align="left"&gt;&lt;span style="font-size: 9pt; font-family: 'Courier New'"&gt;&lt;font color="#000000"&gt;CurrSite.LogExtFileReferer&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = &lt;/font&gt;&lt;span style="color: blue"&gt;True&lt;/span&gt;&lt;font color="#000000"&gt; &lt;/font&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoNormal" style="margin: 0in 0in 0pt 0.5in" align="left"&gt;&lt;span style="font-size: 9pt; font-family: 'Courier New'"&gt;&lt;font color="#000000"&gt;CurrSite.LogExtFileProtocolVersion&amp;nbsp; = &lt;/font&gt;&lt;span style="color: blue"&gt;True&lt;/span&gt;&lt;font color="#000000"&gt; &lt;/font&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoNormal" style="margin: 0in 0in 0pt 0.5in" align="left"&gt;&lt;span style="font-size: 9pt; font-family: 'Courier New'"&gt;&lt;font color="#000000"&gt;CurrSite.LogExtFileHttpSubStatus&amp;nbsp;&amp;nbsp;&amp;nbsp; = &lt;/font&gt;&lt;span style="color: blue"&gt;True&lt;/span&gt;&lt;font color="#000000"&gt; &lt;/font&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoNormal" style="margin: 0in 0in 0pt 0.5in" align="left"&gt;&lt;span style="font-size: 9pt; font-family: 'Courier New'"&gt;&lt;font color="#000000"&gt;CurrSite.SetInfo&lt;/font&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoNormal" style="margin: 0in 0in 0pt 0.5in" align="left"&gt;&lt;font face="Calibri" color="#000000" size="3"&gt;&amp;nbsp;&lt;/font&gt;&lt;/p&gt; &lt;p class="MsoNormal" style="margin: 0in 0in 0pt 0.5in" align="left"&gt;&lt;span style="font-size: 9pt; font-family: 'Courier New'"&gt;&lt;font color="#000000"&gt;wscript.echo &lt;/font&gt;&lt;span style="color: maroon"&gt;"Done!"&lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoNormal" style="margin: 0in 0in 0pt 0.5in" align="left"&gt;&lt;span style="font-size: 9pt; color: blue; font-family: 'Courier New'"&gt;Set&lt;/span&gt;&lt;span style="font-size: 9pt; font-family: 'Courier New'"&gt;&lt;font color="#000000"&gt; CurrSite = &lt;/font&gt;&lt;span style="color: blue"&gt;Nothing&lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoNormal" style="margin: 0in 0in 0pt 0.5in" align="left"&gt;&lt;span style="font-size: 9pt; color: blue; font-family: 'Courier New'"&gt;Set&lt;/span&gt;&lt;span style="font-size: 9pt; font-family: 'Courier New'"&gt;&lt;font color="#000000"&gt; CmdLineArgs = &lt;/font&gt;&lt;span style="color: blue"&gt;Nothing&lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;p align="left"&gt;&amp;nbsp;&lt;/p&gt; &lt;p&gt;Have fun.&lt;/p&gt; &lt;p&gt;&lt;strong&gt;Edit:&amp;nbsp; If you want to trim the log size down, do not enable the Cookie field, since this can cause the logs to grow rather large over time:&lt;/strong&gt;&lt;/p&gt; &lt;p&gt;&lt;span style="font-size: 9pt; font-family: 'Courier New'"&gt;&lt;font color="#000000"&gt;CurrSite.LogExtFileCookie&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = &lt;/font&gt;&lt;span style="color: blue"&gt;False&lt;/span&gt;&lt;font color="#000000"&gt; &lt;/font&gt;&lt;/span&gt;&lt;/p&gt; &lt;p&gt;&lt;strong&gt;Thanks, Todd.&lt;/strong&gt;&lt;/p&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=7408832" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/jb/archive/tags/IIS/default.aspx">IIS</category></item><item><title>What Application Pool does this W3WP.EXE belong to?</title><link>http://blogs.msdn.com/jb/archive/2006/02/22/536693.aspx</link><pubDate>Wed, 22 Feb 2006 07:58:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:536693</guid><dc:creator>jamesbl</dc:creator><slash:comments>21</slash:comments><comments>http://blogs.msdn.com/jb/comments/536693.aspx</comments><wfw:commentRss>http://blogs.msdn.com/jb/commentrss.aspx?PostID=536693</wfw:commentRss><description>&lt;P&gt;&lt;FONT face=Tahoma size=2&gt;During the course of working through issues, I get asked at least twice a week how to determine which application pool maps to a particular worker process PID (Process ID) on a server.&amp;nbsp; I suppose there are lots of ways to determine this, but here two that come to mind to determine the answer.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=Tahoma size=2&gt;The first way, and by far the easiest, is to use one of the new scripts that&amp;nbsp;come&amp;nbsp;in the box called IISAPP.VBS.&amp;nbsp; It is located in the %SystemRoot%\system32 directory.&amp;nbsp; For example:&lt;/FONT&gt;&lt;/P&gt;
&lt;TABLE id=table1 width=634 bgColor=#000000 border=0&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD&gt;&lt;FONT color=#ffffff&gt;&lt;FONT face=Terminal size=2&gt;C:\WINDOWS\system32&amp;gt;cscript iisapp.vbs&lt;BR&gt;Microsoft (R) Windows Script Host Version 5.6&lt;BR&gt;Copyright (C) Microsoft Corporation 1996-2001. All rights reserved.&lt;BR&gt;&lt;BR&gt;W3WP.exe PID: 1172 AppPoolId: StsAdminAppPool&lt;BR&gt;W3WP.exe PID: 2656 AppPoolId: MSSharePointAppPool&lt;BR&gt;W3WP.exe PID: 2148 AppPoolId: WMS App Pool&lt;BR&gt;W3WP.exe PID: 3604 AppPoolId: defaultwebsite&lt;/FONT&gt;&lt;BR&gt;&lt;/FONT&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;
&lt;P&gt;&lt;FONT face=Tahoma size=2&gt;As you can see, this script makes it very easy to determine what the PID is of each specific Application Pool.&amp;nbsp; This is nice to use when trying to determine which PID you may want to snap a dump of for debugging purposes.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=Tahoma size=2&gt;There are others that are cool as well.&amp;nbsp; For more details on the various&amp;nbsp;other scripts that are also included, see &lt;A href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/iissdk/html/5e7f8cde-4a01-42bd-acaf-f8f7d091ef7c.asp" target=_blank&gt;this link&lt;/A&gt;.&amp;nbsp; I also encourage you to open a command prompt, navigate to your system32 directory on your IIS6 machine&amp;nbsp;then&amp;nbsp;run a "&lt;STRONG&gt;dir iis*.vbs&lt;/STRONG&gt;" command and check out the new scripts.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=Tahoma size=2&gt;The second way is a bit more obscure and requires that you run the tlist.exe command, which comes with the &lt;A href="http://www.microsoft.com/whdc/devtools/debugging/default.mspx" target=_blank&gt;Debugging Tools for Windows&lt;/A&gt;.&amp;nbsp; Here is an example of that, which is fairly interesting:&lt;/FONT&gt;&lt;/P&gt;
&lt;TABLE id=table2 width=634 bgColor=#000000 border=0&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD&gt;&lt;FONT color=#ffffff&gt;&lt;FONT face=Terminal size=2&gt;C:\Program Files\Debugging Tools for Windows&amp;gt;tlist -v&lt;BR&gt;0 1172 w3wp.exe&lt;BR&gt;Command Line: c:\WINDOWS\system32\inetsrv\w3wp.exe -a \\.\pipe\iisipmec19a7d8-c08d-42f4-b2c9-69d7cfe28c74 -ap "StsAdminAppPool"&lt;BR&gt;0 2656 w3wp.exe&lt;BR&gt;Command Line: c:\WINDOWS\system32\inetsrv\w3wp.exe -a \\.\pipe\iisipm4bc52071-9ebb-4e39-9ba5-b256b4be4014 -t 20 -ap "MSSharePointAppPool"&lt;BR&gt;0 2148 w3wp.exe&lt;BR&gt;Command Line: c:\WINDOWS\system32\inetsrv\w3wp.exe -a \\.\pipe\iisipmfa132134-c1ed-47d4-be52-417ce5a59e63 -t 20 -ap "WMS App Pool"&lt;BR&gt;0 3604 w3wp.exe Title: OLEChannelWnd&lt;BR&gt;Command Line: c:\WINDOWS\system32\inetsrv\w3wp.exe -a \\.\pipe\iisipmdd93382a-645a-467c-bdbd-07c3ad6833a4 -t 20 -ap "defaultwebsite"&lt;/FONT&gt;&lt;BR&gt;&lt;/FONT&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;
&lt;P&gt;&lt;FONT face=Tahoma size=2&gt;&lt;STRONG&gt;Note&lt;/STRONG&gt;:&amp;nbsp; I snipped all other processes and only left the 4 W3WP.EXE processes that we're interested in.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=Tahoma size=2&gt;If you look carefully above, you will see the name of the Application Pool specified directly on the command line for W3WP.EXE!&amp;nbsp; You mean you can call this thing directly?&amp;nbsp; Interestingly enough, there are documented command line options for it.&amp;nbsp; Interesting?&amp;nbsp; No?&amp;nbsp; &lt;FONT style="BACKGROUND-COLOR: #ffffff" color=#0000ff&gt;Bonus points if you can tell me why the last application pool has a Title of "&lt;STRONG&gt;OLEChannelWnd&lt;/STRONG&gt;" :)&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=Tahoma size=2&gt;For those interested parties still left reading, here are the command line options for W3WP.EXE that are documented via -?:&lt;/FONT&gt;&lt;/P&gt;
&lt;TABLE id=table3 width=634 bgColor=#000000 border=0&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD&gt;&lt;FONT face=Terminal color=#ffffff size=2&gt;C:\WIN2003\system32\inetsrv&amp;gt;w3wp -?&lt;BR&gt;Usage: w3wp [options] &lt;BR&gt;&amp;nbsp; &lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; -debug &lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; This option is required for launching from the command line. &lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; If not provided the app pool name, default url, and site id &lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; will be defaulted to &lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; AppPoolName = StandAloneAppPool &lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; URL list&amp;nbsp;&amp;nbsp;&amp;nbsp; = http://*:80/:80/:80/ &lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Site Id&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = 1 &lt;BR&gt;&amp;nbsp; &lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; -ap &amp;lt;Application Pool Name&amp;gt; &lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Indicates the application pool name &lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; that will queue requests for the &lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; worker process.&amp;nbsp; No other worker processes &lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; with this name can be running at the &lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; same time as this one &lt;BR&gt;&amp;nbsp; &lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; -d &amp;lt;URL List&amp;gt; &lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;Indicates the urls to listen to. &lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Examples:les: &lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; http://*:80/:80/ &lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; http://HostString:80/ &lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; http://111.11.111.11:80:111.11.111.11/ &lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; http://HostString:80:111.11.111.11/ &lt;BR&gt;&amp;nbsp; &lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; -s &amp;lt;#&amp;gt; &lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Which site are the urls provided associated with. &lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; The site number is used to access data from the metabase &lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; for processing the requests.sts.&lt;/FONT&gt; &lt;BR&gt;&amp;nbsp;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;
&lt;P&gt;&lt;FONT face=Tahoma size=2&gt;Good night...for now.&lt;/FONT&gt;&lt;/P&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=536693" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/jb/archive/tags/IIS/default.aspx">IIS</category></item><item><title>IIS6: "Supposed" Metabase Corruption</title><link>http://blogs.msdn.com/jb/archive/2006/01/13/512682.aspx</link><pubDate>Fri, 13 Jan 2006 19:59:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:512682</guid><dc:creator>jamesbl</dc:creator><slash:comments>33</slash:comments><comments>http://blogs.msdn.com/jb/comments/512682.aspx</comments><wfw:commentRss>http://blogs.msdn.com/jb/commentrss.aspx?PostID=512682</wfw:commentRss><description>&lt;FONT face=Verdana size=2&gt;
&lt;P&gt;&lt;FONT face=Verdana size=1&gt;&lt;STRONG&gt;&lt;EM&gt;Prologue (required boredom)&lt;/EM&gt;&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;I recently worked on an issue where the IIS Admin service&amp;nbsp;would not start after a reboot.&amp;nbsp; The customer had just finished installing a set of patches, and thought that might be related (we'll soon see that it wasn't related).&amp;nbsp; The error was:&lt;/P&gt;
&lt;P&gt;&lt;FONT style="BACKGROUND-COLOR: #d3d3d3" face="Courier New"&gt;Event Type: Error&lt;BR&gt;Event Source: Service Control Manager&lt;BR&gt;Event Category: None&lt;BR&gt;Event ID: 7024&lt;BR&gt;Date: xx/xx/2005&lt;BR&gt;Time: xx:xx:xx PM&lt;BR&gt;User: N/A&lt;BR&gt;Computer: xxxxx&lt;BR&gt;Description:&lt;BR&gt;The IIS Admin Service service terminated with service-specific error 2148073478 &lt;BR&gt;0x80090006).&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;After much initial troubleshooting by more than enough people, metabase XML files were backed up, renamed, re-copied, scrubbed, analyzed, scrutinized, and investigated.&amp;nbsp; Machinekeys were then targeted, checked for proper ACLs, etc. and after nothing worked, the conclusion was metabase corruption, and IIS should be uninstalled and reinstalled.&amp;nbsp; This solved the issue, but for all the wrong&amp;nbsp;(and unknown) reasons.&lt;/P&gt;
&lt;P&gt;This had occurred, however, on 3-4 other occasions in the customer's environment, so it was time to find out why.&amp;nbsp; Like clockwork, the problem occurred again, so thanks to a friend in Exchange (you know who you are) asking me to give my .02&amp;nbsp;cents, I got my chance to look at it.&lt;/P&gt;
&lt;P&gt;&lt;FONT face=Verdana size=1&gt;&lt;STRONG&gt;&lt;EM&gt;Epilogue (the good part)&lt;/EM&gt;&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=Verdana&gt;In my experience, the reason IISADMIN fails to start in this scenario is because of a failure to decrypt secure data in the metabase, which, of course,&amp;nbsp;brings&amp;nbsp;us back to our old friend &lt;A href="http://www.live.com/#q=site:support.microsoft.com%20machinekeys&amp;amp;scope=0&amp;amp;first=1" target=_blank&gt;Machinekeys&lt;/A&gt;.&amp;nbsp;&amp;nbsp;The machine key is a file that IIS uses to decrypt secure data in the metabase.&amp;nbsp; There&amp;nbsp;can be many machine key files in the&amp;nbsp;MachineKeys directory, but the&amp;nbsp;IIS specific one starts with "c2319", which I remember thanks to the memorable quote in &lt;A href="http://www.imdb.com/title/tt0198781/quotes" target=_blank&gt;Monsters, Inc.&lt;/A&gt;&amp;nbsp;(and now you will too).&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;There's a little known fact that the machine key file IIS uses can be stored in one of two locations.&amp;nbsp; The typical one everyone seems to know is:&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New"&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;%ALLUSERSPROFILE%\Application Data\Microsoft\Crypto\RSA\MachineKeys&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;The other location that is not so well-known is:&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New"&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;%windir%\Profiles\All Users\Application Data\Microsoft\Crypto\RSA\MachineKeys&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;This is &lt;EM&gt;almost&lt;/EM&gt; always due to the fact that the machine had been originally upgraded from NT4.&amp;nbsp; We looked in the registry under the following key:&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New" color=#000000&gt;&lt;STRONG&gt;HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;and confirmed the &lt;FONT face="Courier New"&gt;&lt;STRONG&gt;Common AppData&lt;/STRONG&gt;&lt;/FONT&gt; value was, indeed, pointing to the C:\Windows\Profiles directory!&amp;nbsp; Now we're getting somewhere!&lt;/P&gt;
&lt;P&gt;Next we made copies of the multiple sets of machine key files,&amp;nbsp;deleted the "c2319" machine key file in the &lt;FONT face="Courier New"&gt;&lt;STRONG&gt;\Windows\Profiles\...\MachineKeys&lt;/STRONG&gt;&lt;/FONT&gt; folder and then copied the one from &lt;FONT face="Courier New" color=#000000&gt;&lt;STRONG&gt;\Documents and Settings\...\MachineKeys&lt;/STRONG&gt;&lt;/FONT&gt; into the&amp;nbsp;&lt;STRONG&gt;&lt;FONT face="Courier New"&gt;\Windows\Profiles\...\MachineKeys&lt;/FONT&gt;&lt;/STRONG&gt;&amp;nbsp;folder and &lt;A href="http://www.m-w.com/cgi-bin/audio.pl?voila001.wav" target=_blank&gt;voilà&lt;/A&gt; this was a match!&amp;nbsp; IISAdmin started just fine.&lt;/P&gt;
&lt;P&gt;The keen reader should notice this means IIS&amp;nbsp;&lt;STRONG&gt;WAS&lt;/STRONG&gt; using the &lt;FONT face="Courier New"&gt;&lt;STRONG&gt;\Documents and Settings\...\MachineKeys&lt;/STRONG&gt;&lt;/FONT&gt;&lt;FONT face=Verdana&gt; folder initially and something changed it after the fact.&amp;nbsp; This is the reason for my &lt;EM&gt;almost&lt;/EM&gt; comment above.&amp;nbsp; Upon further inspection, it appeared the customer had installed a piece of older software (NT4 version, perhaps?) that actually modified the registry to point to the &lt;FONT face="Courier New"&gt;&lt;STRONG&gt;\Windows\Profiles\...\MachineKeys&lt;/STRONG&gt;&lt;/FONT&gt; directory.&amp;nbsp; OUCH!&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;One other tidbit I noticed during the course of working on this issue is if you delete the machine key IIS uses, then attempt to start IISADMIN, another "c2319" machine key file will be created using the same filename.&amp;nbsp; The problem with this is the data/private key inside will not match what was used to encrypt the metabase data initially, therefore, it's completely useless and IISADMIN will not start.&amp;nbsp; This leads me to ask why it's created in the first place.&amp;nbsp; If you know, I would love to hear...&lt;BR&gt;&amp;nbsp;&lt;/P&gt;&lt;/FONT&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=512682" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/jb/archive/tags/IIS/default.aspx">IIS</category></item></channel></rss>