<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:atom="https://www.w3.org/2005/Atom" xmlns:sy="https://purl.org/rss/1.0/modules/syndication/" xmlns:dc="https://purl.org/dc/elements/1.1/" xmlns:content="https://purl.org/rss/1.0/modules/content/" xmlns:wfw="https://wellformedweb.org/CommentAPI/" xmlns:slash="https://purl.org/rss/1.0/modules/slash/"
  version="2.0">
  <channel>
    <title>Anders Lundström 'TODO: Write something clever here</title>
    <atom:link
      href="https://docs.microsoft.com/archive/blogs/anderslu/feed.xml"
      rel="self"
      type="application/rss+xml" />
    <link>https://docs.microsoft.com/archive/blogs/anderslu/feed.xml</link>
    <description />
    <lastBuildDate>Tue, 16 Apr 2019 04:38:12 GMT</lastBuildDate>
    <language>en-US</language>
    <sy:updatePeriod>hourly</sy:updatePeriod>
    <sy:updateFrequency>1</sy:updateFrequency>
    <item>
      <title>LOGPARSER #23: Get OS version from users hitting your site</title>
      <link>https://docs.microsoft.com/archive/blogs/anderslu/logparser-23-get-os-version-from-users-hitting-your-site</link>
      <pubDate>Wed, 21 Oct 2009 05:52:51 GMT</pubDate>
      <dc:creator><![CDATA[Anderslu]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/anderslu/2009/10/21/logparser-23-get-os-version-from-users-hitting-your-site/</guid>
      <description><![CDATA[This script check OS version on users hitting yours site. You’ll first need a way to extract unique...]]></description>
      <content:encoded><![CDATA[<p>This script check OS version on users hitting yours site. You’ll first need a way to extract unique users. If you use Windows Authentication you can use cs-username to get unique users.    <br />    <br /><font color="#808080" face="Courier New">SELECT      <br />&#160;&#160;&#160; DISTINCT cs-username,      <br />&#160;&#160;&#160; cs(user-agent)      <br />INTO       <br />&#160;&#160;&#160; UserAgentsUniqueUsers.csv      <br />FROM       <br />&#160;&#160;&#160; logs\iis\ex*.log      <br />WHERE       <br />&#160;&#160;&#160; cs-username &lt;&gt; NULL      <br />GROUP BY      <br />&#160;&#160;&#160; cs-username,      <br />&#160;&#160;&#160; cs(user-agent)</font>    <br />    <br />If you use Anonymous access cs-username will be a hyphen (‘-‘) but in that case you can probably use c-ip instead. From the .CSV you can then get OS version like this    <br />    <br /><font color="#808080" face="Courier New">SELECT     <br />&#160; SUM (c60) AS Vista,      <br />&#160; SUM (c52) AS Win2003,      <br />&#160; SUM (c51) AS WinXP,      <br />&#160; SUM (C50) AS Win2000      <br />USING      <br />&#160; CASE strcnt(cs(User-Agent),'Windows+NT+6.0') WHEN 1 THEN 1 ELSE 0 END AS C60,      <br />&#160; CASE strcnt(cs(User-Agent),'Windows+NT+5.2') WHEN 1 THEN 1 ELSE 0 END AS C52,      <br />&#160; CASE strcnt(cs(User-Agent),'Windows+NT+5.1') WHEN 1 THEN 1 ELSE 0 END AS C51,      <br />&#160; CASE strcnt(cs(User-Agent),'Windows+NT+5.0') WHEN 1 THEN 1 ELSE 0 END AS C50      <br />INTO      <br />&#160; GetOSUsed.txt      <br />FROM&#160; <br />&#160; UserAgentsUniqueUsers.csv</font>    <br />    <br />    <br />If you like you can add additional OS like <font color="#808080" face="Courier New">strcnt(cs(user-agent),’&lt;OS to check for goes here&gt;’)     <br />      <br />Win98      <br />Win95      <br />Win+9x+4.90      <br />Winnt4.0      <br />OS+x      <br />Mac      <br />PPC      <br />Linux</font></p>  <p>//Anders   </p>]]></content:encoded>
    </item>
    <item>
      <title>Windows 7: Testing Visual Basic 6.0 on Windows XP Mode</title>
      <link>https://docs.microsoft.com/archive/blogs/anderslu/windows-7-testing-visual-basic-6-0-on-windows-xp-mode</link>
      <pubDate>Wed, 21 Oct 2009 02:13:22 GMT</pubDate>
      <dc:creator><![CDATA[Anderslu]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/anderslu/2009/10/21/windows-7-testing-visual-basic-6-0-on-windows-xp-mode/</guid>
      <description><![CDATA[Installed Virtual PC for Windows 7 and Windows XP Mode (from here) and though I give it a try using...]]></description>
      <content:encoded><![CDATA[<p>Installed Virtual PC for Windows 7 and Windows XP Mode (from <a href="https://www.microsoft.com/windows/virtual-pc/download.aspx">here</a>) and though I give it a try using Integration Features with Visual Basic 6.0.</p>  <p>After VPC and XP Mode was installed you’ll get two new menu items and one folder for integrated apps    <br />    <br /><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/BlogFileStorage/blogs_msdn/anderslu/WindowsLiveWriter/Windows7TestingVisualBa.0onWindowsXPMode_F84C/image_2.png" original-url="https://blogs.msdn.com/blogfiles/anderslu/WindowsLiveWriter/Windows7TestingVisualBa.0onWindowsXPMode_F84C/image_2.png"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/BlogFileStorage/blogs_msdn/anderslu/WindowsLiveWriter/Windows7TestingVisualBa.0onWindowsXPMode_F84C/image_thumb.png" original-url="https://blogs.msdn.com/blogfiles/anderslu/WindowsLiveWriter/Windows7TestingVisualBa.0onWindowsXPMode_F84C/image_thumb.png" width="473" height="96" /></a> </p>  <p>If you click Windows XP Mode your image is started    <br />    <br /><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/BlogFileStorage/blogs_msdn/anderslu/WindowsLiveWriter/Windows7TestingVisualBa.0onWindowsXPMode_F84C/image_4.png" original-url="https://blogs.msdn.com/blogfiles/anderslu/WindowsLiveWriter/Windows7TestingVisualBa.0onWindowsXPMode_F84C/image_4.png"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/BlogFileStorage/blogs_msdn/anderslu/WindowsLiveWriter/Windows7TestingVisualBa.0onWindowsXPMode_F84C/image_thumb_1.png" original-url="https://blogs.msdn.com/blogfiles/anderslu/WindowsLiveWriter/Windows7TestingVisualBa.0onWindowsXPMode_F84C/image_thumb_1.png" width="352" height="95" /></a> </p>  <p>Looks pretty much like any VPC</p>  <p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/BlogFileStorage/blogs_msdn/anderslu/WindowsLiveWriter/Windows7TestingVisualBa.0onWindowsXPMode_F84C/image_6.png" original-url="https://blogs.msdn.com/blogfiles/anderslu/WindowsLiveWriter/Windows7TestingVisualBa.0onWindowsXPMode_F84C/image_6.png"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/BlogFileStorage/blogs_msdn/anderslu/WindowsLiveWriter/Windows7TestingVisualBa.0onWindowsXPMode_F84C/image_thumb_2.png" original-url="https://blogs.msdn.com/blogfiles/anderslu/WindowsLiveWriter/Windows7TestingVisualBa.0onWindowsXPMode_F84C/image_thumb_2.png" width="464" height="385" /></a> </p>  <p>Under Tools Menu make sure you Enable Integration Feature. Put the VS6.0 install DVD into the computer DVD player and you are set to go.&#160; <br />    <br />Going back to your Windows 7 start menu it now looks like this when the setup is done.     <br />    <br /><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/BlogFileStorage/blogs_msdn/anderslu/WindowsLiveWriter/Windows7TestingVisualBa.0onWindowsXPMode_F84C/image_8.png" original-url="https://blogs.msdn.com/blogfiles/anderslu/WindowsLiveWriter/Windows7TestingVisualBa.0onWindowsXPMode_F84C/image_8.png"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/BlogFileStorage/blogs_msdn/anderslu/WindowsLiveWriter/Windows7TestingVisualBa.0onWindowsXPMode_F84C/image_thumb_3.png" original-url="https://blogs.msdn.com/blogfiles/anderslu/WindowsLiveWriter/Windows7TestingVisualBa.0onWindowsXPMode_F84C/image_thumb_3.png" width="480" height="226" /></a>&#160; <br />&#160; <br />Click Visual Basic 6.0 icon and accept to close     <br />    <br /><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/BlogFileStorage/blogs_msdn/anderslu/WindowsLiveWriter/Windows7TestingVisualBa.0onWindowsXPMode_F84C/image_10.png" original-url="https://blogs.msdn.com/blogfiles/anderslu/WindowsLiveWriter/Windows7TestingVisualBa.0onWindowsXPMode_F84C/image_10.png"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/BlogFileStorage/blogs_msdn/anderslu/WindowsLiveWriter/Windows7TestingVisualBa.0onWindowsXPMode_F84C/image_thumb_4.png" original-url="https://blogs.msdn.com/blogfiles/anderslu/WindowsLiveWriter/Windows7TestingVisualBa.0onWindowsXPMode_F84C/image_thumb_4.png" width="371" height="226" /></a> </p>  <p>Visual Basic will be visually opened like any other program installed directly into Windows 7. Sweet!&#160; <br />    <br /><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/BlogFileStorage/blogs_msdn/anderslu/WindowsLiveWriter/Windows7TestingVisualBa.0onWindowsXPMode_F84C/image_14.png" original-url="https://blogs.msdn.com/blogfiles/anderslu/WindowsLiveWriter/Windows7TestingVisualBa.0onWindowsXPMode_F84C/image_14.png"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="image" border="0" alt="image" src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/BlogFileStorage/blogs_msdn/anderslu/WindowsLiveWriter/Windows7TestingVisualBa.0onWindowsXPMode_F84C/image_thumb_6.png" original-url="https://blogs.msdn.com/blogfiles/anderslu/WindowsLiveWriter/Windows7TestingVisualBa.0onWindowsXPMode_F84C/image_thumb_6.png" width="529" height="347" /></a>&#160; <br />    <br />//Anders</p>]]></content:encoded>
    </item>
    <item>
      <title>LOGPARSER #22: Domains referring traffic to your site</title>
      <link>https://docs.microsoft.com/archive/blogs/anderslu/logparser-22-domains-referring-traffic-to-your-site</link>
      <pubDate>Wed, 21 Oct 2009 01:36:31 GMT</pubDate>
      <dc:creator><![CDATA[Anderslu]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/anderslu/2009/10/21/logparser-22-domains-referring-traffic-to-your-site/</guid>
      <description><![CDATA[SELECT        &#160;&#160; EXTRACT_TOKEN(cs(Referer), 2, '/') AS Domain,        &#160; COUNT(*) AS...]]></description>
      <content:encoded><![CDATA[<p><code><font color="#808080">SELECT</font></code><font face="Courier New"><font color="#808080">        <br />&#160;&#160; <code>EXTRACT_TOKEN</code></font></font><font color="#808080"><code>(cs(Referer), 2, '/') AS Domain,        <br />&#160; COUNT(*) AS [Requests]         <br /></code><code>INTO</code></font><font color="#808080" face="Courier New">      <br />&#160;&#160; </font><font color="#808080"><code>ReferringDomains.txt        <br /></code><code>FROM</code></font><font color="#808080" face="Courier New">&#160; <br />&#160;&#160; logs\iis\<code>ex*.</code><code>log</code>       <br /><code>GROUP</code> <code>BY</code>       <br />&#160;&#160; </font><font color="#808080"><code>Domain       <br /> </code><code>ORDER</code></font><font color="#808080" face="Courier New"> <code>BY</code>       <br />&#160;&#160; </font><code><font color="#808080">Requests       <br /> DESC</font></code></p>  <p><code><font face="Tahoma">//Anders</font></code></p>]]></content:encoded>
    </item>
    <item>
      <title>LOGPARSER #21: Get bytes per extension</title>
      <link>https://docs.microsoft.com/archive/blogs/anderslu/logparser-21-get-bytes-per-extension</link>
      <pubDate>Wed, 21 Oct 2009 01:22:07 GMT</pubDate>
      <dc:creator><![CDATA[Anderslu]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/anderslu/2009/10/21/logparser-21-get-bytes-per-extension/</guid>
      <description><![CDATA[This script will give you the amount of bytes sent by each file type, for example pictures, ASPX...]]></description>
      <content:encoded><![CDATA[<p>This script will give you the amount of bytes sent by each file type, for example pictures, ASPX pages etc. Great if you need to work with size/performance.</p>  <p><font color="#808080" face="Courier New">SELECT&#160;&#160;&#160; <br />&#160;&#160;&#160; EXTRACT_EXTENSION( cs-uri-stem ) AS Extension,       <br />&#160;&#160;&#160; MUL(PROPSUM(sc-bytes),100.0) AS PercentageOfBytes,       <br />&#160;&#160;&#160; Div(Sum(sc-bytes),1024) as AmountOfMbBytes       <br />INTO       <br />&#160;&#160;&#160; BytesPerExtension.txt       <br />FROM       <br />&#160;&#160;&#160; logs\iis\ex*.log       <br />GROUP BY       <br />&#160;&#160;&#160; Extension       <br />ORDER BY       <br />&#160;&#160;&#160; PercentageOfBytes       <br />DESC</font></p>  <p>//Anders</p>]]></content:encoded>
    </item>
    <item>
      <title>LOGPARSER #20: Check Browser types split between your unique users</title>
      <link>https://docs.microsoft.com/archive/blogs/anderslu/logparser-20-check-browser-types-split-between-your-unique-users</link>
      <pubDate>Tue, 20 Oct 2009 05:08:00 GMT</pubDate>
      <dc:creator><![CDATA[Anderslu]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/anderslu/2009/10/20/logparser-20-check-browser-types-split-between-your-unique-users/</guid>
      <description><![CDATA[My previous post (#2) gave you browser types, hits and post (#19) gave you additional information...]]></description>
      <content:encoded><![CDATA[<p>My previous post (#2) gave you browser types, hits and post (#19) gave you additional information like hits and percentage of hits between browsers. This script will give you more details as it looks at browser type for each unique user and give you the sum of that.&#160; Note: If a user have two different browsers it will count for both. </p>  <p>If you run this script it will give you each user and the browser they use    <br />    <br /><font color="#808080" face="Courier New">SELECT      <br />&#160;&#160;&#160; DISTINCT cs-username,       <br />&#160;&#160;&#160; cs(user-agent)       <br />INTO       <br />&#160;&#160;&#160; <font color="#0000ff">UserAgentsUniqueUsers1.csv        <br /></font>FROM       <br />&#160;&#160;&#160; logs\iis\ex*.log       <br />WHERE       <br />&#160;&#160;&#160; cs-username &lt;&gt; NULL       <br />GROUP BY       <br />&#160;&#160;&#160; cs-username,       <br />&#160;&#160;&#160; cs(user-agent)</font></p>  <p>If you then run this script you’ll get the percentage of unique users per user agent.    <br />    <br /><font color="#0000ff">Note: Script nr 2 uses output from script nr 1</font></p>  <p><font color="#808080" face="Courier New">SELECT      <br />&#160;&#160;&#160; cs(user-agent),       <br />&#160;&#160;&#160; count(cs-username) as UniqueUsersPerAgent,       <br />&#160;&#160;&#160; TO_INT(MUL(PROPCOUNT(*), 100)) AS Percentage       <br />INTO       <br />&#160;&#160;&#160; UniqueUsersPerAgent.txt       <br />FROM       <br />&#160;&#160;&#160; <font color="#0000ff">UserAgentsUniqueUsers1.csv        <br /></font>GROUP BY&#160; <br />&#160;&#160;&#160; cs(user-agent)       <br />ORDER BY       <br />&#160;&#160;&#160; UniqueUsersPerAgent       <br />DESC</font></p>  <p>Can look something like this. 220 of your unique domain users have IE6 and 194 have IE7</p>  <p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/BlogFileStorage/blogs_msdn/anderslu/WindowsLiveWriter/LOGPARSER20Browsertypesbetweenyourusers_C654/image_2.png" original-url="https://blogs.msdn.com/blogfiles/anderslu/WindowsLiveWriter/LOGPARSER20Browsertypesbetweenyourusers_C654/image_2.png"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/BlogFileStorage/blogs_msdn/anderslu/WindowsLiveWriter/LOGPARSER20Browsertypesbetweenyourusers_C654/image_thumb.png" original-url="https://blogs.msdn.com/blogfiles/anderslu/WindowsLiveWriter/LOGPARSER20Browsertypesbetweenyourusers_C654/image_thumb.png" width="753" height="110" /></a> </p>  <p></p>  <p>&#160;</p>  <p>//Anders</p>]]></content:encoded>
    </item>
    <item>
      <title>LOGPARSER #19: Browser types with most hits/used</title>
      <link>https://docs.microsoft.com/archive/blogs/anderslu/logparser-19-browser-types-with-most-hitsused</link>
      <pubDate>Tue, 20 Oct 2009 04:39:14 GMT</pubDate>
      <dc:creator><![CDATA[Anderslu]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/anderslu/2009/10/20/logparser-19-browser-types-with-most-hitsused/</guid>
      <description><![CDATA[My #2 post gave you just browser types and hits, this script will give you you almost the same data...]]></description>
      <content:encoded><![CDATA[<p>My #2 post gave you just browser types and hits, this script will give you you almost the same data but with percentage. Great for security checks etc. </p>  <p><font color="#808080" face="Courier New">SELECT      <br />&#160; TO_INT(MUL(100.0,PROPCOUNT(*))) AS Percent,&#160; <br />&#160; COUNT(*) AS Hits,       <br />&#160; cs(User-Agent) as Browser       <br /></font><font face="Courier New"><font color="#808080">INTO&#160; <br />&#160; UseragentsHits.txt         <br />FROM&#160; <br />&#160; logs\iis\ex*.log&#160;&#160; <br />GROUP BY&#160; <br />&#160; Browser         <br />ORDER BY&#160; <br />&#160; HITS         <br />DESC         <br /></font></font></p>  <p>//Anders    </p>]]></content:encoded>
    </item>
    <item>
      <title>LOGPARSER #18: Top 10 pages with most hits</title>
      <link>https://docs.microsoft.com/archive/blogs/anderslu/logparser-18-top-10-pages-with-most-hits</link>
      <pubDate>Tue, 20 Oct 2009 02:32:34 GMT</pubDate>
      <dc:creator><![CDATA[Anderslu]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/anderslu/2009/10/20/logparser-18-top-10-pages-with-most-hits/</guid>
      <description><![CDATA[Will give you your top pages with most hits and some additional data. If your top 10 pages with most...]]></description>
      <content:encoded><![CDATA[<p>Will give you your top pages with most hits and some additional data. If your top 10 pages with most hits are the same as your top slow pages and/or largest you might want to do something about it.</p>  <p><font color="#808080" face="Courier New">Select      <br />&#160;&#160; TOP 10       <br />&#160;&#160; STRCAT(EXTRACT_PATH(cs-uri-stem),'/') AS RequestPath,       <br />&#160;&#160; EXTRACT_FILENAME(cs-uri-stem) AS RequestedFile,       <br />&#160;&#160; COUNT(*) AS TotalHits,       <br />&#160;&#160; Max(time-taken) AS MaxTime,       <br />&#160;&#160; AVG(time-taken) AS AvgTime,       <br />&#160;&#160; AVG(sc-bytes) AS AvgBytesSent       <br />INTO       <br />&#160; Top10Urls.txt       <br />FROM       <br />&#160; logs\iis\ex*.log       <br />GROUP BY       <br />&#160; cs-uri-stem       <br />ORDER BY       <br />&#160; TotalHits       <br />DESC</font></p>  <p>//Anders</p>]]></content:encoded>
    </item>
    <item>
      <title>LOGPARSER #17: Get your broken links</title>
      <link>https://docs.microsoft.com/archive/blogs/anderslu/logparser-17-get-your-broken-links</link>
      <pubDate>Tue, 20 Oct 2009 02:14:54 GMT</pubDate>
      <dc:creator><![CDATA[Anderslu]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/anderslu/2009/10/20/logparser-17-get-your-broken-links/</guid>
      <description><![CDATA[This script will give you site/page refers to your content though your content has moved.  SELECT...]]></description>
      <content:encoded><![CDATA[<p>This script will give you site/page refers to your content though your content has moved.</p>  <p><font color="#808080" face="Courier New">SELECT      <br />&#160;&#160;&#160; DISTINCT cs(Referer) as Referer,       <br />&#160;&#160;&#160; cs-uri-stem as Url       <br />INTO       <br />&#160;&#160;&#160; ReferBrokenLinks.txt       <br />FROM       <br />&#160;&#160;&#160; logs\iis\ex*.log       <br />WHERE       <br />&#160;&#160;&#160; cs(Referer) IS NOT NULL AND sc-status=404 AND (sc-substatus IS NULL OR sc-substatus=0)</font></p>  <p>//Anders</p>]]></content:encoded>
    </item>
    <item>
      <title>LOGPARSER #16: Remove those Compilation Debug=True from your prod server</title>
      <link>https://docs.microsoft.com/archive/blogs/anderslu/logparser-16-remove-those-compilation-debugtrue-from-your-prod-server</link>
      <pubDate>Mon, 19 Oct 2009 02:36:08 GMT</pubDate>
      <dc:creator><![CDATA[Anderslu]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/anderslu/2009/10/19/logparser-16-remove-those-compilation-debugtrue-from-your-prod-server/</guid>
      <description><![CDATA[One thing I notice on several of my customers is that it really doesn’t matter how waterproof...]]></description>
      <content:encoded><![CDATA[<p>One thing I notice on several of my customers is that it really doesn’t matter how waterproof process you have for deploying web applications, and web.config files in particular. You’ll always end up with at least one web app somewhere with Compilation Debug = True. As you all know this hurts performance a lot, compilation takes a lot longer, memory usage increase etc. You can read more about why this is important at Tess blog <a href="https://blogs.msdn.com/tess/archive/2006/04/13/575364.aspx">here</a>.    <br />    <br />If you don’t have .NET Framework 2.0 or later installed you should consider using this script I’ve put together to find Compilation Debug within all the web.config files within the specified directory.     <br />    <br /><font color="#808080" face="Courier New">Logparser “SELECT logfilename, Text FROM ‘c:\inetpub\wwwroot\*.*’ WHERE Text LIKE ‘%compilation debug%’” –i:TEXTLINE</font>    <br />    <br />If you’re on Framework 2.0 or later check out Scott Guthrie’s blog how to make sure this doesn’t happen at all. You also get some other benefits of using this new switch in the Machine.Config Deployment section. <a title="https://weblogs.asp.net/scottgu/archive/2006/04/11/442448.aspx" href="https://weblogs.asp.net/scottgu/archive/2006/04/11/442448.aspx">https://weblogs.asp.net/scottgu/archive/2006/04/11/442448.aspx</a>    <br />    <br />//Anders    </p>]]></content:encoded>
    </item>
    <item>
      <title>LOGPARSER #15: Check traffic from IP addresses</title>
      <link>https://docs.microsoft.com/archive/blogs/anderslu/logparser-15-check-traffic-from-ip-addresses</link>
      <pubDate>Wed, 14 Oct 2009 06:14:46 GMT</pubDate>
      <dc:creator><![CDATA[Anderslu]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/anderslu/2009/10/14/logparser-15-check-traffic-from-ip-addresses/</guid>
      <description><![CDATA[Customer of mine used a hardware load balancer to distribute traffic between their frontend web...]]></description>
      <content:encoded><![CDATA[<p>Customer of mine used a hardware load balancer to distribute traffic between their frontend web servers. This script that I put together gave them a chance to check whether traffic was distributed evenly between servers (K’s, Hits), if average wait time was the same etc. 10.000 meter view what’s going on. Interesting enough customer also note that all traffic did not originated from the load balancer IP’s. Just by doing these tests you discover new information about a system you thought you know pretty well :)</p>  <p><font color="#808080" face="Courier New">Select      <br />&#160;&#160;&#160;&#160; c-ip AS Client,       <br />&#160;&#160;&#160;&#160; Div(Sum(cs-bytes),1024) As IncomingBytes(K),       <br />&#160;&#160;&#160;&#160; Div(Sum(sc-bytes),1024) As OutgoingBytes(K),       <br />&#160;&#160;&#160; MAX(time-taken) as MaxTime,       <br />&#160;&#160;&#160; AVG(time-taken) as AvgTime,       <br />&#160;&#160;&#160; count(*) as hits       <br />&#160;&#160;&#160; INTO errorsperip.txt       <br /></font><font color="#808080" face="Courier New">FROM      <br />&#160;&#160;&#160; logs\iis\ex*.log       <br /></font><font color="#808080" face="Courier New">GROUP BY      <br />&#160;&#160;&#160; client       <br />ORDER BY       <br />&#160;&#160;&#160; Hits       <br />DESC</font>     <br />    <br />You can also dig into the errors of each IP address just to see if you find any differences. Maybe you have a configuration mismatch between servers?    <br />    <br /><font color="#808080" face="Courier New">Select      <br />&#160; c-ip AS Client,       <br />&#160; SUM(c400) AS 400s,       <br />&#160; sum(c401) AS 401s,       <br />&#160; SUM(c403) AS 403s,       <br />&#160; SUM(c404) AS 404s,       <br />&#160; SUM(c500) AS 500s,       <br />&#160; SUM(c501) AS 501s,       <br />&#160; SUM(c502) AS 502s,       <br />&#160; SUM(c503) AS 503s,       <br />&#160; SUM(c504) AS 504s,       <br />&#160; SUM(c505) AS 505s       <br />USING       <br />&#160; CASE sc-status WHEN 400 THEN 1 ELSE 0 END AS c400,       <br />&#160; CASE sc-status WHEN 401 THEN 1 ELSE 0 END AS c401,       <br />&#160; CASE sc-status WHEN 403 THEN 1 ELSE 0 END AS c403,       <br />&#160; CASE sc-status WHEN 404 THEN 1 ELSE 0 END AS c404,       <br />&#160; CASE sc-status WHEN 500 THEN 1 ELSE 0 END AS c500,       <br />&#160; CASE sc-status WHEN 501 THEN 1 ELSE 0 END AS c501,       <br />&#160; CASE sc-status WHEN 502 THEN 1 ELSE 0 END AS c502,       <br />&#160; CASE sc-status WHEN 503 THEN 1 ELSE 0 END AS c503,       <br />&#160; CASE sc-status WHEN 504 THEN 1 ELSE 0 END AS c504,       <br />&#160; CASE sc-status WHEN 505 THEN 1 ELSE 0 END AS c505       <br />INTO&#160; <br />&#160; <font color="#ff0000"><strong>IPNumberFileName.txt</strong>         <br /></font></font><font color="#808080" face="Courier New">FROM      <br />&#160;&#160;&#160; logs\iis\ex*.log       <br />WHERE       <br />&#160;&#160;&#160; c-ip='<font color="#ff0000"><strong>&lt;IP address goes here&gt;</strong></font>'       <br />GROUP BY       <br />&#160;&#160;&#160; client       <br />      <br /><font color="#000000" face="tahoma">Happy log file digging!        <br />        <br />//Anders</font></font></p>]]></content:encoded>
    </item>
  </channel>
</rss>