<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:pingback="http://madskills.com/public/xml/rss/module/pingback/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" version="2.0">
  <channel>
    <title>Galin Iliev [Galcho]  Blog! - Window Server System</title>
    <link>http://www.galcho.com/Blog/</link>
    <description>Walking on water and developing software from a specification are easy if both are frozen.</description>
    <copyright>Galin Iliev</copyright>
    <lastBuildDate>Thu, 23 Jul 2009 04:09:54 GMT</lastBuildDate>
    <generator>newtelligence dasBlog 2.3.9074.18820</generator>
    <managingEditor>blog@galcho.com</managingEditor>
    <webMaster>blog@galcho.com</webMaster>
    <item>
      <trackback:ping>http://www.galcho.com/Blog/Trackback.aspx?guid=977a22e7-52eb-4daf-809c-1d5fa54f0183</trackback:ping>
      <pingback:server>http://www.galcho.com/Blog/pingback.aspx</pingback:server>
      <pingback:target>http://www.galcho.com/Blog/PermaLink.aspx?guid=977a22e7-52eb-4daf-809c-1d5fa54f0183</pingback:target>
      <dc:creator>
      </dc:creator>
      <wfw:comment>http://www.galcho.com/Blog/CommentView.aspx?guid=977a22e7-52eb-4daf-809c-1d5fa54f0183</wfw:comment>
      <wfw:commentRss>http://www.galcho.com/Blog/SyndicationService.asmx/GetEntryCommentsRss?guid=977a22e7-52eb-4daf-809c-1d5fa54f0183</wfw:commentRss>
      <body xmlns="http://www.w3.org/1999/xhtml">
        <p>
Today Microsoft <a href="http://windowsteamblog.com/blogs/windows7/archive/2009/07/22/windows-7-has-been-released-to-manufacturing.aspx">announced
that Windows 7 and Windows Server 2008 R2</a> code is signed off and is ready to go
to <a href="http://en.wikipedia.org/wiki/Release_to_manufacture#RTM">manufacture</a> –
so this will be the code that end user will use. 
</p>
        <p>
Even more - partners and business customers <a href="http://www.infoworld.com/d/windows/windows-7-rtm-code-available-next-month-183">can
get their hands on Windows 7 RTM code</a> starting next month.
</p>
        <p>
I have been using Windows 7 and Windows Server 2008 R2 since their Beta and I dare
to say that this is the fastest OS, I’ve ever worked with. You will like it for sure.
</p>
        <p>
Both client (<a href="http://windows.microsoft.com/en-US/windows7/products/features">Windows
7</a>) and server (<a href="http://www.microsoft.com/windowsserver2008/en/us/R2.aspx">Windows
Server 2008 R2</a>) are full with <a href="http://windows.microsoft.com/en-US/windows7/products/features">improvements</a> and
for sure these increase both the pleasure and the productivity.
</p>
        <img width="0" height="0" src="http://www.galcho.com/Blog/aggbug.ashx?id=977a22e7-52eb-4daf-809c-1d5fa54f0183" />
        <br />
        <hr />
This weblog is using <a href="http://www.codeplex.com/dasBlog">dasBlog</a> hosted
by <a href="http://www.primaconsult.net/">PrimaNet Consult LTD</a>. 
</body>
      <title>Windows 7 RTM – code fully cooked</title>
      <guid isPermaLink="false">http://www.galcho.com/Blog/PermaLink.aspx?guid=977a22e7-52eb-4daf-809c-1d5fa54f0183</guid>
      <link>http://www.galcho.com/Blog/PermaLink.aspx?guid=977a22e7-52eb-4daf-809c-1d5fa54f0183</link>
      <pubDate>Thu, 23 Jul 2009 04:09:54 GMT</pubDate>
      <description>&lt;p&gt;
Today Microsoft &lt;a href="http://windowsteamblog.com/blogs/windows7/archive/2009/07/22/windows-7-has-been-released-to-manufacturing.aspx"&gt;announced
that Windows 7 and Windows Server 2008 R2&lt;/a&gt; code is signed off and is ready to go
to &lt;a href="http://en.wikipedia.org/wiki/Release_to_manufacture#RTM"&gt;manufacture&lt;/a&gt; –
so this will be the code that end user will use. 
&lt;/p&gt;
&lt;p&gt;
Even more - partners and business customers &lt;a href="http://www.infoworld.com/d/windows/windows-7-rtm-code-available-next-month-183"&gt;can
get their hands on Windows 7 RTM code&lt;/a&gt; starting next month.
&lt;/p&gt;
&lt;p&gt;
I have been using Windows 7 and Windows Server 2008 R2 since their Beta and I dare
to say that this is the fastest OS, I’ve ever worked with. You will like it for sure.
&lt;/p&gt;
&lt;p&gt;
Both client (&lt;a href="http://windows.microsoft.com/en-US/windows7/products/features"&gt;Windows
7&lt;/a&gt;) and server (&lt;a href="http://www.microsoft.com/windowsserver2008/en/us/R2.aspx"&gt;Windows
Server 2008 R2&lt;/a&gt;) are full with &lt;a href="http://windows.microsoft.com/en-US/windows7/products/features"&gt;improvements&lt;/a&gt; and
for sure these increase both the pleasure and the productivity.
&lt;/p&gt;
&lt;img width="0" height="0" src="http://www.galcho.com/Blog/aggbug.ashx?id=977a22e7-52eb-4daf-809c-1d5fa54f0183" /&gt;
&lt;br /&gt;
&lt;hr /&gt;
This weblog is using &lt;a href="http://www.codeplex.com/dasBlog"&gt;dasBlog&lt;/a&gt; hosted
by &lt;a href="http://www.primaconsult.net/"&gt;PrimaNet Consult LTD&lt;/a&gt;. </description>
      <comments>http://www.galcho.com/Blog/CommentView.aspx?guid=977a22e7-52eb-4daf-809c-1d5fa54f0183</comments>
      <category>Web</category>
      <category>Window Server System</category>
    </item>
    <item>
      <trackback:ping>http://www.galcho.com/Blog/Trackback.aspx?guid=96f475f7-fda8-4bad-b6bc-d0107774e928</trackback:ping>
      <pingback:server>http://www.galcho.com/Blog/pingback.aspx</pingback:server>
      <pingback:target>http://www.galcho.com/Blog/PermaLink.aspx?guid=96f475f7-fda8-4bad-b6bc-d0107774e928</pingback:target>
      <dc:creator>
      </dc:creator>
      <wfw:comment>http://www.galcho.com/Blog/CommentView.aspx?guid=96f475f7-fda8-4bad-b6bc-d0107774e928</wfw:comment>
      <wfw:commentRss>http://www.galcho.com/Blog/SyndicationService.asmx/GetEntryCommentsRss?guid=96f475f7-fda8-4bad-b6bc-d0107774e928</wfw:commentRss>
      <body xmlns="http://www.w3.org/1999/xhtml">
        <h3>After I was using <a href="http://software.intel.com/en-us/blogs/2008/02/12/windows-server-2008-aero-enabled-workstation-edition/">Windows
Server 2008 as a workstation</a> for a while I decided to move to R2.
</h3>
        <p>
Having the option to boot form VHD it was a nice idea- I could have as many OS-es
as I want and they fully utilize the hardware. But one question remained: How I can
turn Windows Server 2008 R2 into workstation and having all goodies of workstation
including Aero interface.
</p>
        <p>
The default installation seems to have following notable features:
</p>
        <ul>
          <li>
Only x64 editions</li>
          <li>
Less driver support than Windows 7</li>
          <li>
No audio</li>
          <li>
Wireless disabled by default (after installing the driver)</li>
          <li>
Cannot select Windows 7 theme even after video driver selection.</li>
        </ul>
        <p>
So let’s nail those one by one:
</p>
        <h4>Only x64 editions
</h4>
        <p>
Well… nothing can be done here. Time to move to x64 bit platform. Fortunately my laptop’s
CPU was Intel Core2 Duo and can do it.
</p>
        <h4>Less driver support than Windows 7
</h4>
        <p>
Luckily Windows 7 drivers work – as long as they support x64 bit. I had a hard time
to find some for my Dell machine though… Note: Windows Vista x64 drivers worked for
me as well…
</p>
        <h4>No Audio
</h4>
        <p>
This was easy. The drivers were in place (with installation) and only had to play
with some services: 
</p>
        <ul>
          <li>
Windows Audio</li>
          <li>
Windows Audio Endpoint Builder</li>
        </ul>
        <p>
          <a href="http://www.galcho.com/Blog/content/binary/WindowsLiveWriter/HowtoturnWindowsServer2008R2intoworkstat_60F/clip_image001_2.png" rel="lightbox">
            <img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="clip_image001" border="0" alt="clip_image001" src="http://www.galcho.com/Blog/content/binary/WindowsLiveWriter/HowtoturnWindowsServer2008R2intoworkstat_60F/clip_image001_thumb.png" width="568" height="37" />
          </a>
        </p>
        <p>
I just started the first one and there was sound J
</p>
        <h4>Wireless disabled by default
</h4>
        <table border="1" cellspacing="0" cellpadding="0">
          <tbody>
            <tr>
              <td valign="top" width="319">
                <p>
This was tough one (for me). I installed correct drivers. Everything seemed normal
except I couldn’t enable the adapter. It was constantly disabled.
</p>
              </td>
              <td valign="top" width="319">
                <p>
                  <a href="http://www.galcho.com/Blog/content/binary/WindowsLiveWriter/HowtoturnWindowsServer2008R2intoworkstat_60F/clip_image002_2.png" rel="lightbox">
                    <img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="clip_image002" border="0" alt="clip_image002" src="http://www.galcho.com/Blog/content/binary/WindowsLiveWriter/HowtoturnWindowsServer2008R2intoworkstat_60F/clip_image002_thumb.png" width="312" height="78" />
                  </a>
                </p>
              </td>
            </tr>
          </tbody>
        </table>
        <p>
After every attempt to enable it remained disabled. In Event viewer I saw the following
message:
</p>
        <p>
“<i>Application popup: BCMWLTRY.EXE - System Error : The program can't start because
Wlanapi.dll is missing from your computer. Try reinstalling the program to fix this
problem.</i>”
</p>
        <p>
The solution was to add the feature “Wireless LAN Service”
</p>
        <p>
          <a href="http://www.galcho.com/Blog/content/binary/WindowsLiveWriter/HowtoturnWindowsServer2008R2intoworkstat_60F/clip_image003_2.png" rel="lightbox">
            <img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="clip_image003" border="0" alt="clip_image003" src="http://www.galcho.com/Blog/content/binary/WindowsLiveWriter/HowtoturnWindowsServer2008R2intoworkstat_60F/clip_image003_thumb.png" width="277" height="301" />
          </a>
        </p>
        <p>
Just go to “Server Manager”, select Features from the tree on the left and select
“Add Features”
</p>
        <p>
          <a href="http://www.galcho.com/Blog/content/binary/WindowsLiveWriter/HowtoturnWindowsServer2008R2intoworkstat_60F/clip_image004_2.png" rel="lightbox">
            <img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="clip_image004" border="0" alt="clip_image004" src="http://www.galcho.com/Blog/content/binary/WindowsLiveWriter/HowtoturnWindowsServer2008R2intoworkstat_60F/clip_image004_thumb.png" width="454" height="88" />
          </a>
        </p>
        <h4>Enable Aero theme.
</h4>
        <p>
This one was tough as well… I had to do several steps:
</p>
        <ol>
          <li>
Install video driver</li>
          <li>
Add “Desktop experience” feature (together with .NET Framework 3.5.1) 
</li>
          <li>
Start “Theme” Windows service. 
<br /><a href="http://www.galcho.com/Blog/content/binary/WindowsLiveWriter/HowtoturnWindowsServer2008R2intoworkstat_60F/clip_image005_2.png" rel="lightbox"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="clip_image005" border="0" alt="clip_image005" src="http://www.galcho.com/Blog/content/binary/WindowsLiveWriter/HowtoturnWindowsServer2008R2intoworkstat_60F/clip_image005_thumb.png" width="459" height="19" /></a></li>
        </ol>
        <p>
4. Select performance options from System applet in Control Panel 
<br /><a href="http://www.galcho.com/Blog/content/binary/WindowsLiveWriter/HowtoturnWindowsServer2008R2intoworkstat_60F/clip_image007_2.jpg" rel="lightbox"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="clip_image007" border="0" alt="clip_image007" src="http://www.galcho.com/Blog/content/binary/WindowsLiveWriter/HowtoturnWindowsServer2008R2intoworkstat_60F/clip_image007_thumb.jpg" width="461" height="307" /></a></p>
        <p>
5. Select theme from “Personalization” window
</p>
        <p>
          <a href="http://www.galcho.com/Blog/content/binary/WindowsLiveWriter/HowtoturnWindowsServer2008R2intoworkstat_60F/clip_image009_2.jpg" rel="lightbox">
            <img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="clip_image009" border="0" alt="clip_image009" src="http://www.galcho.com/Blog/content/binary/WindowsLiveWriter/HowtoturnWindowsServer2008R2intoworkstat_60F/clip_image009_thumb.jpg" width="468" height="286" />
          </a>
        </p>
        <p>
          <a href="http://www.decisionengine.com/Default.html">Happy binging! :)</a>
        </p>
        <img width="0" height="0" src="http://www.galcho.com/Blog/aggbug.ashx?id=96f475f7-fda8-4bad-b6bc-d0107774e928" />
        <br />
        <hr />
This weblog is using <a href="http://www.codeplex.com/dasBlog">dasBlog</a> hosted
by <a href="http://www.primaconsult.net/">PrimaNet Consult LTD</a>. 
</body>
      <title>How to turn Windows Server 2008 R2 into workstation with Aero</title>
      <guid isPermaLink="false">http://www.galcho.com/Blog/PermaLink.aspx?guid=96f475f7-fda8-4bad-b6bc-d0107774e928</guid>
      <link>http://www.galcho.com/Blog/PermaLink.aspx?guid=96f475f7-fda8-4bad-b6bc-d0107774e928</link>
      <pubDate>Sat, 30 May 2009 07:26:13 GMT</pubDate>
      <description>&lt;h3&gt;After I was using &lt;a href="http://software.intel.com/en-us/blogs/2008/02/12/windows-server-2008-aero-enabled-workstation-edition/"&gt;Windows
Server 2008 as a workstation&lt;/a&gt; for a while I decided to move to R2.
&lt;/h3&gt;
&lt;p&gt;
Having the option to boot form VHD it was a nice idea- I could have as many OS-es
as I want and they fully utilize the hardware. But one question remained: How I can
turn Windows Server 2008 R2 into workstation and having all goodies of workstation
including Aero interface.
&lt;/p&gt;
&lt;p&gt;
The default installation seems to have following notable features:
&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
Only x64 editions&lt;/li&gt;
&lt;li&gt;
Less driver support than Windows 7&lt;/li&gt;
&lt;li&gt;
No audio&lt;/li&gt;
&lt;li&gt;
Wireless disabled by default (after installing the driver)&lt;/li&gt;
&lt;li&gt;
Cannot select Windows 7 theme even after video driver selection.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;
So let’s nail those one by one:
&lt;/p&gt;
&lt;h4&gt;Only x64 editions
&lt;/h4&gt;
&lt;p&gt;
Well… nothing can be done here. Time to move to x64 bit platform. Fortunately my laptop’s
CPU was Intel Core2 Duo and can do it.
&lt;/p&gt;
&lt;h4&gt;Less driver support than Windows 7
&lt;/h4&gt;
&lt;p&gt;
Luckily Windows 7 drivers work – as long as they support x64 bit. I had a hard time
to find some for my Dell machine though… Note: Windows Vista x64 drivers worked for
me as well…
&lt;/p&gt;
&lt;h4&gt;No Audio
&lt;/h4&gt;
&lt;p&gt;
This was easy. The drivers were in place (with installation) and only had to play
with some services: 
&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
Windows Audio&lt;/li&gt;
&lt;li&gt;
Windows Audio Endpoint Builder&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;
&lt;a href="http://www.galcho.com/Blog/content/binary/WindowsLiveWriter/HowtoturnWindowsServer2008R2intoworkstat_60F/clip_image001_2.png" rel="lightbox"&gt;&lt;img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="clip_image001" border="0" alt="clip_image001" src="http://www.galcho.com/Blog/content/binary/WindowsLiveWriter/HowtoturnWindowsServer2008R2intoworkstat_60F/clip_image001_thumb.png" width="568" height="37" /&gt;&lt;/a&gt;
&lt;/p&gt;
&lt;p&gt;
I just started the first one and there was sound J
&lt;/p&gt;
&lt;h4&gt;Wireless disabled by default
&lt;/h4&gt;
&lt;table border="1" cellspacing="0" cellpadding="0"&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td valign="top" width="319"&gt;
&lt;p&gt;
This was tough one (for me). I installed correct drivers. Everything seemed normal
except I couldn’t enable the adapter. It was constantly disabled.
&lt;/p&gt;
&lt;/td&gt;
&lt;td valign="top" width="319"&gt;
&lt;p&gt;
&lt;a href="http://www.galcho.com/Blog/content/binary/WindowsLiveWriter/HowtoturnWindowsServer2008R2intoworkstat_60F/clip_image002_2.png" rel="lightbox"&gt;&lt;img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="clip_image002" border="0" alt="clip_image002" src="http://www.galcho.com/Blog/content/binary/WindowsLiveWriter/HowtoturnWindowsServer2008R2intoworkstat_60F/clip_image002_thumb.png" width="312" height="78" /&gt;&lt;/a&gt;
&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;p&gt;
After every attempt to enable it remained disabled. In Event viewer I saw the following
message:
&lt;/p&gt;
&lt;p&gt;
“&lt;i&gt;Application popup: BCMWLTRY.EXE - System Error : The program can't start because
Wlanapi.dll is missing from your computer. Try reinstalling the program to fix this
problem.&lt;/i&gt;”
&lt;/p&gt;
&lt;p&gt;
The solution was to add the feature “Wireless LAN Service”
&lt;/p&gt;
&lt;p&gt;
&lt;a href="http://www.galcho.com/Blog/content/binary/WindowsLiveWriter/HowtoturnWindowsServer2008R2intoworkstat_60F/clip_image003_2.png" rel="lightbox"&gt;&lt;img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="clip_image003" border="0" alt="clip_image003" src="http://www.galcho.com/Blog/content/binary/WindowsLiveWriter/HowtoturnWindowsServer2008R2intoworkstat_60F/clip_image003_thumb.png" width="277" height="301" /&gt;&lt;/a&gt;
&lt;/p&gt;
&lt;p&gt;
Just go to “Server Manager”, select Features from the tree on the left and select
“Add Features”
&lt;/p&gt;
&lt;p&gt;
&lt;a href="http://www.galcho.com/Blog/content/binary/WindowsLiveWriter/HowtoturnWindowsServer2008R2intoworkstat_60F/clip_image004_2.png" rel="lightbox"&gt;&lt;img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="clip_image004" border="0" alt="clip_image004" src="http://www.galcho.com/Blog/content/binary/WindowsLiveWriter/HowtoturnWindowsServer2008R2intoworkstat_60F/clip_image004_thumb.png" width="454" height="88" /&gt;&lt;/a&gt;
&lt;/p&gt;
&lt;h4&gt;Enable Aero theme.
&lt;/h4&gt;
&lt;p&gt;
This one was tough as well… I had to do several steps:
&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
Install video driver&lt;/li&gt;
&lt;li&gt;
Add “Desktop experience” feature (together with .NET Framework 3.5.1) 
&lt;/li&gt;
&lt;li&gt;
Start “Theme” Windows service. 
&lt;br /&gt;
&lt;a href="http://www.galcho.com/Blog/content/binary/WindowsLiveWriter/HowtoturnWindowsServer2008R2intoworkstat_60F/clip_image005_2.png" rel="lightbox"&gt;&lt;img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="clip_image005" border="0" alt="clip_image005" src="http://www.galcho.com/Blog/content/binary/WindowsLiveWriter/HowtoturnWindowsServer2008R2intoworkstat_60F/clip_image005_thumb.png" width="459" height="19" /&gt;&lt;/a&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;
4. Select performance options from System applet in Control Panel 
&lt;br /&gt;
&lt;a href="http://www.galcho.com/Blog/content/binary/WindowsLiveWriter/HowtoturnWindowsServer2008R2intoworkstat_60F/clip_image007_2.jpg" rel="lightbox"&gt;&lt;img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="clip_image007" border="0" alt="clip_image007" src="http://www.galcho.com/Blog/content/binary/WindowsLiveWriter/HowtoturnWindowsServer2008R2intoworkstat_60F/clip_image007_thumb.jpg" width="461" height="307" /&gt;&lt;/a&gt;
&lt;/p&gt;
&lt;p&gt;
5. Select theme from “Personalization” window
&lt;/p&gt;
&lt;p&gt;
&lt;a href="http://www.galcho.com/Blog/content/binary/WindowsLiveWriter/HowtoturnWindowsServer2008R2intoworkstat_60F/clip_image009_2.jpg" rel="lightbox"&gt;&lt;img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="clip_image009" border="0" alt="clip_image009" src="http://www.galcho.com/Blog/content/binary/WindowsLiveWriter/HowtoturnWindowsServer2008R2intoworkstat_60F/clip_image009_thumb.jpg" width="468" height="286" /&gt;&lt;/a&gt;
&lt;/p&gt;
&lt;p&gt;
&lt;a href="http://www.decisionengine.com/Default.html"&gt;Happy binging! :)&lt;/a&gt;
&lt;/p&gt;
&lt;img width="0" height="0" src="http://www.galcho.com/Blog/aggbug.ashx?id=96f475f7-fda8-4bad-b6bc-d0107774e928" /&gt;
&lt;br /&gt;
&lt;hr /&gt;
This weblog is using &lt;a href="http://www.codeplex.com/dasBlog"&gt;dasBlog&lt;/a&gt; hosted
by &lt;a href="http://www.primaconsult.net/"&gt;PrimaNet Consult LTD&lt;/a&gt;. </description>
      <comments>http://www.galcho.com/Blog/CommentView.aspx?guid=96f475f7-fda8-4bad-b6bc-d0107774e928</comments>
      <category>Window Server System</category>
    </item>
    <item>
      <trackback:ping>http://www.galcho.com/Blog/Trackback.aspx?guid=dd860000-9f60-4f25-87c4-ee1287d8abb2</trackback:ping>
      <pingback:server>http://www.galcho.com/Blog/pingback.aspx</pingback:server>
      <pingback:target>http://www.galcho.com/Blog/PermaLink.aspx?guid=dd860000-9f60-4f25-87c4-ee1287d8abb2</pingback:target>
      <dc:creator>
      </dc:creator>
      <wfw:comment>http://www.galcho.com/Blog/CommentView.aspx?guid=dd860000-9f60-4f25-87c4-ee1287d8abb2</wfw:comment>
      <wfw:commentRss>http://www.galcho.com/Blog/SyndicationService.asmx/GetEntryCommentsRss?guid=dd860000-9f60-4f25-87c4-ee1287d8abb2</wfw:commentRss>
      <slash:comments>1</slash:comments>
      <body xmlns="http://www.w3.org/1999/xhtml">
        <p>
A while ago <a href="http://www.galcho.com/Blog/PermaLink.aspx?guid=a57fe5aa-3897-4ff2-8902-4f311154eea8">I
blogged</a> how to re-enable remote desktops MMC for Windows Vista. This feature has
different names and it was hard to find initially :) In a comment one reader posted
a way to enable it via “Programs and Features” – &gt; “Turn Windows features On and
Off” as suggested to search for “Remote Server Administration Tools"\"Role
Administration Tools".
</p>
        <p>
With Windows 7 it is different.. again. But this time no file copy and DLL register.
First you need to download and install <a href="http://go.microsoft.com/fwlink/?LinkID=137379">Remote
Server Administration Tools for Windows 7</a>.
</p>
        <p>
And then navigate to “Programs and Features” –&gt; “Turn Windows features on and off”:
</p>
        <p>
          <a href="http://www.galcho.com/Blog/content/binary/WindowsLiveWriter/RemoteDesktopsMMCforWindows7_8956/image_2.png" rel="lightbox">
            <img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="image" border="0" alt="image" src="http://www.galcho.com/Blog/content/binary/WindowsLiveWriter/RemoteDesktopsMMCforWindows7_8956/image_thumb.png" width="333" height="443" />
          </a>
        </p>
        <p>
Hope this helps
</p>
        <img width="0" height="0" src="http://www.galcho.com/Blog/aggbug.ashx?id=dd860000-9f60-4f25-87c4-ee1287d8abb2" />
        <br />
        <hr />
This weblog is using <a href="http://www.codeplex.com/dasBlog">dasBlog</a> hosted
by <a href="http://www.primaconsult.net/">PrimaNet Consult LTD</a>. 
</body>
      <title>Remote Desktops MMC for Windows 7</title>
      <guid isPermaLink="false">http://www.galcho.com/Blog/PermaLink.aspx?guid=dd860000-9f60-4f25-87c4-ee1287d8abb2</guid>
      <link>http://www.galcho.com/Blog/PermaLink.aspx?guid=dd860000-9f60-4f25-87c4-ee1287d8abb2</link>
      <pubDate>Thu, 28 May 2009 16:46:16 GMT</pubDate>
      <description>&lt;p&gt;
A while ago &lt;a href="http://www.galcho.com/Blog/PermaLink.aspx?guid=a57fe5aa-3897-4ff2-8902-4f311154eea8"&gt;I
blogged&lt;/a&gt; how to re-enable remote desktops MMC for Windows Vista. This feature has
different names and it was hard to find initially :) In a comment one reader posted
a way to enable it via “Programs and Features” – &amp;gt; “Turn Windows features On and
Off” as suggested to search for “Remote Server Administration Tools&amp;quot;\&amp;quot;Role
Administration Tools&amp;quot;.
&lt;/p&gt;
&lt;p&gt;
With Windows 7 it is different.. again. But this time no file copy and DLL register.
First you need to download and install &lt;a href="http://go.microsoft.com/fwlink/?LinkID=137379"&gt;Remote
Server Administration Tools for Windows 7&lt;/a&gt;.
&lt;/p&gt;
&lt;p&gt;
And then navigate to “Programs and Features” –&amp;gt; “Turn Windows features on and off”:
&lt;/p&gt;
&lt;p&gt;
&lt;a href="http://www.galcho.com/Blog/content/binary/WindowsLiveWriter/RemoteDesktopsMMCforWindows7_8956/image_2.png" rel="lightbox"&gt;&lt;img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="image" border="0" alt="image" src="http://www.galcho.com/Blog/content/binary/WindowsLiveWriter/RemoteDesktopsMMCforWindows7_8956/image_thumb.png" width="333" height="443" /&gt;&lt;/a&gt; 
&lt;/p&gt;
&lt;p&gt;
Hope this helps
&lt;/p&gt;
&lt;img width="0" height="0" src="http://www.galcho.com/Blog/aggbug.ashx?id=dd860000-9f60-4f25-87c4-ee1287d8abb2" /&gt;
&lt;br /&gt;
&lt;hr /&gt;
This weblog is using &lt;a href="http://www.codeplex.com/dasBlog"&gt;dasBlog&lt;/a&gt; hosted
by &lt;a href="http://www.primaconsult.net/"&gt;PrimaNet Consult LTD&lt;/a&gt;. </description>
      <comments>http://www.galcho.com/Blog/CommentView.aspx?guid=dd860000-9f60-4f25-87c4-ee1287d8abb2</comments>
      <category>Window Server System</category>
    </item>
    <item>
      <trackback:ping>http://www.galcho.com/Blog/Trackback.aspx?guid=6f194686-f82a-44f5-8bba-02f8a2d02d1b</trackback:ping>
      <pingback:server>http://www.galcho.com/Blog/pingback.aspx</pingback:server>
      <pingback:target>http://www.galcho.com/Blog/PermaLink.aspx?guid=6f194686-f82a-44f5-8bba-02f8a2d02d1b</pingback:target>
      <dc:creator>
      </dc:creator>
      <wfw:comment>http://www.galcho.com/Blog/CommentView.aspx?guid=6f194686-f82a-44f5-8bba-02f8a2d02d1b</wfw:comment>
      <wfw:commentRss>http://www.galcho.com/Blog/SyndicationService.asmx/GetEntryCommentsRss?guid=6f194686-f82a-44f5-8bba-02f8a2d02d1b</wfw:commentRss>
      <body xmlns="http://www.w3.org/1999/xhtml">
        <p>
Finding the bottleneck isn’t always easy and obvious. Even if it is on the beer bottle
:) 
</p>
        <p>
But finding one in computer systems is tricky. Here are some articles that could help
find and prove the bottleneck:
</p>
        <li>
          <a href="http://computerperformance.co.uk/Memory_Health.htm">Memory</a>
        </li>
        <li>
          <a href="http://computerperformance.co.uk/Processor_Health.htm">Processor</a>
        </li>
        <li>
          <a href="http://computerperformance.co.uk/Disk_Health.htm">Disk </a>
        </li>
        <li>
          <a href="http://computerperformance.co.uk/Network_Health.htm">Network</a>
        </li>
        <li>
          <a href="http://computerperformance.co.uk/ipmonitor_network.htm">Network Monitoring
with ipMonitor</a>
        </li>
        <li>
          <a href="http://computerperformance.co.uk/netflow_monitoring.htm">NetFlow Network
Monitoring</a>
        </li>
        <li>
          <a href="http://computerperformance.co.uk/Longhorn/windows_network_monitor.htm">Windows
Network Monitor</a>
        </li>
        <li>
          <a href="http://computerperformance.co.uk/real_time_netflow_analyzer.htm">Free NetFlow
Traffic Analyzer</a>
        </li>
        <li>
          <a href="http://computerperformance.co.uk/kiwi_syslog_server.htm">Free Kiwi Syslog
Analyzer</a>
        </li>
        <img width="0" height="0" src="http://www.galcho.com/Blog/aggbug.ashx?id=6f194686-f82a-44f5-8bba-02f8a2d02d1b" />
        <br />
        <hr />
This weblog is using <a href="http://www.codeplex.com/dasBlog">dasBlog</a> hosted
by <a href="http://www.primaconsult.net/">PrimaNet Consult LTD</a>. 
</body>
      <title>Find the bottleneck</title>
      <guid isPermaLink="false">http://www.galcho.com/Blog/PermaLink.aspx?guid=6f194686-f82a-44f5-8bba-02f8a2d02d1b</guid>
      <link>http://www.galcho.com/Blog/PermaLink.aspx?guid=6f194686-f82a-44f5-8bba-02f8a2d02d1b</link>
      <pubDate>Mon, 18 May 2009 20:01:08 GMT</pubDate>
      <description>&lt;p&gt;
Finding the bottleneck isn’t always easy and obvious. Even if it is on the beer bottle
:) 
&lt;/p&gt;
&lt;p&gt;
But finding one in computer systems is tricky. Here are some articles that could help
find and prove the bottleneck:
&lt;/p&gt;
&lt;li&gt;
&lt;a href="http://computerperformance.co.uk/Memory_Health.htm"&gt;Memory&lt;/a&gt; 
&lt;li&gt;
&lt;a href="http://computerperformance.co.uk/Processor_Health.htm"&gt;Processor&lt;/a&gt; 
&lt;li&gt;
&lt;a href="http://computerperformance.co.uk/Disk_Health.htm"&gt;Disk &lt;/a&gt; 
&lt;li&gt;
&lt;a href="http://computerperformance.co.uk/Network_Health.htm"&gt;Network&lt;/a&gt; 
&lt;li&gt;
&lt;a href="http://computerperformance.co.uk/ipmonitor_network.htm"&gt;Network Monitoring
with ipMonitor&lt;/a&gt; 
&lt;li&gt;
&lt;a href="http://computerperformance.co.uk/netflow_monitoring.htm"&gt;NetFlow Network
Monitoring&lt;/a&gt; 
&lt;li&gt;
&lt;a href="http://computerperformance.co.uk/Longhorn/windows_network_monitor.htm"&gt;Windows
Network Monitor&lt;/a&gt; 
&lt;li&gt;
&lt;a href="http://computerperformance.co.uk/real_time_netflow_analyzer.htm"&gt;Free NetFlow
Traffic Analyzer&lt;/a&gt; 
&lt;li&gt;
&lt;a href="http://computerperformance.co.uk/kiwi_syslog_server.htm"&gt;Free Kiwi Syslog
Analyzer&lt;/a&gt;
&lt;/li&gt;&lt;img width="0" height="0" src="http://www.galcho.com/Blog/aggbug.ashx?id=6f194686-f82a-44f5-8bba-02f8a2d02d1b" /&gt;
&lt;br /&gt;
&lt;hr /&gt;
This weblog is using &lt;a href="http://www.codeplex.com/dasBlog"&gt;dasBlog&lt;/a&gt; hosted
by &lt;a href="http://www.primaconsult.net/"&gt;PrimaNet Consult LTD&lt;/a&gt;. </description>
      <comments>http://www.galcho.com/Blog/CommentView.aspx?guid=6f194686-f82a-44f5-8bba-02f8a2d02d1b</comments>
      <category>Window Server System</category>
    </item>
    <item>
      <trackback:ping>http://www.galcho.com/Blog/Trackback.aspx?guid=520c49b2-b074-4c10-bf2c-edf5547aaade</trackback:ping>
      <pingback:server>http://www.galcho.com/Blog/pingback.aspx</pingback:server>
      <pingback:target>http://www.galcho.com/Blog/PermaLink.aspx?guid=520c49b2-b074-4c10-bf2c-edf5547aaade</pingback:target>
      <dc:creator>
      </dc:creator>
      <wfw:comment>http://www.galcho.com/Blog/CommentView.aspx?guid=520c49b2-b074-4c10-bf2c-edf5547aaade</wfw:comment>
      <wfw:commentRss>http://www.galcho.com/Blog/SyndicationService.asmx/GetEntryCommentsRss?guid=520c49b2-b074-4c10-bf2c-edf5547aaade</wfw:commentRss>
      <body xmlns="http://www.w3.org/1999/xhtml">
        <p>
What a great improvement :). Now I can freely explore different messy things without
having to wait whole night to reboot the virtual machine :)
</p>
        <blockquote>
          <p>
            <em>In Windows® 7, a virtual hard disk can be used as the running operating system
on designated hardware without any other parent operating system, virtual machine,
or hypervisor. Windows 7 disk-management tools, the DiskPart tool and the Disk Management
Microsoft® Management Console (Diskmgmt.msc), can be used to create a VHD file. A
Windows 7 image (.wim) file can be deployed to the VHD and the .vhd file can be copied
to multiple systems. The Windows 7 boot manager can be configured to boot directly
into the VHD.</em>
          </p>
          <p>
            <em>The .vhd file can also be connected to a virtual machine for use with the Hyper-V
Role in Windows Server® 2008 R2.</em>
          </p>
        </blockquote>
        <p>
Here are some interesting articles that could help you to do the trick: 
</p>
        <ul>
          <li>
            <a href="http://technet.microsoft.com/en-us/library/dd799282(WS.10).aspx" target="_blank">Understanding
Virtual Hard Disks with Native Boot</a>
          </li>
          <li>
            <a href="http://technet.microsoft.com/en-us/library/dd744338(WS.10).aspx" target="_blank">Walkthrough:
Deploy a Virtual Hard Disk for Native Boot</a>  
</li>
          <li>
            <a href="http://technet.microsoft.com/en-us/library/dd799299(WS.10).aspx" target="_blank">Add
a Native-Boot Virtual Hard Disk to the Boot Menu</a>
          </li>
        </ul>
        <p>
You need to prepare the Virtual OS for the change in hardware from a virtual to a
physical environment using the following Sysprep command: 
<br />
c:\windows\system32\sysprep\sysprep.exe /generalize /oobe /shutdown 
</p>
        <img width="0" height="0" src="http://www.galcho.com/Blog/aggbug.ashx?id=520c49b2-b074-4c10-bf2c-edf5547aaade" />
        <br />
        <hr />
This weblog is using <a href="http://www.codeplex.com/dasBlog">dasBlog</a> hosted
by <a href="http://www.primaconsult.net/">PrimaNet Consult LTD</a>. 
</body>
      <title>Boot from Virtual Hard Drive (VHD)</title>
      <guid isPermaLink="false">http://www.galcho.com/Blog/PermaLink.aspx?guid=520c49b2-b074-4c10-bf2c-edf5547aaade</guid>
      <link>http://www.galcho.com/Blog/PermaLink.aspx?guid=520c49b2-b074-4c10-bf2c-edf5547aaade</link>
      <pubDate>Wed, 13 May 2009 23:24:32 GMT</pubDate>
      <description>&lt;p&gt;
What a great improvement :). Now I can freely explore different messy things without
having to wait whole night to reboot the virtual machine :)
&lt;/p&gt;
&lt;blockquote&gt; 
&lt;p&gt;
&lt;em&gt;In Windows® 7, a virtual hard disk can be used as the running operating system
on designated hardware without any other parent operating system, virtual machine,
or hypervisor. Windows 7 disk-management tools, the DiskPart tool and the Disk Management
Microsoft® Management Console (Diskmgmt.msc), can be used to create a VHD file. A
Windows 7 image (.wim) file can be deployed to the VHD and the .vhd file can be copied
to multiple systems. The Windows 7 boot manager can be configured to boot directly
into the VHD.&lt;/em&gt; 
&lt;p&gt;
&lt;em&gt;The .vhd file can also be connected to a virtual machine for use with the Hyper-V
Role in Windows Server® 2008 R2.&lt;/em&gt;
&lt;/p&gt;
&lt;/blockquote&gt; 
&lt;p&gt;
Here are some interesting articles that could help you to do the trick: 
&lt;ul&gt;
&lt;li&gt;
&lt;a href="http://technet.microsoft.com/en-us/library/dd799282(WS.10).aspx" target="_blank"&gt;Understanding
Virtual Hard Disks with Native Boot&lt;/a&gt; 
&lt;/li&gt;
&lt;li&gt;
&lt;a href="http://technet.microsoft.com/en-us/library/dd744338(WS.10).aspx" target="_blank"&gt;Walkthrough:
Deploy a Virtual Hard Disk for Native Boot&lt;/a&gt;&amp;nbsp; 
&lt;/li&gt;
&lt;li&gt;
&lt;a href="http://technet.microsoft.com/en-us/library/dd799299(WS.10).aspx" target="_blank"&gt;Add
a Native-Boot Virtual Hard Disk to the Boot Menu&lt;/a&gt; 
&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;
You need to prepare the Virtual OS for the change in hardware from a virtual to a
physical environment using the following Sysprep command: 
&lt;br&gt;
c:\windows\system32\sysprep\sysprep.exe /generalize /oobe /shutdown 
&lt;/p&gt;
&lt;img width="0" height="0" src="http://www.galcho.com/Blog/aggbug.ashx?id=520c49b2-b074-4c10-bf2c-edf5547aaade" /&gt;
&lt;br /&gt;
&lt;hr /&gt;
This weblog is using &lt;a href="http://www.codeplex.com/dasBlog"&gt;dasBlog&lt;/a&gt; hosted
by &lt;a href="http://www.primaconsult.net/"&gt;PrimaNet Consult LTD&lt;/a&gt;. </description>
      <comments>http://www.galcho.com/Blog/CommentView.aspx?guid=520c49b2-b074-4c10-bf2c-edf5547aaade</comments>
      <category>Window Server System</category>
    </item>
    <item>
      <trackback:ping>http://www.galcho.com/Blog/Trackback.aspx?guid=6cde73a5-cebe-4594-b973-6e7eb174c89b</trackback:ping>
      <pingback:server>http://www.galcho.com/Blog/pingback.aspx</pingback:server>
      <pingback:target>http://www.galcho.com/Blog/PermaLink.aspx?guid=6cde73a5-cebe-4594-b973-6e7eb174c89b</pingback:target>
      <dc:creator>
      </dc:creator>
      <wfw:comment>http://www.galcho.com/Blog/CommentView.aspx?guid=6cde73a5-cebe-4594-b973-6e7eb174c89b</wfw:comment>
      <wfw:commentRss>http://www.galcho.com/Blog/SyndicationService.asmx/GetEntryCommentsRss?guid=6cde73a5-cebe-4594-b973-6e7eb174c89b</wfw:commentRss>
      <body xmlns="http://www.w3.org/1999/xhtml">
        <table border="0" cellspacing="0" cellpadding="2" width="100%">
          <tbody>
            <tr>
              <td style="background-color: white" valign="top">
                <img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="logo-header-sc-operationsmanager-dg" border="0" alt="logo-header-sc-operationsmanager-dg" src="http://www.galcho.com/Blog/content/binary/WindowsLiveWriter/MSOperationsManageronWindowsServer2008_DA2A/logo-header-sc-operationsmanager-dg_thumb.gif" width="240" height="69" />
              </td>
              <td style="padding-left: 10px" valign="top">
Today I’ve installed <a href="http://www.microsoft.com/systemcenter/operationsmanager/en/us/default.aspx" target="_blank">System
Center Operations Manager 2007</a> and run into an issue with WebConsole. When started
it gave me error 402. Access Denied – the yellow screen of death for ASP.NET applications.
Luckily it was very easy to fix – with a single option change in IIS Manager:</td>
            </tr>
          </tbody>
        </table>
        <p>
          <strong>
            <u>Just Windows Authentication should be enabled.</u>
          </strong>
        </p>
        <p>
          <a href="http://www.galcho.com/Blog/content/binary/WindowsLiveWriter/MSOperationsManageronWindowsServer2008_DA2A/image_2.png" rel="lightbox">
            <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="http://www.galcho.com/Blog/content/binary/WindowsLiveWriter/MSOperationsManageronWindowsServer2008_DA2A/image_thumb.png" width="638" height="239" />
          </a>
        </p>
        <p>
 
</p>
        <table border="0" cellspacing="0" cellpadding="2" width="100%">
          <tbody>
            <tr>
              <td>
                <a href="http://www.galcho.com/Blog/content/binary/WindowsLiveWriter/MSOperationsManageronWindowsServer2008_DA2A/image_4.png" rel="lightbox">
                  <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="http://www.galcho.com/Blog/content/binary/WindowsLiveWriter/MSOperationsManageronWindowsServer2008_DA2A/image_thumb_1.png" width="195" height="80" />
                </a>
              </td>
              <td>
Note: In order to install Operations Manager 2007 WebConsole and pass prerequisites
check IIS 6 Management compatibility should be installed:</td>
            </tr>
          </tbody>
        </table>
        <p>
Hope this helps
</p>
        <img width="0" height="0" src="http://www.galcho.com/Blog/aggbug.ashx?id=6cde73a5-cebe-4594-b973-6e7eb174c89b" />
        <br />
        <hr />
This weblog is using <a href="http://www.codeplex.com/dasBlog">dasBlog</a> hosted
by <a href="http://www.primaconsult.net/">PrimaNet Consult LTD</a>. 
</body>
      <title>MS Operations Manager on Windows Server 2008</title>
      <guid isPermaLink="false">http://www.galcho.com/Blog/PermaLink.aspx?guid=6cde73a5-cebe-4594-b973-6e7eb174c89b</guid>
      <link>http://www.galcho.com/Blog/PermaLink.aspx?guid=6cde73a5-cebe-4594-b973-6e7eb174c89b</link>
      <pubDate>Wed, 29 Apr 2009 22:31:06 GMT</pubDate>
      <description>&lt;table border="0" cellspacing="0" cellpadding="2" width="100%"&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td style="background-color: white" valign="top"&gt;
&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="logo-header-sc-operationsmanager-dg" border="0" alt="logo-header-sc-operationsmanager-dg" src="http://www.galcho.com/Blog/content/binary/WindowsLiveWriter/MSOperationsManageronWindowsServer2008_DA2A/logo-header-sc-operationsmanager-dg_thumb.gif" width="240" height="69"&gt;&lt;/td&gt;
&lt;td style="padding-left: 10px" valign="top"&gt;
Today I’ve installed &lt;a href="http://www.microsoft.com/systemcenter/operationsmanager/en/us/default.aspx" target="_blank"&gt;System
Center Operations Manager 2007&lt;/a&gt; and run into an issue with WebConsole. When started
it gave me error 402. Access Denied – the yellow screen of death for ASP.NET applications.
Luckily it was very easy to fix – with a single option change in IIS Manager:&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;p&gt;
&lt;strong&gt;&lt;u&gt;Just Windows Authentication should be enabled.&lt;/u&gt;&lt;/strong&gt; 
&lt;/p&gt;
&lt;p&gt;
&lt;a href="http://www.galcho.com/Blog/content/binary/WindowsLiveWriter/MSOperationsManageronWindowsServer2008_DA2A/image_2.png" rel="lightbox"&gt;&lt;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="http://www.galcho.com/Blog/content/binary/WindowsLiveWriter/MSOperationsManageronWindowsServer2008_DA2A/image_thumb.png" width="638" height="239"&gt;&lt;/a&gt; 
&lt;/p&gt;
&lt;p&gt;
&amp;nbsp;
&lt;/p&gt;
&lt;table border="0" cellspacing="0" cellpadding="2" width="100%"&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;a href="http://www.galcho.com/Blog/content/binary/WindowsLiveWriter/MSOperationsManageronWindowsServer2008_DA2A/image_4.png" rel="lightbox"&gt;&lt;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="http://www.galcho.com/Blog/content/binary/WindowsLiveWriter/MSOperationsManageronWindowsServer2008_DA2A/image_thumb_1.png" width="195" height="80"&gt;&lt;/a&gt;&lt;/td&gt;
&lt;td&gt;
Note: In order to install Operations Manager 2007 WebConsole and pass prerequisites
check IIS 6 Management compatibility should be installed:&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;p&gt;
Hope this helps
&lt;/p&gt;
&lt;img width="0" height="0" src="http://www.galcho.com/Blog/aggbug.ashx?id=6cde73a5-cebe-4594-b973-6e7eb174c89b" /&gt;
&lt;br /&gt;
&lt;hr /&gt;
This weblog is using &lt;a href="http://www.codeplex.com/dasBlog"&gt;dasBlog&lt;/a&gt; hosted
by &lt;a href="http://www.primaconsult.net/"&gt;PrimaNet Consult LTD&lt;/a&gt;. </description>
      <comments>http://www.galcho.com/Blog/CommentView.aspx?guid=6cde73a5-cebe-4594-b973-6e7eb174c89b</comments>
      <category>Window Server System</category>
    </item>
    <item>
      <trackback:ping>http://www.galcho.com/Blog/Trackback.aspx?guid=e96951e7-b8c4-46a1-a954-389d5c8fc6d7</trackback:ping>
      <pingback:server>http://www.galcho.com/Blog/pingback.aspx</pingback:server>
      <pingback:target>http://www.galcho.com/Blog/PermaLink.aspx?guid=e96951e7-b8c4-46a1-a954-389d5c8fc6d7</pingback:target>
      <dc:creator>
      </dc:creator>
      <wfw:comment>http://www.galcho.com/Blog/CommentView.aspx?guid=e96951e7-b8c4-46a1-a954-389d5c8fc6d7</wfw:comment>
      <wfw:commentRss>http://www.galcho.com/Blog/SyndicationService.asmx/GetEntryCommentsRss?guid=e96951e7-b8c4-46a1-a954-389d5c8fc6d7</wfw:commentRss>
      <body xmlns="http://www.w3.org/1999/xhtml">
        <table border="0" cellspacing="0" cellpadding="2" width="100%">
          <tbody>
            <tr>
              <td valign="top">
                <p>
                  <a href="http://technet.microsoft.com/en-us/library/dd391932.aspx" target="_blank">TechNet</a> has
a list of changes that will be released in Windows Server 2008 R2:
</p>
              </td>
            </tr>
            <li>
              <a href="http://technet.microsoft.com/78a0c97e-46a5-4818-91c6-0aea033121a0">What's
New in Active Directory Certificate Services</a>
            </li>
            <li>
              <a href="http://technet.microsoft.com/7aa96458-85f9-4805-8cf1-1c6dccde4295">What's
New in Active Directory Domain Services</a>
            </li>
            <li>
              <a href="http://technet.microsoft.com/d99f4bce-9394-4598-9a4b-f94092e0db6c">What's
New in AppLocker</a>
            </li>
            <li>
              <a href="http://technet.microsoft.com/8bd4027a-b461-4262-aec5-a67969cf449f">What's
New in Biometrics</a>
            </li>
            <li>
              <a href="http://technet.microsoft.com/e5058542-adca-4b5c-92af-2959521689ce">What's
New in DNS</a>
            </li>
            <li>
              <a href="http://technet.microsoft.com/bf1054af-e2ee-4897-a8ea-c3d9e6e0d06c">What's
New in Failover Clusters</a>
            </li>
            <li>
              <a href="http://technet.microsoft.com/15f2fe1a-70fc-4ce8-a929-d3cc5783df02">What's
New in Group Policy</a>
            </li>
            <li>
              <a href="http://technet.microsoft.com/02ea53a2-e75d-4363-962f-374b3876651e">What's
New in Hyper-V</a>
            </li>
            <li>
              <a href="http://technet.microsoft.com/992ad5cf-a971-40ca-905a-54615e43ba59">What's
New in Network Access Protection</a>
            </li>
            <li>
              <a href="http://technet.microsoft.com/3dbb719f-0446-4b50-861c-6e52e985e5c8">What's
New in Network Policy Server (NPS)</a>
            </li>
            <li>
              <a href="http://technet.microsoft.com/133ffab6-92c1-4424-845d-5b91bb703c87">What's
New in Networking</a>
            </li>
            <li>
              <a href="http://technet.microsoft.com/a2683a2e-31f2-4a66-8bb6-b3081a7b0862">What's
New in Remote Desktop Services</a>
            </li>
            <li>
              <a href="http://technet.microsoft.com/c47136cb-cffd-42e0-910a-becbbd8c48b4">What's
New in Server Manager</a>
            </li>
            <li>
              <a href="http://technet.microsoft.com/fb1d3a68-7c47-4eff-bda1-a88789deb004">What's
New in Service Accounts</a>
            </li>
            <li>
              <a href="http://technet.microsoft.com/bb9eeb85-8f81-436c-bf76-4869dc87e27b">What's
New in Smart Cards</a>
            </li>
            <li>
              <a href="http://technet.microsoft.com/95eeb6ff-6c74-4f3a-b216-132010386d01">What's
New in User Account Control</a>
            </li>
            <li>
              <a href="http://technet.microsoft.com/0020bc89-9157-41c9-8c8c-1058b94a0b4f">What's
New in the Web Server (IIS) Role</a>
            </li>
            <li>
              <a href="http://technet.microsoft.com/705a53f5-924b-48a9-8913-e803fea8eb57">What's
New in Windows PowerShell</a>
            </li>
            <li>
              <a href="http://technet.microsoft.com/a568634c-d9c1-4384-a3c7-24dee8dde6e0">What's
New in Windows PowerShell Cmdlets for Roles and Features</a>
            </li>
            <li>
              <a href="http://technet.microsoft.com/f557576f-c47b-4114-aa30-ab36795bc5e1">What's
New in Windows Search, Browse, and Organization</a>
            </li>
            <li>
              <a href="http://technet.microsoft.com/1bfe956b-157f-4e18-9e15-64763d6df29f">What's
New in Windows Security Auditing</a>
            </li>
            <td valign="top" width="100">
              <img src="http://i.microsoft.com/global/windowsserver2008/en/us/PublishingImages/logo-ms-ws08-v.png" />
            </td>
          </tbody>
        </table>
        <img width="0" height="0" src="http://www.galcho.com/Blog/aggbug.ashx?id=e96951e7-b8c4-46a1-a954-389d5c8fc6d7" />
        <br />
        <hr />
This weblog is using <a href="http://www.codeplex.com/dasBlog">dasBlog</a> hosted
by <a href="http://www.primaconsult.net/">PrimaNet Consult LTD</a>. 
</body>
      <title>What’s changed in Windows Server 2008 R2</title>
      <guid isPermaLink="false">http://www.galcho.com/Blog/PermaLink.aspx?guid=e96951e7-b8c4-46a1-a954-389d5c8fc6d7</guid>
      <link>http://www.galcho.com/Blog/PermaLink.aspx?guid=e96951e7-b8c4-46a1-a954-389d5c8fc6d7</link>
      <pubDate>Mon, 13 Apr 2009 22:43:31 GMT</pubDate>
      <description>&lt;table border="0" cellspacing="0" cellpadding="2" width="100%"&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td valign="top"&gt;
&lt;p&gt;
&lt;a href="http://technet.microsoft.com/en-us/library/dd391932.aspx" target="_blank"&gt;TechNet&lt;/a&gt; has
a list of changes that will be released in Windows Server 2008 R2:
&lt;/p&gt;
&lt;li&gt;
&lt;a href="http://technet.microsoft.com/78a0c97e-46a5-4818-91c6-0aea033121a0"&gt;What's
New in Active Directory Certificate Services&lt;/a&gt; 
&lt;li&gt;
&lt;a href="http://technet.microsoft.com/7aa96458-85f9-4805-8cf1-1c6dccde4295"&gt;What's
New in Active Directory Domain Services&lt;/a&gt; 
&lt;li&gt;
&lt;a href="http://technet.microsoft.com/d99f4bce-9394-4598-9a4b-f94092e0db6c"&gt;What's
New in AppLocker&lt;/a&gt; 
&lt;li&gt;
&lt;a href="http://technet.microsoft.com/8bd4027a-b461-4262-aec5-a67969cf449f"&gt;What's
New in Biometrics&lt;/a&gt; 
&lt;li&gt;
&lt;a href="http://technet.microsoft.com/e5058542-adca-4b5c-92af-2959521689ce"&gt;What's
New in DNS&lt;/a&gt; 
&lt;li&gt;
&lt;a href="http://technet.microsoft.com/bf1054af-e2ee-4897-a8ea-c3d9e6e0d06c"&gt;What's
New in Failover Clusters&lt;/a&gt; 
&lt;li&gt;
&lt;a href="http://technet.microsoft.com/15f2fe1a-70fc-4ce8-a929-d3cc5783df02"&gt;What's
New in Group Policy&lt;/a&gt; 
&lt;li&gt;
&lt;a href="http://technet.microsoft.com/02ea53a2-e75d-4363-962f-374b3876651e"&gt;What's
New in Hyper-V&lt;/a&gt; 
&lt;li&gt;
&lt;a href="http://technet.microsoft.com/992ad5cf-a971-40ca-905a-54615e43ba59"&gt;What's
New in Network Access Protection&lt;/a&gt; 
&lt;li&gt;
&lt;a href="http://technet.microsoft.com/3dbb719f-0446-4b50-861c-6e52e985e5c8"&gt;What's
New in Network Policy Server (NPS)&lt;/a&gt; 
&lt;li&gt;
&lt;a href="http://technet.microsoft.com/133ffab6-92c1-4424-845d-5b91bb703c87"&gt;What's
New in Networking&lt;/a&gt; 
&lt;li&gt;
&lt;a href="http://technet.microsoft.com/a2683a2e-31f2-4a66-8bb6-b3081a7b0862"&gt;What's
New in Remote Desktop Services&lt;/a&gt; 
&lt;li&gt;
&lt;a href="http://technet.microsoft.com/c47136cb-cffd-42e0-910a-becbbd8c48b4"&gt;What's
New in Server Manager&lt;/a&gt; 
&lt;li&gt;
&lt;a href="http://technet.microsoft.com/fb1d3a68-7c47-4eff-bda1-a88789deb004"&gt;What's
New in Service Accounts&lt;/a&gt; 
&lt;li&gt;
&lt;a href="http://technet.microsoft.com/bb9eeb85-8f81-436c-bf76-4869dc87e27b"&gt;What's
New in Smart Cards&lt;/a&gt; 
&lt;li&gt;
&lt;a href="http://technet.microsoft.com/95eeb6ff-6c74-4f3a-b216-132010386d01"&gt;What's
New in User Account Control&lt;/a&gt; 
&lt;li&gt;
&lt;a href="http://technet.microsoft.com/0020bc89-9157-41c9-8c8c-1058b94a0b4f"&gt;What's
New in the Web Server (IIS) Role&lt;/a&gt; 
&lt;li&gt;
&lt;a href="http://technet.microsoft.com/705a53f5-924b-48a9-8913-e803fea8eb57"&gt;What's
New in Windows PowerShell&lt;/a&gt; 
&lt;li&gt;
&lt;a href="http://technet.microsoft.com/a568634c-d9c1-4384-a3c7-24dee8dde6e0"&gt;What's
New in Windows PowerShell Cmdlets for Roles and Features&lt;/a&gt; 
&lt;li&gt;
&lt;a href="http://technet.microsoft.com/f557576f-c47b-4114-aa30-ab36795bc5e1"&gt;What's
New in Windows Search, Browse, and Organization&lt;/a&gt; 
&lt;li&gt;
&lt;a href="http://technet.microsoft.com/1bfe956b-157f-4e18-9e15-64763d6df29f"&gt;What's
New in Windows Security Auditing&lt;/a&gt; 
&lt;/li&gt;
&gt;
&lt;td valign="top" width="100"&gt;
&lt;img src="http://i.microsoft.com/global/windowsserver2008/en/us/PublishingImages/logo-ms-ws08-v.png"&gt; 
&lt;/td&gt;
&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;img width="0" height="0" src="http://www.galcho.com/Blog/aggbug.ashx?id=e96951e7-b8c4-46a1-a954-389d5c8fc6d7" /&gt;
&lt;br /&gt;
&lt;hr /&gt;
This weblog is using &lt;a href="http://www.codeplex.com/dasBlog"&gt;dasBlog&lt;/a&gt; hosted
by &lt;a href="http://www.primaconsult.net/"&gt;PrimaNet Consult LTD&lt;/a&gt;. </description>
      <comments>http://www.galcho.com/Blog/CommentView.aspx?guid=e96951e7-b8c4-46a1-a954-389d5c8fc6d7</comments>
      <category>Window Server System</category>
    </item>
    <item>
      <trackback:ping>http://www.galcho.com/Blog/Trackback.aspx?guid=efddcf84-91d9-4e48-9b3b-ff297a91c88c</trackback:ping>
      <pingback:server>http://www.galcho.com/Blog/pingback.aspx</pingback:server>
      <pingback:target>http://www.galcho.com/Blog/PermaLink.aspx?guid=efddcf84-91d9-4e48-9b3b-ff297a91c88c</pingback:target>
      <dc:creator>
      </dc:creator>
      <wfw:comment>http://www.galcho.com/Blog/CommentView.aspx?guid=efddcf84-91d9-4e48-9b3b-ff297a91c88c</wfw:comment>
      <wfw:commentRss>http://www.galcho.com/Blog/SyndicationService.asmx/GetEntryCommentsRss?guid=efddcf84-91d9-4e48-9b3b-ff297a91c88c</wfw:commentRss>
      <slash:comments>3</slash:comments>
      <body xmlns="http://www.w3.org/1999/xhtml">
        <style type="text/css">.csharpcode, .csharpcode pre
{
	font-size: small;
	color: black;
	font-family: consolas, "Courier New", courier, monospace;
	background-color: #ffffff;
	/*white-space: pre;*/
}
.csharpcode pre { margin: 0em; }
.csharpcode .rem { color: #008000; }
.csharpcode .kwrd { color: #0000ff; }
.csharpcode .str { color: #006080; }
.csharpcode .op { color: #0000c0; }
.csharpcode .preproc { color: #cc6633; }
.csharpcode .asp { background-color: #ffff00; }
.csharpcode .html { color: #800000; }
.csharpcode .attr { color: #ff0000; }
.csharpcode .alt 
{
	background-color: #f4f4f4;
	width: 100%;
	margin: 0em;
}
.csharpcode .lnum { color: #606060; }
</style>
        <p>
Today I tried to to RDC(Remote Desktop Connection) to a remote computer (of course)
and I got a nasty error basically saying that I need to restart the machine in order
to connect to it :) So I searched the web for a bit, connected to another computer
in same LAN, shot the command and waited for about 5 minutes and… voila. I was able
to connect.
</p>
        <p>
So what is the command?! <a href="http://support.microsoft.com/kb/317371" target="_blank">shutdown</a>,
of course :)
</p>
        <pre class="csharpcode">shutdown -m //computername -r -f<br />
-s shutdown<br />
-r restart<br />
-f force close any applications<br />
//computername or ip</pre>
        <br />
        <table border="0" cellspacing="0" cellpadding="0" width="100%">
          <tbody>
            <tr>
              <td valign="top" width="80%">
Or just run <pre class="csharpcode">shutdown /i</pre>and the UI on the right will
appear to make you feel more 
<p>
For more information see <a href="http://support.microsoft.com/kb/317371" target="_blank">Microsoft
Knowledge Base Article: How To Use the Remote Shutdown Tool to Shut Down and Restart
a Computer in Windows 2000</a>.
</p><p>
P.S. The target machine was Windows Server 2008 so this one still works :)
</p>
comfortable.</td>
              <td valign="top" width="10" align="right">
                <a href="http://www.galcho.com/Blog/content/binary/WindowsLiveWriter/RebootPCfromnetwork_148A5/image_2.png" rel="lightbox">
                  <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="http://www.galcho.com/Blog/content/binary/WindowsLiveWriter/RebootPCfromnetwork_148A5/image_thumb.png" width="235" height="263" />
                </a>
              </td>
            </tr>
          </tbody>
        </table>
        <img width="0" height="0" src="http://www.galcho.com/Blog/aggbug.ashx?id=efddcf84-91d9-4e48-9b3b-ff297a91c88c" />
        <br />
        <hr />
This weblog is using <a href="http://www.codeplex.com/dasBlog">dasBlog</a> hosted
by <a href="http://www.primaconsult.net/">PrimaNet Consult LTD</a>. 
</body>
      <title>Reboot PC from network</title>
      <guid isPermaLink="false">http://www.galcho.com/Blog/PermaLink.aspx?guid=efddcf84-91d9-4e48-9b3b-ff297a91c88c</guid>
      <link>http://www.galcho.com/Blog/PermaLink.aspx?guid=efddcf84-91d9-4e48-9b3b-ff297a91c88c</link>
      <pubDate>Fri, 27 Mar 2009 06:19:38 GMT</pubDate>
      <description> &lt;style type="text/css"&gt;.csharpcode, .csharpcode pre
{
	font-size: small;
	color: black;
	font-family: consolas, "Courier New", courier, monospace;
	background-color: #ffffff;
	/*white-space: pre;*/
}
.csharpcode pre { margin: 0em; }
.csharpcode .rem { color: #008000; }
.csharpcode .kwrd { color: #0000ff; }
.csharpcode .str { color: #006080; }
.csharpcode .op { color: #0000c0; }
.csharpcode .preproc { color: #cc6633; }
.csharpcode .asp { background-color: #ffff00; }
.csharpcode .html { color: #800000; }
.csharpcode .attr { color: #ff0000; }
.csharpcode .alt 
{
	background-color: #f4f4f4;
	width: 100%;
	margin: 0em;
}
.csharpcode .lnum { color: #606060; }
&lt;/style&gt;
&lt;p&gt;
Today I tried to to RDC(Remote Desktop Connection) to a remote computer (of course)
and I got a nasty error basically saying that I need to restart the machine in order
to connect to it :) So I searched the web for a bit, connected to another computer
in same LAN, shot the command and waited for about 5 minutes and… voila. I was able
to connect.
&lt;/p&gt;
&lt;p&gt;
So what is the command?! &lt;a href="http://support.microsoft.com/kb/317371" target="_blank"&gt;shutdown&lt;/a&gt;,
of course :)
&lt;/p&gt;
&lt;pre class="csharpcode"&gt;shutdown -m //computername -r -f&lt;br&gt;
-s shutdown&lt;br&gt;
-r restart&lt;br&gt;
-f force close any applications&lt;br&gt;
//computername or ip&lt;/pre&gt;
&lt;br&gt;
&lt;table border="0" cellspacing="0" cellpadding="0" width="100%"&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td valign="top" width="80%"&gt;
Or just run &lt;pre class="csharpcode"&gt;shutdown /i&lt;/pre&gt;and the UI on the right will
appear to make you feel more 
&lt;p&gt;
For more information see &lt;a href="http://support.microsoft.com/kb/317371" target="_blank"&gt;Microsoft
Knowledge Base Article: How To Use the Remote Shutdown Tool to Shut Down and Restart
a Computer in Windows 2000&lt;/a&gt;.
&lt;/p&gt;
&lt;p&gt;
P.S. The target machine was Windows Server 2008 so this one still works :)
&lt;/p&gt;
comfortable.&lt;/td&gt;
&lt;td valign="top" width="10" align="right"&gt;
&lt;a href="http://www.galcho.com/Blog/content/binary/WindowsLiveWriter/RebootPCfromnetwork_148A5/image_2.png" rel="lightbox"&gt;&lt;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="http://www.galcho.com/Blog/content/binary/WindowsLiveWriter/RebootPCfromnetwork_148A5/image_thumb.png" width="235" height="263"&gt;&lt;/a&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;img width="0" height="0" src="http://www.galcho.com/Blog/aggbug.ashx?id=efddcf84-91d9-4e48-9b3b-ff297a91c88c" /&gt;
&lt;br /&gt;
&lt;hr /&gt;
This weblog is using &lt;a href="http://www.codeplex.com/dasBlog"&gt;dasBlog&lt;/a&gt; hosted
by &lt;a href="http://www.primaconsult.net/"&gt;PrimaNet Consult LTD&lt;/a&gt;. </description>
      <comments>http://www.galcho.com/Blog/CommentView.aspx?guid=efddcf84-91d9-4e48-9b3b-ff297a91c88c</comments>
      <category>Window Server System</category>
    </item>
    <item>
      <trackback:ping>http://www.galcho.com/Blog/Trackback.aspx?guid=b75c3d1f-721d-4c87-a2c6-0891e49db416</trackback:ping>
      <pingback:server>http://www.galcho.com/Blog/pingback.aspx</pingback:server>
      <pingback:target>http://www.galcho.com/Blog/PermaLink.aspx?guid=b75c3d1f-721d-4c87-a2c6-0891e49db416</pingback:target>
      <dc:creator>
      </dc:creator>
      <wfw:comment>http://www.galcho.com/Blog/CommentView.aspx?guid=b75c3d1f-721d-4c87-a2c6-0891e49db416</wfw:comment>
      <wfw:commentRss>http://www.galcho.com/Blog/SyndicationService.asmx/GetEntryCommentsRss?guid=b75c3d1f-721d-4c87-a2c6-0891e49db416</wfw:commentRss>
      <slash:comments>1</slash:comments>
      <body xmlns="http://www.w3.org/1999/xhtml">
        <p>
Today the hardware is cheap (and getting cheaper) so it is easily affordable to have
multiple quad code CPUs, 8 GB RAM and more. In order to fully utilize this hardware
x64b OS is needed and Windows has x64b editions for a while.
</p>
        <p>
But what happens with the software we write?! if you use managed code only then is
easy – IJW – <strong>It Just Works</strong> (<a href="http://blogs.msdn.com/jmstall/archive/2005/09/07/mcpp-2-native-struct.aspx" target="_blank">do
you remember that term for compiling unmanaged code C++ into IL</a>? <u><strong>well
that’s different</strong></u>)
</p>
        <p>
As MSDN article “<a href="http://msdn.microsoft.com/en-us/library/ms973190.aspx" target="_blank">Migrating
32-bit Managed Code to 64-bit</a>” says 
</p>
        <blockquote>
          <p align="left">
            <em>Consider a .NET application that is 100% type safe code. In this scenario it is
possible to take your .NET executable that you run on your 32-bit machine and move
it to the 64-bit system and have it run successfully. Why does this work? Since the
assembly is 100% type safe we know that there are no dependencies on native code or
COM objects and that there is no 'unsafe' code which means that the application runs
entirely under the control of the CLR. The CLR guarantees that while the binary code
that is generated as the result of Just-in-time (JIT) compilation will be different
between 32-bit and 64-bit, the code that executes will both be semantically the same.
(You cannot install the .NET Framework version 2.0 on Windows 2000. Output files produced
using .NET Framework versions 1.0 and 1.1 will run under WOW64 on a 64-bit operating
system.)</em>
          </p>
        </blockquote>
        <p align="left">
If you want to dig into x64 vs x86 differences read Scott Hanselman’s article “<a href="http://www.hanselman.com/blog/BackToBasics32bitAnd64bitConfusionAroundX86AndX64AndTheNETFrameworkAndCLR.aspx">Back
to Basics: 32-bit and 64-bit confusion around x86 and x64 and the .NET Framework and
CLR</a>”
</p>
        <p align="left">
Also check Brian Peek’s <a href="http://www.brianpeek.com/blog/archive/2007/11/13/x64-development-with-net.aspx" target="_blank">blog
post</a> on the subject 
</p>
        <img width="0" height="0" src="http://www.galcho.com/Blog/aggbug.ashx?id=b75c3d1f-721d-4c87-a2c6-0891e49db416" />
        <br />
        <hr />
This weblog is using <a href="http://www.codeplex.com/dasBlog">dasBlog</a> hosted
by <a href="http://www.primaconsult.net/">PrimaNet Consult LTD</a>. 
</body>
      <title>x64bit Development with .NET</title>
      <guid isPermaLink="false">http://www.galcho.com/Blog/PermaLink.aspx?guid=b75c3d1f-721d-4c87-a2c6-0891e49db416</guid>
      <link>http://www.galcho.com/Blog/PermaLink.aspx?guid=b75c3d1f-721d-4c87-a2c6-0891e49db416</link>
      <pubDate>Sun, 15 Feb 2009 04:46:29 GMT</pubDate>
      <description>&lt;p&gt;
Today the hardware is cheap (and getting cheaper) so it is easily affordable to have
multiple quad code CPUs, 8 GB RAM and more. In order to fully utilize this hardware
x64b OS is needed and Windows has x64b editions for a while.
&lt;/p&gt;
&lt;p&gt;
But what happens with the software we write?! if you use managed code only then is
easy – IJW – &lt;strong&gt;It Just Works&lt;/strong&gt; (&lt;a href="http://blogs.msdn.com/jmstall/archive/2005/09/07/mcpp-2-native-struct.aspx" target="_blank"&gt;do
you remember that term for compiling unmanaged code C++ into IL&lt;/a&gt;? &lt;u&gt;&lt;strong&gt;well
that’s different&lt;/strong&gt;&lt;/u&gt;)
&lt;/p&gt;
&lt;p&gt;
As MSDN article “&lt;a href="http://msdn.microsoft.com/en-us/library/ms973190.aspx" target="_blank"&gt;Migrating
32-bit Managed Code to 64-bit&lt;/a&gt;” says 
&lt;/p&gt;
&lt;blockquote&gt; 
&lt;p align="left"&gt;
&lt;em&gt;Consider a .NET application that is 100% type safe code. In this scenario it is
possible to take your .NET executable that you run on your 32-bit machine and move
it to the 64-bit system and have it run successfully. Why does this work? Since the
assembly is 100% type safe we know that there are no dependencies on native code or
COM objects and that there is no 'unsafe' code which means that the application runs
entirely under the control of the CLR. The CLR guarantees that while the binary code
that is generated as the result of Just-in-time (JIT) compilation will be different
between 32-bit and 64-bit, the code that executes will both be semantically the same.
(You cannot install the .NET Framework version 2.0 on Windows 2000. Output files produced
using .NET Framework versions 1.0 and 1.1 will run under WOW64 on a 64-bit operating
system.)&lt;/em&gt;
&lt;/p&gt;
&lt;/blockquote&gt; 
&lt;p align="left"&gt;
If you want to dig into x64 vs x86 differences read Scott Hanselman’s article “&lt;a href="http://www.hanselman.com/blog/BackToBasics32bitAnd64bitConfusionAroundX86AndX64AndTheNETFrameworkAndCLR.aspx"&gt;Back
to Basics: 32-bit and 64-bit confusion around x86 and x64 and the .NET Framework and
CLR&lt;/a&gt;”
&lt;/p&gt;
&lt;p align="left"&gt;
Also check Brian Peek’s &lt;a href="http://www.brianpeek.com/blog/archive/2007/11/13/x64-development-with-net.aspx" target="_blank"&gt;blog
post&lt;/a&gt; on the subject 
&lt;/p&gt;
&lt;img width="0" height="0" src="http://www.galcho.com/Blog/aggbug.ashx?id=b75c3d1f-721d-4c87-a2c6-0891e49db416" /&gt;
&lt;br /&gt;
&lt;hr /&gt;
This weblog is using &lt;a href="http://www.codeplex.com/dasBlog"&gt;dasBlog&lt;/a&gt; hosted
by &lt;a href="http://www.primaconsult.net/"&gt;PrimaNet Consult LTD&lt;/a&gt;. </description>
      <comments>http://www.galcho.com/Blog/CommentView.aspx?guid=b75c3d1f-721d-4c87-a2c6-0891e49db416</comments>
      <category>.NET Development</category>
      <category>Window Server System</category>
    </item>
    <item>
      <trackback:ping>http://www.galcho.com/Blog/Trackback.aspx?guid=db785fa4-19c5-41ec-9f28-ebd90efb1858</trackback:ping>
      <pingback:server>http://www.galcho.com/Blog/pingback.aspx</pingback:server>
      <pingback:target>http://www.galcho.com/Blog/PermaLink.aspx?guid=db785fa4-19c5-41ec-9f28-ebd90efb1858</pingback:target>
      <dc:creator>
      </dc:creator>
      <wfw:comment>http://www.galcho.com/Blog/CommentView.aspx?guid=db785fa4-19c5-41ec-9f28-ebd90efb1858</wfw:comment>
      <wfw:commentRss>http://www.galcho.com/Blog/SyndicationService.asmx/GetEntryCommentsRss?guid=db785fa4-19c5-41ec-9f28-ebd90efb1858</wfw:commentRss>
      <body xmlns="http://www.w3.org/1999/xhtml">
        <p>
As you might noticed this week the site was down. This was due to hosting upgrade
to favorite IIS7 and some issues with dasBlog and one of it’s controls. Luckily I
was able to fix it and also upgraded to dasBlog v2.2.
</p>
        <p>
Hopefully there won’t be any downtime next… 10 years (next upgrade should be handled
nicely :) ) Not like I am planning uptime 5 nines – 99.99999% :)
</p>
        <h2>Now seriously: 
</h2>
        <p>
If you planning your servers’ availability you might want to check how Microsoft.com
Ops are doing it by <a href="http://blogs.technet.com/mscom/archive/2008/01/11/systems-engineering-architecture-consultation-help-us-to-help-you.aspx" target="_blank">taking
a consultation from them for free</a>. Why?! Because these are the results (as of
2005) – just imagine what are now:
</p>
        <p>
*.Microsoft.com: 
</p>
        <ul>
          <li>
3 Data Centers 
</li>
          <li>
1606 Data Center Servers 
</li>
          <li>
506 Servers in Labs 
</li>
          <li>
111 Web Sites 
</li>
          <li>
1069 Databases 
</li>
          <li>
1000’s of Web Applications 
</li>
          <li>
80+Gbit/sec Network Traffic</li>
        </ul>
        <p>
WWW.Microsoft.com 
</p>
        <ul>
          <li>
13 million unique users/day 
</li>
          <li>
70 million page views per day 
</li>
          <li>
10,000 requests/sec, 300 concurrent connection on 80 servers 
</li>
          <li>
350 Vroots</li>
        </ul>
        <p>
Windows Update/Download: 
</p>
        <ul>
          <li>
150 million unique client scans/day 
</li>
          <li>
12,000 ASP.NET requests/sec 
</li>
          <li>
500K concurrent connections 
</li>
          <li>
1 Billion Downloads and 750K client installs in 2 weeks (April 2006) 
</li>
          <li>
4Gbit/sec Web Site Egress (Web Pages Only…No Downloads) 
</li>
          <li>
20+ Billion Downloads in 2005…Routinely 150M+/Day</li>
        </ul>
        <img width="0" height="0" src="http://www.galcho.com/Blog/aggbug.ashx?id=db785fa4-19c5-41ec-9f28-ebd90efb1858" />
        <br />
        <hr />
This weblog is using <a href="http://www.codeplex.com/dasBlog">dasBlog</a> hosted
by <a href="http://www.primaconsult.net/">PrimaNet Consult LTD</a>. 
</body>
      <title>Finally up &amp; running</title>
      <guid isPermaLink="false">http://www.galcho.com/Blog/PermaLink.aspx?guid=db785fa4-19c5-41ec-9f28-ebd90efb1858</guid>
      <link>http://www.galcho.com/Blog/PermaLink.aspx?guid=db785fa4-19c5-41ec-9f28-ebd90efb1858</link>
      <pubDate>Sat, 14 Feb 2009 08:33:23 GMT</pubDate>
      <description>&lt;p&gt;
As you might noticed this week the site was down. This was due to hosting upgrade
to favorite IIS7 and some issues with dasBlog and one of it’s controls. Luckily I
was able to fix it and also upgraded to dasBlog v2.2.
&lt;/p&gt;
&lt;p&gt;
Hopefully there won’t be any downtime next… 10 years (next upgrade should be handled
nicely :) ) Not like I am planning uptime 5 nines – 99.99999% :)
&lt;/p&gt;
&lt;h2&gt;Now seriously: 
&lt;/h2&gt;
&lt;p&gt;
If you planning your servers’ availability you might want to check how Microsoft.com
Ops are doing it by &lt;a href="http://blogs.technet.com/mscom/archive/2008/01/11/systems-engineering-architecture-consultation-help-us-to-help-you.aspx" target="_blank"&gt;taking
a consultation from them for free&lt;/a&gt;. Why?! Because these are the results (as of
2005) – just imagine what are now:
&lt;/p&gt;
&lt;p&gt;
*.Microsoft.com: 
&lt;ul&gt;
&lt;li&gt;
3 Data Centers 
&lt;li&gt;
1606 Data Center Servers 
&lt;li&gt;
506 Servers in Labs 
&lt;li&gt;
111 Web Sites 
&lt;li&gt;
1069 Databases 
&lt;li&gt;
1000’s of Web Applications 
&lt;li&gt;
80+Gbit/sec Network Traffic&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;
WWW.Microsoft.com 
&lt;ul&gt;
&lt;li&gt;
13 million unique users/day 
&lt;li&gt;
70 million page views per day 
&lt;li&gt;
10,000 requests/sec, 300 concurrent connection on 80 servers 
&lt;li&gt;
350 Vroots&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;
Windows Update/Download: 
&lt;ul&gt;
&lt;li&gt;
150 million unique client scans/day 
&lt;li&gt;
12,000 ASP.NET requests/sec 
&lt;li&gt;
500K concurrent connections 
&lt;li&gt;
1 Billion Downloads and 750K client installs in 2 weeks (April 2006) 
&lt;li&gt;
4Gbit/sec Web Site Egress (Web Pages Only…No Downloads) 
&lt;li&gt;
20+ Billion Downloads in 2005…Routinely 150M+/Day&lt;/li&gt;
&lt;/ul&gt;
&lt;img width="0" height="0" src="http://www.galcho.com/Blog/aggbug.ashx?id=db785fa4-19c5-41ec-9f28-ebd90efb1858" /&gt;
&lt;br /&gt;
&lt;hr /&gt;
This weblog is using &lt;a href="http://www.codeplex.com/dasBlog"&gt;dasBlog&lt;/a&gt; hosted
by &lt;a href="http://www.primaconsult.net/"&gt;PrimaNet Consult LTD&lt;/a&gt;. </description>
      <comments>http://www.galcho.com/Blog/CommentView.aspx?guid=db785fa4-19c5-41ec-9f28-ebd90efb1858</comments>
      <category>Web</category>
      <category>Window Server System</category>
    </item>
    <item>
      <trackback:ping>http://www.galcho.com/Blog/Trackback.aspx?guid=1a6e3dc9-af51-45a5-890e-3e3de0936db3</trackback:ping>
      <pingback:server>http://www.galcho.com/Blog/pingback.aspx</pingback:server>
      <pingback:target>http://www.galcho.com/Blog/PermaLink.aspx?guid=1a6e3dc9-af51-45a5-890e-3e3de0936db3</pingback:target>
      <dc:creator>
      </dc:creator>
      <wfw:comment>http://www.galcho.com/Blog/CommentView.aspx?guid=1a6e3dc9-af51-45a5-890e-3e3de0936db3</wfw:comment>
      <wfw:commentRss>http://www.galcho.com/Blog/SyndicationService.asmx/GetEntryCommentsRss?guid=1a6e3dc9-af51-45a5-890e-3e3de0936db3</wfw:commentRss>
      <body xmlns="http://www.w3.org/1999/xhtml">
        <h5>Internet Information Services 7.5 (IIS)
</h5>
        <p>
The great Internet Information Services (IIS) has it’s v7.5 with following features
in Windows Server 2008 R2
</p>
        <ul>
          <li>
PowerShell provider for IIS 7 has more than 50 new cmdlets 
</li>
          <li>
            <a href="http://learn.iis.net/page.aspx/415/install-the-administration-pack/">Administration
Pack extensions</a>: <a href="http://learn.iis.net/page.aspx/416/basics-of-database-manager/">Database
Manager</a> (SQL Server management within IIS Manager), <a href="http://blogs.iis.net/bills/archive/2008/06/01/how-do-i-script-automate-iis7-configuration.aspx">Configuration
Editor</a> (generate scripts with a GUI to automate administrative tasks), <a href="http://learn.iis.net/page.aspx/412/using-iis-reports-remotely/">IIS
Reports</a>, <a href="http://blogs.msdn.com/carlosag/archive/2008/03/24/IISAdminPackRequestFiltering.aspx">Request
Filtering</a> (HTTP filtering, URL rewriting, etc.) 
</li>
          <li>
One-click publishing in Visual Studio 10 
</li>
          <li>
            <a href="http://learn.iis.net/page.aspx/346/web-deployment-tool/">Web Deployment Tool</a> (formerly
MS Deploy): Deployment, management, and migration of Web applications, sites, and
entire servers 
</li>
          <li>
Configuration Tracing: track configuration changes to IIS and applications 
</li>
          <li>
New performance counters 
</li>
          <li>
.NET support for Server Core 
</li>
          <li>
            <a href="http://www.microsoft.com/downloads/details.aspx?FamilyID=036269fa-0040-4ccd-ad3d-78da1ee132fb&amp;DisplayLang=en">WebDav</a> integration
(was available before as a separate extension) 
</li>
          <li>
            <a href="http://www.microsoft.com/downloads/details.aspx?familyid=ee41818f-3363-4e24-9940-321603531989&amp;displaylang=en">URLScan
3.0</a> integration: restricts the types of HTTP requests (was available before as
a separate extension) 
</li>
          <li>
FTP server services: integrated in the IIS administration interface; new .NET XML-based
*.config format; virtual host names for FTP sites; improved logging 
</li>
          <li>
Integrated extensions: new kind of extensions that appear to be an integral part of
IIS</li>
        </ul>
        <p>
(via <a href="http://4sysops.com/archives/windows-server-2008-r2-new-features-the-complete-list-part-3-iis-75-and-performance/" target="_blank">4sysops.com
article</a>)
</p>
        <img width="0" height="0" src="http://www.galcho.com/Blog/aggbug.ashx?id=1a6e3dc9-af51-45a5-890e-3e3de0936db3" />
        <br />
        <hr />
This weblog is using <a href="http://www.codeplex.com/dasBlog">dasBlog</a> hosted
by <a href="http://www.primaconsult.net/">PrimaNet Consult LTD</a>. 
</body>
      <title>IIS 7.5 features lists</title>
      <guid isPermaLink="false">http://www.galcho.com/Blog/PermaLink.aspx?guid=1a6e3dc9-af51-45a5-890e-3e3de0936db3</guid>
      <link>http://www.galcho.com/Blog/PermaLink.aspx?guid=1a6e3dc9-af51-45a5-890e-3e3de0936db3</link>
      <pubDate>Thu, 29 Jan 2009 23:22:47 GMT</pubDate>
      <description>&lt;h5&gt;Internet Information Services 7.5 (IIS)
&lt;/h5&gt;
&lt;p&gt;
The great Internet Information Services (IIS) has it’s v7.5 with following features
in Windows Server 2008 R2
&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
PowerShell provider for IIS 7 has more than 50 new cmdlets 
&lt;li&gt;
&lt;a href="http://learn.iis.net/page.aspx/415/install-the-administration-pack/"&gt;Administration
Pack extensions&lt;/a&gt;: &lt;a href="http://learn.iis.net/page.aspx/416/basics-of-database-manager/"&gt;Database
Manager&lt;/a&gt; (SQL Server management within IIS Manager), &lt;a href="http://blogs.iis.net/bills/archive/2008/06/01/how-do-i-script-automate-iis7-configuration.aspx"&gt;Configuration
Editor&lt;/a&gt; (generate scripts with a GUI to automate administrative tasks), &lt;a href="http://learn.iis.net/page.aspx/412/using-iis-reports-remotely/"&gt;IIS
Reports&lt;/a&gt;, &lt;a href="http://blogs.msdn.com/carlosag/archive/2008/03/24/IISAdminPackRequestFiltering.aspx"&gt;Request
Filtering&lt;/a&gt; (HTTP filtering, URL rewriting, etc.) 
&lt;li&gt;
One-click publishing in Visual Studio 10 
&lt;li&gt;
&lt;a href="http://learn.iis.net/page.aspx/346/web-deployment-tool/"&gt;Web Deployment Tool&lt;/a&gt; (formerly
MS Deploy): Deployment, management, and migration of Web applications, sites, and
entire servers 
&lt;li&gt;
Configuration Tracing: track configuration changes to IIS and applications 
&lt;li&gt;
New performance counters 
&lt;li&gt;
.NET support for Server Core 
&lt;li&gt;
&lt;a href="http://www.microsoft.com/downloads/details.aspx?FamilyID=036269fa-0040-4ccd-ad3d-78da1ee132fb&amp;amp;DisplayLang=en"&gt;WebDav&lt;/a&gt; integration
(was available before as a separate extension) 
&lt;li&gt;
&lt;a href="http://www.microsoft.com/downloads/details.aspx?familyid=ee41818f-3363-4e24-9940-321603531989&amp;amp;displaylang=en"&gt;URLScan
3.0&lt;/a&gt; integration: restricts the types of HTTP requests (was available before as
a separate extension) 
&lt;li&gt;
FTP server services: integrated in the IIS administration interface; new .NET XML-based
*.config format; virtual host names for FTP sites; improved logging 
&lt;li&gt;
Integrated extensions: new kind of extensions that appear to be an integral part of
IIS&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;
(via &lt;a href="http://4sysops.com/archives/windows-server-2008-r2-new-features-the-complete-list-part-3-iis-75-and-performance/" target="_blank"&gt;4sysops.com
article&lt;/a&gt;)
&lt;/p&gt;
&lt;img width="0" height="0" src="http://www.galcho.com/Blog/aggbug.ashx?id=1a6e3dc9-af51-45a5-890e-3e3de0936db3" /&gt;
&lt;br /&gt;
&lt;hr /&gt;
This weblog is using &lt;a href="http://www.codeplex.com/dasBlog"&gt;dasBlog&lt;/a&gt; hosted
by &lt;a href="http://www.primaconsult.net/"&gt;PrimaNet Consult LTD&lt;/a&gt;. </description>
      <comments>http://www.galcho.com/Blog/CommentView.aspx?guid=1a6e3dc9-af51-45a5-890e-3e3de0936db3</comments>
      <category>IIS</category>
      <category>Web</category>
      <category>Window Server System</category>
    </item>
    <item>
      <trackback:ping>http://www.galcho.com/Blog/Trackback.aspx?guid=e9cfd741-3a0c-4417-be9a-dbfa2cf8c6b7</trackback:ping>
      <pingback:server>http://www.galcho.com/Blog/pingback.aspx</pingback:server>
      <pingback:target>http://www.galcho.com/Blog/PermaLink.aspx?guid=e9cfd741-3a0c-4417-be9a-dbfa2cf8c6b7</pingback:target>
      <dc:creator>
      </dc:creator>
      <wfw:comment>http://www.galcho.com/Blog/CommentView.aspx?guid=e9cfd741-3a0c-4417-be9a-dbfa2cf8c6b7</wfw:comment>
      <wfw:commentRss>http://www.galcho.com/Blog/SyndicationService.asmx/GetEntryCommentsRss?guid=e9cfd741-3a0c-4417-be9a-dbfa2cf8c6b7</wfw:commentRss>
      <slash:comments>2</slash:comments>
      <body xmlns="http://www.w3.org/1999/xhtml">
        <p>
I had interesting issue today: I was on urge to complete a task when I saw a strange
exception – you know – the Murphy's law. It hit at the most inconvenient time. To
be even more interesting I’ve deployed my work on two different servers and worked
fine.
</p>
        <p>
But on the most important one I got this exception when I tried to hit WCF service:
</p>
        <div class="csharpcode-wrapper">
          <div class="csharpcode">
            <pre class="alt">System.MissingMethodException: Method not found: <span class="str">'Void
System.ServiceModel.Diagnostics.EventLogger.UnsafeLogEvent(System.Diagnostics.TraceEventType,
System.ServiceModel.Diagnostics.EventLogCategory, System.ServiceModel.Diagnostics.EventLogEventId,
Boolean, System.String[])'</span>.</pre>
            <pre class="alteven">   at System.Runtime.CompilerServices.RuntimeHelpers.PrepareDelegate(Delegate d)</pre>
            <pre class="alt">   at System.AppDomain.add_UnhandledException(UnhandledExceptionEventHandler <span class="kwrd">value</span>)</pre>
            <pre class="alteven">   at System.ServiceModel.ServiceHostingEnvironment.EnsureInitialized()</pre>
            <pre class="alt">   at System.ServiceModel.PartialTrustHelpers.PartialTrustInvoke(ContextCallback callback, Object state)</pre>
            <pre class="alteven">   at System.ServiceModel.Activation.HttpModule.ProcessRequest(Object sender, EventArgs e)</pre>
            <pre class="alt">   at System.Web.HttpApplication.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()</pre>
            <pre class="alteven">   at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean&amp; completedSynchronously)</pre>
          </div>
        </div>
        <p>
Very strange… and search engines doesn’t know much about the problem…
</p>
        <p>
Luckily this was not used heavily and I could <strong>reinstall .NET Framework 3.5.
And this solved the problem</strong>.. Now back to more productive things…
</p>
        <img width="0" height="0" src="http://www.galcho.com/Blog/aggbug.ashx?id=e9cfd741-3a0c-4417-be9a-dbfa2cf8c6b7" />
        <br />
        <hr />
This weblog is using <a href="http://www.codeplex.com/dasBlog">dasBlog</a> hosted
by <a href="http://www.primaconsult.net/">PrimaNet Consult LTD</a>. 
</body>
      <title>Time for reinstall&amp;hellip; .NET Framework</title>
      <guid isPermaLink="false">http://www.galcho.com/Blog/PermaLink.aspx?guid=e9cfd741-3a0c-4417-be9a-dbfa2cf8c6b7</guid>
      <link>http://www.galcho.com/Blog/PermaLink.aspx?guid=e9cfd741-3a0c-4417-be9a-dbfa2cf8c6b7</link>
      <pubDate>Wed, 28 Jan 2009 08:48:22 GMT</pubDate>
      <description>&lt;p&gt;
I had interesting issue today: I was on urge to complete a task when I saw a strange
exception – you know – the Murphy's law. It hit at the most inconvenient time. To
be even more interesting I’ve deployed my work on two different servers and worked
fine.
&lt;/p&gt;
&lt;p&gt;
But on the most important one I got this exception when I tried to hit WCF service:
&lt;/p&gt;
&lt;div class="csharpcode-wrapper"&gt;
&lt;div class="csharpcode"&gt;&lt;pre class="alt"&gt;System.MissingMethodException: Method not found: &lt;span class="str"&gt;'Void
System.ServiceModel.Diagnostics.EventLogger.UnsafeLogEvent(System.Diagnostics.TraceEventType,
System.ServiceModel.Diagnostics.EventLogCategory, System.ServiceModel.Diagnostics.EventLogEventId,
Boolean, System.String[])'&lt;/span&gt;.&lt;/pre&gt;&lt;pre class="alteven"&gt;   at System.Runtime.CompilerServices.RuntimeHelpers.PrepareDelegate(Delegate d)&lt;/pre&gt;&lt;pre class="alt"&gt;   at System.AppDomain.add_UnhandledException(UnhandledExceptionEventHandler &lt;span class="kwrd"&gt;value&lt;/span&gt;)&lt;/pre&gt;&lt;pre class="alteven"&gt;   at System.ServiceModel.ServiceHostingEnvironment.EnsureInitialized()&lt;/pre&gt;&lt;pre class="alt"&gt;   at System.ServiceModel.PartialTrustHelpers.PartialTrustInvoke(ContextCallback callback, Object state)&lt;/pre&gt;&lt;pre class="alteven"&gt;   at System.ServiceModel.Activation.HttpModule.ProcessRequest(Object sender, EventArgs e)&lt;/pre&gt;&lt;pre class="alt"&gt;   at System.Web.HttpApplication.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()&lt;/pre&gt;&lt;pre class="alteven"&gt;   at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean&amp;amp; completedSynchronously)&lt;/pre&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;p&gt;
Very strange… and search engines doesn’t know much about the problem…
&lt;/p&gt;
&lt;p&gt;
Luckily this was not used heavily and I could &lt;strong&gt;reinstall .NET Framework 3.5.
And this solved the problem&lt;/strong&gt;.. Now back to more productive things…
&lt;/p&gt;
&lt;img width="0" height="0" src="http://www.galcho.com/Blog/aggbug.ashx?id=e9cfd741-3a0c-4417-be9a-dbfa2cf8c6b7" /&gt;
&lt;br /&gt;
&lt;hr /&gt;
This weblog is using &lt;a href="http://www.codeplex.com/dasBlog"&gt;dasBlog&lt;/a&gt; hosted
by &lt;a href="http://www.primaconsult.net/"&gt;PrimaNet Consult LTD&lt;/a&gt;. </description>
      <comments>http://www.galcho.com/Blog/CommentView.aspx?guid=e9cfd741-3a0c-4417-be9a-dbfa2cf8c6b7</comments>
      <category>.NET Development</category>
      <category>Web</category>
      <category>Window Server System</category>
    </item>
    <item>
      <trackback:ping>http://www.galcho.com/Blog/Trackback.aspx?guid=a22cbe3d-333e-4b15-b61a-aa6675c8ec27</trackback:ping>
      <pingback:server>http://www.galcho.com/Blog/pingback.aspx</pingback:server>
      <pingback:target>http://www.galcho.com/Blog/PermaLink.aspx?guid=a22cbe3d-333e-4b15-b61a-aa6675c8ec27</pingback:target>
      <dc:creator>
      </dc:creator>
      <wfw:comment>http://www.galcho.com/Blog/CommentView.aspx?guid=a22cbe3d-333e-4b15-b61a-aa6675c8ec27</wfw:comment>
      <wfw:commentRss>http://www.galcho.com/Blog/SyndicationService.asmx/GetEntryCommentsRss?guid=a22cbe3d-333e-4b15-b61a-aa6675c8ec27</wfw:commentRss>
      <slash:comments>2</slash:comments>
      <body xmlns="http://www.w3.org/1999/xhtml">
        <p>
I had interesting experience today. I tried to create a web setup project for one
of my recent projects. As you know it is pretty straightforward: From Visual Studio
2008 File –&gt; Add –&gt; New Project –&gt; Select Setup wizard.
</p>
        <p>
          <a href="http://www.galcho.com/Blog/content/binary/WindowsLiveWriter/VS2008WebSetupProjectandWin2008_EF75/image_2.png" rel="lightbox">
            <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="http://www.galcho.com/Blog/content/binary/WindowsLiveWriter/VS2008WebSetupProjectandWin2008_EF75/image_thumb.png" width="439" height="323" />
          </a>   
</p>
        <p>
        </p>
        <p>
and just add output from existing project. 
<br />
Then press Ctrl+Shift+B (Build ) and you’re ready… But not in Windows Server 2008.
When I decided to test this newly made installation package I hit the ground with
single dialog showing this message:
</p>
        <p>
          <strong>"The installer was interrupted before ApplicationName could be installed.
You need to restart the installer to try again. </strong>
        </p>
        <p>
          <strong>Click "Close" to exit."</strong>
        </p>
        <p>
  
</p>
        <p>
Being experienced installer package developer I knew what I had to do: run the installer
with verbose logging. 
</p>
        <p>
by executing this line:
</p>
        <div>
          <div style="border-bottom-style: none; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; padding-left: 0px; width: 100%; padding-right: 0px; font-family: consolas, 'Courier New', courier, monospace; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px">
            <pre style="border-bottom-style: none; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: white; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: consolas, 'Courier New', courier, monospace; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px">
              <span style="color: #606060"> 1:</span> msiexec
/i Installer.msi /lv detail.log</pre>
          </div>
        </div>
        <p>
And I had nice 57 KB  file to read in wonderful notepad. And the problem action
quickly appeared:
</p>
        <div style="border-bottom: gray 1px solid; border-left: gray 1px solid; padding-bottom: 4px; line-height: 12pt; background-color: #f4f4f4; margin: 20px 0px 10px; padding-left: 4px; width: 97.5%; padding-right: 4px; font-family: consolas, 'Courier New', courier, monospace; max-height: 200px; font-size: 8pt; overflow: auto; border-top: gray 1px solid; cursor: text; border-right: gray 1px solid; padding-top: 4px">
          <div style="border-bottom-style: none; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; padding-left: 0px; width: 100%; padding-right: 0px; font-family: consolas, 'Courier New', courier, monospace; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px">
            <pre style="border-bottom-style: none; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: white; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: consolas, 'Courier New', courier, monospace; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px">
              <span style="color: #606060"> 1:</span> Action
start 16:22:53: WEBCA_SetTARGETSITE.</pre>
            <pre style="border-bottom-style: none; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: consolas, 'Courier New', courier, monospace; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px">
              <span style="color: #606060"> 2:</span> MSI
(c) (B4:4C) [16:22:53:082]: Note: 1: 2235 2: 3: ExtendedType 4: SELECT `Action`,`Type`,`Source`,`Target`,
NULL, `ExtendedType` FROM `CustomAction` WHERE `Action` = <span style="color: #006080">'WEBCA_SetTARGETSITE'</span></pre>
            <pre style="border-bottom-style: none; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: white; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: consolas, 'Courier New', courier, monospace; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px">
              <span style="color: #606060"> 3:</span> MSI
(c) (B4:48) [16:22:53:082]: Invoking remote custom action. DLL: C:\Users\ADMINI~1\AppData\Local\Temp\MSIFB61.tmp,
Entrypoint: <strong>SetTARGETSITE</strong></pre>
            <pre style="border-bottom-style: none; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: consolas, 'Courier New', courier, monospace; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px">
              <span style="color: #606060"> 4:</span> INFO
: [11/11/2008 16:22:53:097] [SetTARGETSITE ]: Custom Action <span style="color: #0000ff">is</span> starting...</pre>
            <pre style="border-bottom-style: none; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: white; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: consolas, 'Courier New', courier, monospace; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px">
              <span style="color: #606060"> 5:</span> INFO
: [11/11/2008 16:22:53:097] [SetTARGETSITE ]: CoInitializeEx - COM initialization
Apartment Threaded...</pre>
            <pre style="border-bottom-style: none; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: consolas, 'Courier New', courier, monospace; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px">
              <span style="color: #606060"> 6:</span> ERROR
: [11/11/2008 16:22:53:097] [SetTARGETSITE ]: FAILED: -2147221164</pre>
            <pre style="border-bottom-style: none; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: white; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: consolas, 'Courier New', courier, monospace; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px">
              <span style="color: #606060"> 7:</span> ERROR
: [11/11/2008 16:22:53:097] [SetTARGETSITE ]: Custom Action failed with code: <span style="color: #006080">'340'</span></pre>
            <pre style="border-bottom-style: none; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: consolas, 'Courier New', courier, monospace; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px">
              <span style="color: #606060"> 8:</span> INFO
: [11/11/2008 16:22:53:097] [SetTARGETSITE ]: Custom Action completed with <span style="color: #0000ff">return</span> code: <span style="color: #006080">'340'</span></pre>
            <pre style="border-bottom-style: none; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: white; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: consolas, 'Courier New', courier, monospace; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px">
              <span style="color: #606060"> 9:</span> Action
ended 16:22:53: WEBCA_SetTARGETSITE. Return <span style="color: #0000ff">value</span> 3.</pre>
            <pre style="border-bottom-style: none; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: consolas, 'Courier New', courier, monospace; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px">
              <span style="color: #606060"> 10:</span> MSI
(c) (B4:4C) [16:22:53:097]: Doing action: FatalErrorForm</pre>
            <pre style="border-bottom-style: none; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: white; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: consolas, 'Courier New', courier, monospace; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px">
              <span style="color: #606060"> 11:</span> Action
start 16:22:53: FatalErrorForm.</pre>
          </div>
        </div>
        <p>
Seeing WEBCA_SetTARGETSITE means that the installer was trying to set the destination.
Having a <u>web</u> setup this means IIS was asked for “Default Web Site” and this
call must be the one that fails. But why!? I have Web Server Role installed on the
machine:
</p>
        <p>
          <a href="http://www.galcho.com/Blog/content/binary/WindowsLiveWriter/VS2008WebSetupProjectandWin2008_EF75/image_6.png" rel="lightbox">
            <img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="image" border="0" alt="image" src="http://www.galcho.com/Blog/content/binary/WindowsLiveWriter/VS2008WebSetupProjectandWin2008_EF75/image_thumb_2.png" width="382" height="113" />
          </a>
        </p>
        <p>
I and remembered from my <a href="http://www.galcho.com/Blog/PermaLink.aspx?guid=3c57cc1f-f775-432b-8eb5-852d51b4952f">MS
DevDays 2008 IIS talk</a>  – you still can use old (pre v7) IIS management tools
with IIS7 as long as you have “IIS 6 Metabase Compatibility” role service installed.
</p>
        <p>
          <a href="http://www.galcho.com/Blog/content/binary/WindowsLiveWriter/VS2008WebSetupProjectandWin2008_EF75/image_8.png" rel="lightbox">
            <img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="image" border="0" alt="image" src="http://www.galcho.com/Blog/content/binary/WindowsLiveWriter/VS2008WebSetupProjectandWin2008_EF75/image_thumb_3.png" width="386" height="96" />
          </a>
        </p>
        <p>
I installed this role and … Voila!!! it works!!! 
</p>
        <img width="0" height="0" src="http://www.galcho.com/Blog/aggbug.ashx?id=a22cbe3d-333e-4b15-b61a-aa6675c8ec27" />
        <br />
        <hr />
This weblog is using <a href="http://www.codeplex.com/dasBlog">dasBlog</a> hosted
by <a href="http://www.primaconsult.net/">PrimaNet Consult LTD</a>. 
</body>
      <title>VS2008 Web Setup Project and Win2008</title>
      <guid isPermaLink="false">http://www.galcho.com/Blog/PermaLink.aspx?guid=a22cbe3d-333e-4b15-b61a-aa6675c8ec27</guid>
      <link>http://www.galcho.com/Blog/PermaLink.aspx?guid=a22cbe3d-333e-4b15-b61a-aa6675c8ec27</link>
      <pubDate>Wed, 12 Nov 2008 01:01:50 GMT</pubDate>
      <description>&lt;p&gt;
I had interesting experience today. I tried to create a web setup project for one
of my recent projects. As you know it is pretty straightforward: From Visual Studio
2008 File –&amp;gt; Add –&amp;gt; New Project –&amp;gt; Select Setup wizard.
&lt;/p&gt;
&lt;p&gt;
&lt;a href="http://www.galcho.com/Blog/content/binary/WindowsLiveWriter/VS2008WebSetupProjectandWin2008_EF75/image_2.png" rel="lightbox"&gt;&lt;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="http://www.galcho.com/Blog/content/binary/WindowsLiveWriter/VS2008WebSetupProjectandWin2008_EF75/image_thumb.png" width="439" height="323"&gt;&lt;/a&gt;&amp;nbsp;&amp;nbsp; 
&lt;/p&gt;
&lt;p&gt;
&lt;/p&gt;
&lt;p&gt;
and just add output from existing project. 
&lt;br&gt;
Then press Ctrl+Shift+B (Build ) and you’re ready… But not in Windows Server 2008.
When I decided to test this newly made installation package I hit the ground with
single dialog showing this message:
&lt;/p&gt;
&lt;p&gt;
&lt;strong&gt;"The installer was interrupted before ApplicationName could be installed.
You need to restart the installer to try again. &lt;/strong&gt; 
&lt;p&gt;
&lt;strong&gt;Click "Close" to exit."&lt;/strong&gt; 
&lt;p&gt;
&amp;nbsp; 
&lt;p&gt;
Being experienced installer package developer I knew what I had to do: run the installer
with verbose logging. 
&lt;p&gt;
by executing this line:
&lt;/p&gt;
&lt;div&gt;
&lt;div style="border-bottom-style: none; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; padding-left: 0px; width: 100%; padding-right: 0px; font-family: consolas, 'Courier New', courier, monospace; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;&lt;pre style="border-bottom-style: none; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: white; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: consolas, 'Courier New', courier, monospace; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060"&gt; 1:&lt;/span&gt; msiexec
/i Installer.msi /lv detail.log&lt;/pre&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;p&gt;
And I had nice 57 KB&amp;nbsp; file to read in wonderful notepad. And the problem action
quickly appeared:
&lt;/p&gt;
&lt;div style="border-bottom: gray 1px solid; border-left: gray 1px solid; padding-bottom: 4px; line-height: 12pt; background-color: #f4f4f4; margin: 20px 0px 10px; padding-left: 4px; width: 97.5%; padding-right: 4px; font-family: consolas, 'Courier New', courier, monospace; max-height: 200px; font-size: 8pt; overflow: auto; border-top: gray 1px solid; cursor: text; border-right: gray 1px solid; padding-top: 4px"&gt;
&lt;div style="border-bottom-style: none; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; padding-left: 0px; width: 100%; padding-right: 0px; font-family: consolas, 'Courier New', courier, monospace; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;&lt;pre style="border-bottom-style: none; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: white; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: consolas, 'Courier New', courier, monospace; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060"&gt; 1:&lt;/span&gt; Action
start 16:22:53: WEBCA_SetTARGETSITE.&lt;/pre&gt;&lt;pre style="border-bottom-style: none; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: consolas, 'Courier New', courier, monospace; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060"&gt; 2:&lt;/span&gt; MSI
(c) (B4:4C) [16:22:53:082]: Note: 1: 2235 2: 3: ExtendedType 4: SELECT `Action`,`Type`,`Source`,`Target`,
NULL, `ExtendedType` FROM `CustomAction` WHERE `Action` = &lt;span style="color: #006080"&gt;'WEBCA_SetTARGETSITE'&lt;/span&gt; &lt;/pre&gt;&lt;pre style="border-bottom-style: none; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: white; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: consolas, 'Courier New', courier, monospace; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060"&gt; 3:&lt;/span&gt; MSI
(c) (B4:48) [16:22:53:082]: Invoking remote custom action. DLL: C:\Users\ADMINI~1\AppData\Local\Temp\MSIFB61.tmp,
Entrypoint: &lt;strong&gt;SetTARGETSITE&lt;/strong&gt;&lt;/pre&gt;&lt;pre style="border-bottom-style: none; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: consolas, 'Courier New', courier, monospace; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060"&gt; 4:&lt;/span&gt; INFO
: [11/11/2008 16:22:53:097] [SetTARGETSITE ]: Custom Action &lt;span style="color: #0000ff"&gt;is&lt;/span&gt; starting...&lt;/pre&gt;&lt;pre style="border-bottom-style: none; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: white; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: consolas, 'Courier New', courier, monospace; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060"&gt; 5:&lt;/span&gt; INFO
: [11/11/2008 16:22:53:097] [SetTARGETSITE ]: CoInitializeEx - COM initialization
Apartment Threaded...&lt;/pre&gt;&lt;pre style="border-bottom-style: none; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: consolas, 'Courier New', courier, monospace; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060"&gt; 6:&lt;/span&gt; ERROR
: [11/11/2008 16:22:53:097] [SetTARGETSITE ]: FAILED: -2147221164&lt;/pre&gt;&lt;pre style="border-bottom-style: none; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: white; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: consolas, 'Courier New', courier, monospace; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060"&gt; 7:&lt;/span&gt; ERROR
: [11/11/2008 16:22:53:097] [SetTARGETSITE ]: Custom Action failed with code: &lt;span style="color: #006080"&gt;'340'&lt;/span&gt;&lt;/pre&gt;&lt;pre style="border-bottom-style: none; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: consolas, 'Courier New', courier, monospace; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060"&gt; 8:&lt;/span&gt; INFO
: [11/11/2008 16:22:53:097] [SetTARGETSITE ]: Custom Action completed with &lt;span style="color: #0000ff"&gt;return&lt;/span&gt; code: &lt;span style="color: #006080"&gt;'340'&lt;/span&gt;&lt;/pre&gt;&lt;pre style="border-bottom-style: none; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: white; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: consolas, 'Courier New', courier, monospace; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060"&gt; 9:&lt;/span&gt; Action
ended 16:22:53: WEBCA_SetTARGETSITE. Return &lt;span style="color: #0000ff"&gt;value&lt;/span&gt; 3.&lt;/pre&gt;&lt;pre style="border-bottom-style: none; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: consolas, 'Courier New', courier, monospace; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060"&gt; 10:&lt;/span&gt; MSI
(c) (B4:4C) [16:22:53:097]: Doing action: FatalErrorForm&lt;/pre&gt;&lt;pre style="border-bottom-style: none; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: white; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: consolas, 'Courier New', courier, monospace; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060"&gt; 11:&lt;/span&gt; Action
start 16:22:53: FatalErrorForm.&lt;/pre&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;p&gt;
Seeing WEBCA_SetTARGETSITE means that the installer was trying to set the destination.
Having a &lt;u&gt;web&lt;/u&gt; setup this means IIS was asked for “Default Web Site” and this
call must be the one that fails. But why!? I have Web Server Role installed on the
machine:
&lt;/p&gt;
&lt;p&gt;
&lt;a href="http://www.galcho.com/Blog/content/binary/WindowsLiveWriter/VS2008WebSetupProjectandWin2008_EF75/image_6.png" rel="lightbox"&gt;&lt;img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="image" border="0" alt="image" src="http://www.galcho.com/Blog/content/binary/WindowsLiveWriter/VS2008WebSetupProjectandWin2008_EF75/image_thumb_2.png" width="382" height="113"&gt;&lt;/a&gt; 
&lt;/p&gt;
&lt;p&gt;
I and remembered from my &lt;a href="http://www.galcho.com/Blog/PermaLink.aspx?guid=3c57cc1f-f775-432b-8eb5-852d51b4952f"&gt;MS
DevDays 2008 IIS talk&lt;/a&gt;&amp;nbsp; – you still can use old (pre v7) IIS management tools
with IIS7 as long as you have “IIS 6 Metabase Compatibility” role service installed.
&lt;/p&gt;
&lt;p&gt;
&lt;a href="http://www.galcho.com/Blog/content/binary/WindowsLiveWriter/VS2008WebSetupProjectandWin2008_EF75/image_8.png" rel="lightbox"&gt;&lt;img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="image" border="0" alt="image" src="http://www.galcho.com/Blog/content/binary/WindowsLiveWriter/VS2008WebSetupProjectandWin2008_EF75/image_thumb_3.png" width="386" height="96"&gt;&lt;/a&gt; 
&lt;/p&gt;
&lt;p&gt;
I installed this role and … Voila!!! it works!!! 
&lt;/p&gt;
&lt;img width="0" height="0" src="http://www.galcho.com/Blog/aggbug.ashx?id=a22cbe3d-333e-4b15-b61a-aa6675c8ec27" /&gt;
&lt;br /&gt;
&lt;hr /&gt;
This weblog is using &lt;a href="http://www.codeplex.com/dasBlog"&gt;dasBlog&lt;/a&gt; hosted
by &lt;a href="http://www.primaconsult.net/"&gt;PrimaNet Consult LTD&lt;/a&gt;. </description>
      <comments>http://www.galcho.com/Blog/CommentView.aspx?guid=a22cbe3d-333e-4b15-b61a-aa6675c8ec27</comments>
      <category>.NET Development</category>
      <category>IIS</category>
      <category>Web</category>
      <category>Window Server System</category>
    </item>
    <item>
      <trackback:ping>http://www.galcho.com/Blog/Trackback.aspx?guid=81f2e5d0-f258-4086-b8b1-53b73fc49545</trackback:ping>
      <pingback:server>http://www.galcho.com/Blog/pingback.aspx</pingback:server>
      <pingback:target>http://www.galcho.com/Blog/PermaLink.aspx?guid=81f2e5d0-f258-4086-b8b1-53b73fc49545</pingback:target>
      <dc:creator>
      </dc:creator>
      <wfw:comment>http://www.galcho.com/Blog/CommentView.aspx?guid=81f2e5d0-f258-4086-b8b1-53b73fc49545</wfw:comment>
      <wfw:commentRss>http://www.galcho.com/Blog/SyndicationService.asmx/GetEntryCommentsRss?guid=81f2e5d0-f258-4086-b8b1-53b73fc49545</wfw:commentRss>
      <body xmlns="http://www.w3.org/1999/xhtml">
        <p>
I recently moved <a href="http://www.galcho.com/" target="_blank">Galcho.com</a> (and
this blog) on a new Virtual Machine kindly provided by my friend <a href="http://itanalyses.blogspot.com/" target="_blank">Nanio
Nanev</a> and his system administration company <a href="http://www.primaconsult.net/" target="_blank">PrimaNet
Consult LTD</a>. 
</p>
        <p>
The VM has Win2003 Web edition SP2 and it is very fast ( as it is hosted on monster
hosting server ) but there is one nasty issue we are fighting with: The network adapter
that is connected to WAN - external network and has real static IP address - hangs
once in a while.
</p>
        <p>
How is possible Intel 21140-Based PCI Fast Ethernet Adapter (Generic) Network adapter
on Virtual machine to hangs?!?!
</p>
        <p>
I was able to connect using internal network adapter and after disable and re-enable
WAN it was fine for another 3-4 hours.
</p>
        <p>
I've found a way to this by script - by using <a href="http://support.microsoft.com/kb/311272" target="_blank">DevCon</a> -
command-line utility functions as an alternative to Device Manager (<a href="http://download.microsoft.com/download/1/1/f/11f7dd10-272d-4cd2-896f-9ce67f3e0240/devcon.exe" target="_blank">direct
download link</a>).
</p>
        <p>
Using it this simple script does the job:
</p>
        <div>
          <pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, 'Courier New', courier, monospace; border-right-style: none; border-left-style: none; background-color: #f4f4f4; border-bottom-style: none">C:\Install\devcon disable PCI\VEN_1011&amp;DEV_0009&amp;SUBSYS_21140A00&amp;REV_20\3&amp;267A616A&amp;0&amp;50
C:\Install\devcon enable PCI\VEN_1011&amp;DEV_0009&amp;SUBSYS_21140A00&amp;REV_20\3&amp;267A616A&amp;0&amp;50
</pre>
        </div>
        <p>
          <br />
Note that device class can differ so the question "How did you get these?" comes naturally.
Here is how you can list all devices from setup class:
</p>
        <div>
          <pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, 'Courier New', courier, monospace; border-right-style: none; border-left-style: none; background-color: #f4f4f4; border-bottom-style: none">c:\install\devcon listclass net</pre>
        </div>
        <p>
          <br />
And here is the result in my case:
</p>
        <p>
          <a href="http://www.galcho.com/Blog/content/binary/WindowsLiveWriter/VirtualMachinesNetworkAdapterHangs_138C3/image_2.png">
            <img style="border-right: 0px; border-top: 0px; border-left: 0px; border-bottom: 0px" border="0" alt="image" src="http://www.galcho.com/Blog/content/binary/WindowsLiveWriter/VirtualMachinesNetworkAdapterHangs_138C3/image_thumb.png" width="958" height="119" />
          </a>
        </p>
        <p>
So doing this reset on certain period helps now but this is not the smartest solution.
Does anyone have another idea?
</p>
        <img width="0" height="0" src="http://www.galcho.com/Blog/aggbug.ashx?id=81f2e5d0-f258-4086-b8b1-53b73fc49545" />
        <br />
        <hr />
This weblog is using <a href="http://www.codeplex.com/dasBlog">dasBlog</a> hosted
by <a href="http://www.primaconsult.net/">PrimaNet Consult LTD</a>. 
</body>
      <title>Virtual Machine's Network Adapter Hangs</title>
      <guid isPermaLink="false">http://www.galcho.com/Blog/PermaLink.aspx?guid=81f2e5d0-f258-4086-b8b1-53b73fc49545</guid>
      <link>http://www.galcho.com/Blog/PermaLink.aspx?guid=81f2e5d0-f258-4086-b8b1-53b73fc49545</link>
      <pubDate>Sat, 13 Sep 2008 19:14:36 GMT</pubDate>
      <description>&lt;p&gt;
I recently moved &lt;a href="http://www.galcho.com/" target="_blank"&gt;Galcho.com&lt;/a&gt; (and
this blog) on a new Virtual Machine kindly provided by my friend &lt;a href="http://itanalyses.blogspot.com/" target="_blank"&gt;Nanio
Nanev&lt;/a&gt; and his system administration company &lt;a href="http://www.primaconsult.net/" target="_blank"&gt;PrimaNet
Consult LTD&lt;/a&gt;. 
&lt;/p&gt;
&lt;p&gt;
The VM has Win2003 Web edition SP2 and it is very fast ( as it is hosted on monster
hosting server ) but there is one nasty issue we are fighting with: The network adapter
that is connected to WAN - external network and has real static IP address - hangs
once in a while.
&lt;/p&gt;
&lt;p&gt;
How is possible Intel 21140-Based PCI Fast Ethernet Adapter (Generic) Network adapter
on Virtual machine to hangs?!?!
&lt;/p&gt;
&lt;p&gt;
I was able to connect using internal network adapter and after disable and re-enable
WAN it was fine for another 3-4 hours.
&lt;/p&gt;
&lt;p&gt;
I've found a way to this by script - by using &lt;a href="http://support.microsoft.com/kb/311272" target="_blank"&gt;DevCon&lt;/a&gt; -
command-line utility functions as an alternative to Device Manager (&lt;a href="http://download.microsoft.com/download/1/1/f/11f7dd10-272d-4cd2-896f-9ce67f3e0240/devcon.exe" target="_blank"&gt;direct
download link&lt;/a&gt;).
&lt;/p&gt;
&lt;p&gt;
Using it this simple script does the job:
&lt;/p&gt;
&lt;div&gt;&lt;pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, 'Courier New', courier, monospace; border-right-style: none; border-left-style: none; background-color: #f4f4f4; border-bottom-style: none"&gt;C:\Install\devcon disable PCI\VEN_1011&amp;amp;DEV_0009&amp;amp;SUBSYS_21140A00&amp;amp;REV_20\3&amp;amp;267A616A&amp;amp;0&amp;amp;50
C:\Install\devcon enable PCI\VEN_1011&amp;amp;DEV_0009&amp;amp;SUBSYS_21140A00&amp;amp;REV_20\3&amp;amp;267A616A&amp;amp;0&amp;amp;50
&lt;/pre&gt;
&lt;/div&gt;
&lt;p&gt;
&lt;br&gt;
Note that device class can differ so the question "How did you get these?" comes naturally.
Here is how you can list all devices from setup class:
&lt;/p&gt;
&lt;div&gt;&lt;pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, 'Courier New', courier, monospace; border-right-style: none; border-left-style: none; background-color: #f4f4f4; border-bottom-style: none"&gt;c:\install\devcon listclass net&lt;/pre&gt;
&lt;/div&gt;
&lt;p&gt;
&lt;br&gt;
And here is the result in my case:
&lt;/p&gt;
&lt;p&gt;
&lt;a href="http://www.galcho.com/Blog/content/binary/WindowsLiveWriter/VirtualMachinesNetworkAdapterHangs_138C3/image_2.png"&gt;&lt;img style="border-right: 0px; border-top: 0px; border-left: 0px; border-bottom: 0px" border="0" alt="image" src="http://www.galcho.com/Blog/content/binary/WindowsLiveWriter/VirtualMachinesNetworkAdapterHangs_138C3/image_thumb.png" width="958" height="119"&gt;&lt;/a&gt; 
&lt;/p&gt;
&lt;p&gt;
So doing this reset on certain period helps now but this is not the smartest solution.
Does anyone have another idea?
&lt;/p&gt;
&lt;img width="0" height="0" src="http://www.galcho.com/Blog/aggbug.ashx?id=81f2e5d0-f258-4086-b8b1-53b73fc49545" /&gt;
&lt;br /&gt;
&lt;hr /&gt;
This weblog is using &lt;a href="http://www.codeplex.com/dasBlog"&gt;dasBlog&lt;/a&gt; hosted
by &lt;a href="http://www.primaconsult.net/"&gt;PrimaNet Consult LTD&lt;/a&gt;. </description>
      <comments>http://www.galcho.com/Blog/CommentView.aspx?guid=81f2e5d0-f258-4086-b8b1-53b73fc49545</comments>
      <category>Web</category>
      <category>Window Server System</category>
    </item>
    <item>
      <trackback:ping>http://www.galcho.com/Blog/Trackback.aspx?guid=7b6f67ab-28ed-4bfc-ad7a-abbfb82bdd54</trackback:ping>
      <pingback:server>http://www.galcho.com/Blog/pingback.aspx</pingback:server>
      <pingback:target>http://www.galcho.com/Blog/PermaLink.aspx?guid=7b6f67ab-28ed-4bfc-ad7a-abbfb82bdd54</pingback:target>
      <dc:creator>
      </dc:creator>
      <wfw:comment>http://www.galcho.com/Blog/CommentView.aspx?guid=7b6f67ab-28ed-4bfc-ad7a-abbfb82bdd54</wfw:comment>
      <wfw:commentRss>http://www.galcho.com/Blog/SyndicationService.asmx/GetEntryCommentsRss?guid=7b6f67ab-28ed-4bfc-ad7a-abbfb82bdd54</wfw:commentRss>
      <body xmlns="http://www.w3.org/1999/xhtml">
        <p>
It is wide known that creating <a href="http://en.wikipedia.org/wiki/Index_(database)" target="_blank">index</a> on
table column can speed up queries that has this column in it's Where clause. <a href="http://en.wikipedia.org/wiki/Index_(database)" target="_blank">Table
indexes</a> are binary trees in most cases and they are stored in pages similar to <a href="http://venkattechnicalblog.blogspot.com/2008/05/data-beyond-row-size-limit.html" target="_blank">stored
data itself</a>. Over time data changes which cause index changes and it require some
sort of maintenance to keep database optimized and running as fast as possible. 
</p>
        <blockquote>
          <p>
            <em>Over time these modifications can cause the information in the index to become
scattered in the database (fragmented). Fragmentation exists when indexes have pages
in which the logical ordering, based on the key value, does not match the physical
ordering inside the data file. Heavily fragmented indexes can degrade query performance
and cause your application to respond slowly.*</em>
          </p>
        </blockquote>
        <p>
This can be fixed by either rebuilding index (by dropping existing and create new
one) or reorganize it (or defrag it). 
</p>
        <h5>Rebuild indexes
</h5>
        <p>
Rebuilding indexes can be done by either one of these
</p>
        <ul>
          <li>
            <a href="http://technet.microsoft.com/en-us/library/ms188388.aspx" target="_blank">ALTER
INDEX</a>  with REBUILD option 
</li>
          <li>
            <a href="http://msdn.microsoft.com/en-us/library/ms181671.aspx" target="_blank">DBCC
DBREINDEX</a> (this will be replaced by the one above) 
</li>
          <li>
            <a href="http://msdn.microsoft.com/en-us/library/ms188783.aspx" target="_blank">CREATE
INDEX</a> ... WITH DROP_EXISTING</li>
        </ul>
        <p>
I won't cover the details as you can look them up on MSDN. Just my favorite way is
like following:
</p>
        <div>
          <pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, 'Courier New', courier, monospace; border-right-style: none; border-left-style: none; background-color: #f4f4f4; border-bottom-style: none">
            <span style="color: #0000ff">ALTER</span>
            <span style="color: #0000ff">INDEX</span>
            <span style="color: #0000ff">ALL</span>
            <span style="color: #0000ff">ON</span> Person.Address
REBUILD <span style="color: #0000ff">WITH</span> (ONLINE=<span style="color: #0000ff">ON</span>, <span style="color: #0000ff">FILLFACTOR</span> =
80, SORT_IN_TEMPDB = <span style="color: #0000ff">ON</span>, STATISTICS_NORECOMPUTE
= <span style="color: #0000ff">OFF</span>);</pre>
        </div>
        <p>
 
</p>
        <p>
The advantage is this operation is online - meaning you can query table during index
rebuild.
</p>
        <h5>Reorganizing indexes
</h5>
        <blockquote>
          <p>
            <em>Reorganizing an index defragments the leaf level of clustered and nonclustered
indexes on tables and views by physically reordering the leaf-level pages to match
the logical order (left to right) of the leaf nodes. Having the pages in order improves
index-scanning performance. The index is reorganized within the existing pages allocated
to it; no new pages are allocated. If an index spans more than one file, the files
are reorganized one at a time. Pages do not migrate between files.</em>
          </p>
          <p>
            <em>Reorganizing also compacts the index pages. Any empty pages created by this compaction
are removed providing additional available disk space.*</em>
          </p>
        </blockquote>
        <p>
  
</p>
        <p>
There are two ways to perform index reorganization:
</p>
        <ul>
          <li>
            <a href="http://technet.microsoft.com/en-us/library/ms188388.aspx" target="_blank">ALTER
INDEX</a> with REORGANIZE option 
</li>
          <li>
            <a href="http://msdn.microsoft.com/en-us/library/ms177571.aspx" target="_blank">DBCC
INDEXDEFRAG</a> (will be replaced by one above)</li>
        </ul>
        <p>
Again my preferable is this:
</p>
        <div>
          <pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, 'Courier New', courier, monospace; border-right-style: none; border-left-style: none; background-color: #f4f4f4; border-bottom-style: none">
            <span style="color: #0000ff">ALTER</span>
            <span style="color: #0000ff">INDEX</span>
            <span style="color: #0000ff">ALL</span>
            <span style="color: #0000ff">ON</span> Person.Address
REORGANIZE;</pre>
        </div>
        <p>
          <br />
This is also online operation.
</p>
        <p>
          <strong>Note: </strong>Although both operation stated above should be online I've
applied it on big tables (above 140M records on ~60 GB in two tables) and of course
it was pretty I/O intensive which caused some delays in performed queries. Having
in mind that default <a href="http://msdn.microsoft.com/en-us/library/system.data.sqlclient.sqlcommand.commandtimeout.aspx" target="_blank">CommandTimeout</a> in <a href="http://msdn.microsoft.com/en-us/library/system.data.sqlclient.aspx" target="_blank">.NET
Class Library</a> is 30 seconds and application writing at least once per minute creates
very challenging DB to maintain. Possible solution would be using <a href="http://msdn.microsoft.com/en-us/library/bb933866.aspx" target="_blank">MS
SQL Server 2008 Resource Governor</a>. Unfortunately the server was MS SQL 2005...
</p>
        <h5>How to detect fragmentation
</h5>
        <p>
In order to apply techniques described above fragmentation should be detected. For
this comes a new DMV (Dynamic Management View) <b><a href="http://technet.microsoft.com/en-us/library/ms188917.aspx" target="_blank">sys.dm_db_index_physical_stats</a></b> -
that gives us fragmentation in percent (<strong>avg_fragmentation_in_percent</strong>).   
</p>
        <p>
These are the recommendations depending on returned value in <strong><em>avg_fragmentation_in_percent </em></strong>column:
</p>
        <table style="background: #cccccc; margin-left: 3.75pt; width: 97%; border-top-style: none; border-right-style: none; border-left-style: none; border-collapse: collapse; border-bottom-style: none" class="MsoNormalTable" border="1" cellspacing="0" cellpadding="0" width="97%">
          <tbody>
            <tr>
              <td style="border-right: #cccccc 1pt solid; padding-right: 3.75pt; padding-left: 3.75pt; border-top: #cccccc 1pt solid; padding-bottom: 3.75pt; border-left: #cccccc 1pt solid; padding-top: 3.75pt; border-bottom: #c8cdde 1pt solid" valign="bottom">
                <p style="margin: 3.75pt 0in; line-height: normal" class="MsoNormal">
                  <b>
                    <span style="font-size: 8pt; color: #000066; font-family: 'Verdana','sans-serif'">avg_fragmentation_in_percent
value </span>
                  </b>
                </p>
              </td>
              <td style="border-right: #cccccc 1pt solid; padding-right: 3.75pt; padding-left: 3.75pt; border-top: #cccccc 1pt solid; padding-bottom: 3.75pt; padding-top: 3.75pt; border-bottom: #c8cdde 1pt solid; border-left-style: none" valign="bottom">
                <p style="margin: 3.75pt 0in; line-height: normal" class="MsoNormal">
                  <b>
                    <span style="font-size: 8pt; color: #000066; font-family: 'Verdana','sans-serif'">Corrective
statement </span>
                  </b>
                </p>
              </td>
            </tr>
            <tr>
              <td style="border-top-width: 1pt; border-right: #d5d5d3 1pt solid; padding-right: 3.75pt; padding-left: 3.75pt; background: white; padding-bottom: 3.75pt; border-left: #d5d5d3 1pt solid; border-top-color: #d5d5d3; padding-top: 3.75pt; border-bottom: #d5d5d3 1pt solid" valign="top">
                <p style="margin: 0in 0.75pt 7.5pt; line-height: normal" class="MsoNormal">
                  <span style="font-size: 8pt; color: black; font-family: 'Verdana','sans-serif'">&gt;
5% and &lt; = 30% </span>
                </p>
              </td>
              <td style="border-right: #d5d5d3 1pt solid; padding-right: 3.75pt; padding-left: 3.75pt; background: white; padding-bottom: 3.75pt; border-top-style: none; padding-top: 3.75pt; border-bottom: #d5d5d3 1pt solid; border-left-style: none" valign="top">
                <p style="margin: 0in 0.75pt 7.5pt; line-height: normal" class="MsoNormal">
                  <span style="font-size: 8pt; color: black; font-family: 'Verdana','sans-serif'">ALTER
INDEX REORGANIZE</span>
                </p>
              </td>
            </tr>
            <tr>
              <td style="border-top-width: 1pt; border-right: #d5d5d3 1pt solid; padding-right: 3.75pt; padding-left: 3.75pt; background: white; padding-bottom: 3.75pt; border-left: #d5d5d3 1pt solid; border-top-color: #d5d5d3; padding-top: 3.75pt; border-bottom: #d5d5d3 1pt solid" valign="top">
                <p style="margin: 0in 0.75pt 7.5pt; line-height: normal" class="MsoNormal">
                  <span style="font-size: 8pt; color: black; font-family: 'Verdana','sans-serif'">&gt;
30%</span>
                </p>
              </td>
              <td style="border-right: #d5d5d3 1pt solid; padding-right: 3.75pt; padding-left: 3.75pt; background: white; padding-bottom: 3.75pt; border-top-style: none; padding-top: 3.75pt; border-bottom: #d5d5d3 1pt solid; border-left-style: none" valign="top">
                <p style="margin: 0in 0.75pt 7.5pt; line-height: normal" class="MsoNormal">
                  <span style="font-size: 8pt; color: black; font-family: 'Verdana','sans-serif'">ALTER
INDEX REBUILD WITH (ONLINE = ON)*</span>
                </p>
              </td>
            </tr>
          </tbody>
        </table>
        <p>
 
</p>
        <p>
Using <b><a href="http://technet.microsoft.com/en-us/library/ms188917.aspx" target="_blank">sys.dm_db_index_physical_stats</a></b> could
not be very useful when used by itself so I prefer using it together with system tables
sys.tables and sys.indexes:
</p>
        <div>
          <pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, 'Courier New', courier, monospace; border-right-style: none; border-left-style: none; background-color: #f4f4f4; border-bottom-style: none">---=== <span style="color: #0000ff">get</span><span style="color: #0000ff">index</span> fragmentation <span style="color: #0000ff">SELECT</span> a.index_id,
t.name <span style="color: #0000ff">as</span> TableName, i.name <span style="color: #0000ff">as</span> IndexName,
avg_fragmentation_in_percent <span style="color: #0000ff">FROM</span> sys.dm_db_index_physical_stats(<span style="color: #0000ff">NULL</span>,<span style="color: #0000ff">NULL</span>,<span style="color: #0000ff">NULL</span>,<span style="color: #0000ff">NULL</span>,<span style="color: #0000ff">NULL</span>) <span style="color: #0000ff">AS</span> a <span style="color: #0000ff">INNER</span><span style="color: #0000ff">JOIN</span> sys.indexes <span style="color: #0000ff">AS</span> i <span style="color: #0000ff">ON</span> a.object_id
= i.object_id <span style="color: #0000ff">AND</span> a.index_id = i.index_id <span style="color: #0000ff">join</span> sys.tables
t <span style="color: #0000ff">on</span> t.object_id=i.object_id <span style="color: #0000ff">ORDER</span><span style="color: #0000ff">BY</span> avg_fragmentation_in_percent
DESC</pre>
        </div>
        <p>
 
</p>
        <p>
The result is like this (executed in AdventureWorks):
</p>
        <p>
          <a href="http://www.galcho.com/Blog/content/binary/WindowsLiveWriter/MaintainDBindexes_1301C/image_2.png">
            <img style="border-top-width: 0px; border-left-width: 0px; border-bottom-width: 0px; border-right-width: 0px" border="0" alt="image" src="http://www.galcho.com/Blog/content/binary/WindowsLiveWriter/MaintainDBindexes_1301C/image_thumb.png" width="689" height="213" />
          </a>   
</p>
        <p>
 <b><a href="http://technet.microsoft.com/en-us/library/ms188917.aspx" target="_blank">sys.dm_db_index_physical_stats</a></b> can
take time to execute so if you want to view all indexes with the table name this can
be used:
</p>
        <div>
          <pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, 'Courier New', courier, monospace; border-right-style: none; border-left-style: none; background-color: #f4f4f4; border-bottom-style: none">
            <span style="color: #0000ff">select</span> t.object_id,
t.name <span style="color: #0000ff">as</span> TableName, i.name <span style="color: #0000ff">as</span> IndexName,
i.type_desc <span style="color: #0000ff">as</span> IndexType <span style="color: #0000ff">from</span> sys.indexes
i <span style="color: #0000ff">join</span> sys.tables t <span style="color: #0000ff">on</span> t.object_id=i.object_id <span style="color: #0000ff">where</span> i.object_id
&gt;1000 <span style="color: #0000ff">order</span><span style="color: #0000ff">by</span> t.create_date
asc</pre>
        </div>
        <p>
          <br />
Which return following result:
</p>
        <p>
          <a href="http://www.galcho.com/Blog/content/binary/WindowsLiveWriter/MaintainDBindexes_1301C/image_4.png">
            <img style="border-right: 0px; border-top: 0px; border-left: 0px; border-bottom: 0px" border="0" alt="image" src="http://www.galcho.com/Blog/content/binary/WindowsLiveWriter/MaintainDBindexes_1301C/image_thumb_1.png" width="581" height="319" />
          </a>
        </p>
        <p>
And it can be used to generate detailed T-SQL queries for reorganizing indexes one
at time:
</p>
        <div>
          <pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, 'Courier New', courier, monospace; border-right-style: none; border-left-style: none; background-color: #f4f4f4; border-bottom-style: none">
            <span style="color: #0000ff">select</span>
            <span style="color: #006080">'ALTER
INDEX '</span> + i.name + <span style="color: #006080">' ON '</span> + t.name + <span style="color: #006080">'
REORGANIZE;'</span><span style="color: #0000ff">from</span> sys.indexes i <span style="color: #0000ff">join</span> sys.tables
t <span style="color: #0000ff">on</span> t.object_id=i.object_id <span style="color: #0000ff">where</span> i.object_id
&gt;100 <span style="color: #0000ff">order</span><span style="color: #0000ff">by</span> t.create_date
desc</pre>
        </div>
        <p>
          <br />
producing 
</p>
        <p>
          <a href="http://www.galcho.com/Blog/content/binary/WindowsLiveWriter/MaintainDBindexes_1301C/image_6.png">
            <img style="border-right: 0px; border-top: 0px; border-left: 0px; border-bottom: 0px" border="0" alt="image" src="http://www.galcho.com/Blog/content/binary/WindowsLiveWriter/MaintainDBindexes_1301C/image_thumb_2.png" width="649" height="206" />
          </a>
        </p>
        <h5>Summary
</h5>
        <p>
So far we took a look at following
</p>
        <ul>
          <li>
Detect index fragmentation</li>
          <li>
Rebuild indexes</li>
          <li>
Reorganize indexes</li>
          <li>
Use T-SQL to generate T-SQL to maintain indexes.</li>
        </ul>
        <p>
I hope this helps.
</p>
        <p>
* quoted from MSDN article <a href="http://technet.microsoft.com/en-us/library/ms189858.aspx" target="_blank">Reorganizing
and Rebuilding Indexes</a>.
</p>
        <img width="0" height="0" src="http://www.galcho.com/Blog/aggbug.ashx?id=7b6f67ab-28ed-4bfc-ad7a-abbfb82bdd54" />
        <br />
        <hr />
This weblog is using <a href="http://www.codeplex.com/dasBlog">dasBlog</a> hosted
by <a href="http://www.primaconsult.net/">PrimaNet Consult LTD</a>. 
</body>
      <title>Maintain Database Indexes</title>
      <guid isPermaLink="false">http://www.galcho.com/Blog/PermaLink.aspx?guid=7b6f67ab-28ed-4bfc-ad7a-abbfb82bdd54</guid>
      <link>http://www.galcho.com/Blog/PermaLink.aspx?guid=7b6f67ab-28ed-4bfc-ad7a-abbfb82bdd54</link>
      <pubDate>Sat, 13 Sep 2008 18:37:42 GMT</pubDate>
      <description>&lt;p&gt;
It is wide known that creating &lt;a href="http://en.wikipedia.org/wiki/Index_(database)" target="_blank"&gt;index&lt;/a&gt; on
table column can speed up queries that has this column in it's Where clause. &lt;a href="http://en.wikipedia.org/wiki/Index_(database)" target="_blank"&gt;Table
indexes&lt;/a&gt; are binary trees in most cases and they are stored in pages similar to &lt;a href="http://venkattechnicalblog.blogspot.com/2008/05/data-beyond-row-size-limit.html" target="_blank"&gt;stored
data itself&lt;/a&gt;. Over time data changes which cause index changes and it require some
sort of maintenance to keep database optimized and running as fast as possible. 
&lt;/p&gt;
&lt;blockquote&gt; 
&lt;p&gt;
&lt;em&gt;Over time these modifications can cause the information in the index to become
scattered in the database (fragmented). Fragmentation exists when indexes have pages
in which the logical ordering, based on the key value, does not match the physical
ordering inside the data file. Heavily fragmented indexes can degrade query performance
and cause your application to respond slowly.*&lt;/em&gt;
&lt;/p&gt;
&lt;/blockquote&gt; 
&lt;p&gt;
This can be fixed by either rebuilding index (by dropping existing and create new
one) or reorganize it (or defrag it). 
&lt;/p&gt;
&lt;h5&gt;Rebuild indexes
&lt;/h5&gt;
&lt;p&gt;
Rebuilding indexes can be done by either one of these
&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;a href="http://technet.microsoft.com/en-us/library/ms188388.aspx" target="_blank"&gt;ALTER
INDEX&lt;/a&gt;&amp;nbsp; with REBUILD option 
&lt;li&gt;
&lt;a href="http://msdn.microsoft.com/en-us/library/ms181671.aspx" target="_blank"&gt;DBCC
DBREINDEX&lt;/a&gt; (this will be replaced by the one above) 
&lt;li&gt;
&lt;a href="http://msdn.microsoft.com/en-us/library/ms188783.aspx" target="_blank"&gt;CREATE
INDEX&lt;/a&gt; ... WITH DROP_EXISTING&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;
I won't cover the details as you can look them up on MSDN. Just my favorite way is
like following:
&lt;/p&gt;
&lt;div&gt;&lt;pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, 'Courier New', courier, monospace; border-right-style: none; border-left-style: none; background-color: #f4f4f4; border-bottom-style: none"&gt;&lt;span style="color: #0000ff"&gt;ALTER&lt;/span&gt; &lt;span style="color: #0000ff"&gt;INDEX&lt;/span&gt; &lt;span style="color: #0000ff"&gt;ALL&lt;/span&gt; &lt;span style="color: #0000ff"&gt;ON&lt;/span&gt; Person.Address
REBUILD &lt;span style="color: #0000ff"&gt;WITH&lt;/span&gt; (ONLINE=&lt;span style="color: #0000ff"&gt;ON&lt;/span&gt;, &lt;span style="color: #0000ff"&gt;FILLFACTOR&lt;/span&gt; =
80, SORT_IN_TEMPDB = &lt;span style="color: #0000ff"&gt;ON&lt;/span&gt;, STATISTICS_NORECOMPUTE
= &lt;span style="color: #0000ff"&gt;OFF&lt;/span&gt;);&lt;/pre&gt;
&lt;/div&gt;
&lt;p&gt;
&amp;nbsp;
&lt;/p&gt;
&lt;p&gt;
The advantage is this operation is online - meaning you can query table during index
rebuild.
&lt;/p&gt;
&lt;h5&gt;Reorganizing indexes
&lt;/h5&gt;
&lt;blockquote&gt; 
&lt;p&gt;
&lt;em&gt;Reorganizing an index defragments the leaf level of clustered and nonclustered
indexes on tables and views by physically reordering the leaf-level pages to match
the logical order (left to right) of the leaf nodes. Having the pages in order improves
index-scanning performance. The index is reorganized within the existing pages allocated
to it; no new pages are allocated. If an index spans more than one file, the files
are reorganized one at a time. Pages do not migrate between files.&lt;/em&gt; 
&lt;p&gt;
&lt;em&gt;Reorganizing also compacts the index pages. Any empty pages created by this compaction
are removed providing additional available disk space.*&lt;/em&gt;
&lt;/p&gt;
&lt;/blockquote&gt; 
&lt;p&gt;
&amp;nbsp; 
&lt;p&gt;
There are two ways to perform index reorganization:
&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;a href="http://technet.microsoft.com/en-us/library/ms188388.aspx" target="_blank"&gt;ALTER
INDEX&lt;/a&gt; with REORGANIZE option 
&lt;li&gt;
&lt;a href="http://msdn.microsoft.com/en-us/library/ms177571.aspx" target="_blank"&gt;DBCC
INDEXDEFRAG&lt;/a&gt; (will be replaced by one above)&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;
Again my preferable is this:
&lt;/p&gt;
&lt;div&gt;&lt;pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, 'Courier New', courier, monospace; border-right-style: none; border-left-style: none; background-color: #f4f4f4; border-bottom-style: none"&gt;&lt;span style="color: #0000ff"&gt;ALTER&lt;/span&gt; &lt;span style="color: #0000ff"&gt;INDEX&lt;/span&gt; &lt;span style="color: #0000ff"&gt;ALL&lt;/span&gt; &lt;span style="color: #0000ff"&gt;ON&lt;/span&gt; Person.Address
REORGANIZE;&lt;/pre&gt;
&lt;/div&gt;
&lt;p&gt;
&lt;br&gt;
This is also online operation.
&lt;/p&gt;
&lt;p&gt;
&lt;strong&gt;Note: &lt;/strong&gt;Although both operation stated above should be online I've
applied it on big tables (above 140M records on ~60 GB in two tables) and of course
it was pretty I/O intensive which caused some delays in performed queries. Having
in mind that default &lt;a href="http://msdn.microsoft.com/en-us/library/system.data.sqlclient.sqlcommand.commandtimeout.aspx" target="_blank"&gt;CommandTimeout&lt;/a&gt; in &lt;a href="http://msdn.microsoft.com/en-us/library/system.data.sqlclient.aspx" target="_blank"&gt;.NET
Class Library&lt;/a&gt; is 30 seconds and application writing at least once per minute creates
very challenging DB to maintain. Possible solution would be using &lt;a href="http://msdn.microsoft.com/en-us/library/bb933866.aspx" target="_blank"&gt;MS
SQL Server 2008 Resource Governor&lt;/a&gt;. Unfortunately the server was MS SQL 2005...
&lt;/p&gt;
&lt;h5&gt;How to detect fragmentation
&lt;/h5&gt;
&lt;p&gt;
In order to apply techniques described above fragmentation should be detected. For
this comes a new DMV (Dynamic Management View) &lt;b&gt;&lt;a href="http://technet.microsoft.com/en-us/library/ms188917.aspx" target="_blank"&gt;sys.dm_db_index_physical_stats&lt;/a&gt;&lt;/b&gt; -
that gives us fragmentation in percent (&lt;strong&gt;avg_fragmentation_in_percent&lt;/strong&gt;).&amp;nbsp;&amp;nbsp; 
&lt;/p&gt;
&lt;p&gt;
These are the recommendations depending on returned value in &lt;strong&gt;&lt;em&gt;avg_fragmentation_in_percent &lt;/em&gt;&lt;/strong&gt;column:
&lt;/p&gt;
&lt;table style="background: #cccccc; margin-left: 3.75pt; width: 97%; border-top-style: none; border-right-style: none; border-left-style: none; border-collapse: collapse; border-bottom-style: none" class="MsoNormalTable" border="1" cellspacing="0" cellpadding="0" width="97%"&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td style="border-right: #cccccc 1pt solid; padding-right: 3.75pt; padding-left: 3.75pt; border-top: #cccccc 1pt solid; padding-bottom: 3.75pt; border-left: #cccccc 1pt solid; padding-top: 3.75pt; border-bottom: #c8cdde 1pt solid" valign="bottom"&gt;
&lt;p style="margin: 3.75pt 0in; line-height: normal" class="MsoNormal"&gt;
&lt;b&gt;&lt;span style="font-size: 8pt; color: #000066; font-family: 'Verdana','sans-serif'"&gt;avg_fragmentation_in_percent
value &lt;/span&gt;&lt;/b&gt;
&lt;/p&gt;
&lt;/td&gt;
&lt;td style="border-right: #cccccc 1pt solid; padding-right: 3.75pt; padding-left: 3.75pt; border-top: #cccccc 1pt solid; padding-bottom: 3.75pt; padding-top: 3.75pt; border-bottom: #c8cdde 1pt solid; border-left-style: none" valign="bottom"&gt;
&lt;p style="margin: 3.75pt 0in; line-height: normal" class="MsoNormal"&gt;
&lt;b&gt;&lt;span style="font-size: 8pt; color: #000066; font-family: 'Verdana','sans-serif'"&gt;Corrective
statement &lt;/span&gt;&lt;/b&gt;
&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td style="border-top-width: 1pt; border-right: #d5d5d3 1pt solid; padding-right: 3.75pt; padding-left: 3.75pt; background: white; padding-bottom: 3.75pt; border-left: #d5d5d3 1pt solid; border-top-color: #d5d5d3; padding-top: 3.75pt; border-bottom: #d5d5d3 1pt solid" valign="top"&gt;
&lt;p style="margin: 0in 0.75pt 7.5pt; line-height: normal" class="MsoNormal"&gt;
&lt;span style="font-size: 8pt; color: black; font-family: 'Verdana','sans-serif'"&gt;&amp;gt;
5% and &amp;lt; = 30% &lt;/span&gt;
&lt;/p&gt;
&lt;/td&gt;
&lt;td style="border-right: #d5d5d3 1pt solid; padding-right: 3.75pt; padding-left: 3.75pt; background: white; padding-bottom: 3.75pt; border-top-style: none; padding-top: 3.75pt; border-bottom: #d5d5d3 1pt solid; border-left-style: none" valign="top"&gt;
&lt;p style="margin: 0in 0.75pt 7.5pt; line-height: normal" class="MsoNormal"&gt;
&lt;span style="font-size: 8pt; color: black; font-family: 'Verdana','sans-serif'"&gt;ALTER
INDEX REORGANIZE&lt;/span&gt;
&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td style="border-top-width: 1pt; border-right: #d5d5d3 1pt solid; padding-right: 3.75pt; padding-left: 3.75pt; background: white; padding-bottom: 3.75pt; border-left: #d5d5d3 1pt solid; border-top-color: #d5d5d3; padding-top: 3.75pt; border-bottom: #d5d5d3 1pt solid" valign="top"&gt;
&lt;p style="margin: 0in 0.75pt 7.5pt; line-height: normal" class="MsoNormal"&gt;
&lt;span style="font-size: 8pt; color: black; font-family: 'Verdana','sans-serif'"&gt;&amp;gt;
30%&lt;/span&gt;
&lt;/p&gt;
&lt;/td&gt;
&lt;td style="border-right: #d5d5d3 1pt solid; padding-right: 3.75pt; padding-left: 3.75pt; background: white; padding-bottom: 3.75pt; border-top-style: none; padding-top: 3.75pt; border-bottom: #d5d5d3 1pt solid; border-left-style: none" valign="top"&gt;
&lt;p style="margin: 0in 0.75pt 7.5pt; line-height: normal" class="MsoNormal"&gt;
&lt;span style="font-size: 8pt; color: black; font-family: 'Verdana','sans-serif'"&gt;ALTER
INDEX REBUILD WITH (ONLINE = ON)*&lt;/span&gt;
&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;p&gt;
&amp;nbsp;
&lt;/p&gt;
&lt;p&gt;
Using &lt;b&gt;&lt;a href="http://technet.microsoft.com/en-us/library/ms188917.aspx" target="_blank"&gt;sys.dm_db_index_physical_stats&lt;/a&gt;&lt;/b&gt; could
not be very useful when used by itself so I prefer using it together with system tables
sys.tables and sys.indexes:
&lt;/p&gt;
&lt;div&gt;&lt;pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, 'Courier New', courier, monospace; border-right-style: none; border-left-style: none; background-color: #f4f4f4; border-bottom-style: none"&gt;---=== &lt;span style="color: #0000ff"&gt;get&lt;/span&gt; &lt;span style="color: #0000ff"&gt;index&lt;/span&gt; fragmentation &lt;span style="color: #0000ff"&gt;SELECT&lt;/span&gt; a.index_id,
t.name &lt;span style="color: #0000ff"&gt;as&lt;/span&gt; TableName, i.name &lt;span style="color: #0000ff"&gt;as&lt;/span&gt; IndexName,
avg_fragmentation_in_percent &lt;span style="color: #0000ff"&gt;FROM&lt;/span&gt; sys.dm_db_index_physical_stats(&lt;span style="color: #0000ff"&gt;NULL&lt;/span&gt;,&lt;span style="color: #0000ff"&gt;NULL&lt;/span&gt;,&lt;span style="color: #0000ff"&gt;NULL&lt;/span&gt;,&lt;span style="color: #0000ff"&gt;NULL&lt;/span&gt;,&lt;span style="color: #0000ff"&gt;NULL&lt;/span&gt;) &lt;span style="color: #0000ff"&gt;AS&lt;/span&gt; a &lt;span style="color: #0000ff"&gt;INNER&lt;/span&gt; &lt;span style="color: #0000ff"&gt;JOIN&lt;/span&gt; sys.indexes &lt;span style="color: #0000ff"&gt;AS&lt;/span&gt; i &lt;span style="color: #0000ff"&gt;ON&lt;/span&gt; a.object_id
= i.object_id &lt;span style="color: #0000ff"&gt;AND&lt;/span&gt; a.index_id = i.index_id &lt;span style="color: #0000ff"&gt;join&lt;/span&gt; sys.tables
t &lt;span style="color: #0000ff"&gt;on&lt;/span&gt; t.object_id=i.object_id &lt;span style="color: #0000ff"&gt;ORDER&lt;/span&gt; &lt;span style="color: #0000ff"&gt;BY&lt;/span&gt; avg_fragmentation_in_percent
DESC&lt;/pre&gt;
&lt;/div&gt;
&lt;p&gt;
&amp;nbsp;
&lt;/p&gt;
&lt;p&gt;
The result is like this (executed in AdventureWorks):
&lt;/p&gt;
&lt;p&gt;
&lt;a href="http://www.galcho.com/Blog/content/binary/WindowsLiveWriter/MaintainDBindexes_1301C/image_2.png"&gt;&lt;img style="border-top-width: 0px; border-left-width: 0px; border-bottom-width: 0px; border-right-width: 0px" border="0" alt="image" src="http://www.galcho.com/Blog/content/binary/WindowsLiveWriter/MaintainDBindexes_1301C/image_thumb.png" width="689" height="213"&gt;&lt;/a&gt;&amp;nbsp;&amp;nbsp; 
&lt;/p&gt;
&lt;p&gt;
&amp;nbsp;&lt;b&gt;&lt;a href="http://technet.microsoft.com/en-us/library/ms188917.aspx" target="_blank"&gt;sys.dm_db_index_physical_stats&lt;/a&gt;&lt;/b&gt; can
take time to execute so if you want to view all indexes with the table name this can
be used:
&lt;/p&gt;
&lt;div&gt;&lt;pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, 'Courier New', courier, monospace; border-right-style: none; border-left-style: none; background-color: #f4f4f4; border-bottom-style: none"&gt;&lt;span style="color: #0000ff"&gt;select&lt;/span&gt; t.object_id,
t.name &lt;span style="color: #0000ff"&gt;as&lt;/span&gt; TableName, i.name &lt;span style="color: #0000ff"&gt;as&lt;/span&gt; IndexName,
i.type_desc &lt;span style="color: #0000ff"&gt;as&lt;/span&gt; IndexType &lt;span style="color: #0000ff"&gt;from&lt;/span&gt; sys.indexes
i &lt;span style="color: #0000ff"&gt;join&lt;/span&gt; sys.tables t &lt;span style="color: #0000ff"&gt;on&lt;/span&gt; t.object_id=i.object_id &lt;span style="color: #0000ff"&gt;where&lt;/span&gt; i.object_id
&amp;gt;1000 &lt;span style="color: #0000ff"&gt;order&lt;/span&gt; &lt;span style="color: #0000ff"&gt;by&lt;/span&gt; t.create_date
asc&lt;/pre&gt;
&lt;/div&gt;
&lt;p&gt;
&lt;br&gt;
Which return following result:
&lt;/p&gt;
&lt;p&gt;
&lt;a href="http://www.galcho.com/Blog/content/binary/WindowsLiveWriter/MaintainDBindexes_1301C/image_4.png"&gt;&lt;img style="border-right: 0px; border-top: 0px; border-left: 0px; border-bottom: 0px" border="0" alt="image" src="http://www.galcho.com/Blog/content/binary/WindowsLiveWriter/MaintainDBindexes_1301C/image_thumb_1.png" width="581" height="319"&gt;&lt;/a&gt; 
&lt;/p&gt;
&lt;p&gt;
And it can be used to generate detailed T-SQL queries for reorganizing indexes one
at time:
&lt;/p&gt;
&lt;div&gt;&lt;pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: consolas, 'Courier New', courier, monospace; border-right-style: none; border-left-style: none; background-color: #f4f4f4; border-bottom-style: none"&gt;&lt;span style="color: #0000ff"&gt;select&lt;/span&gt; &lt;span style="color: #006080"&gt;'ALTER
INDEX '&lt;/span&gt; + i.name + &lt;span style="color: #006080"&gt;' ON '&lt;/span&gt; + t.name + &lt;span style="color: #006080"&gt;'
REORGANIZE;'&lt;/span&gt; &lt;span style="color: #0000ff"&gt;from&lt;/span&gt; sys.indexes i &lt;span style="color: #0000ff"&gt;join&lt;/span&gt; sys.tables
t &lt;span style="color: #0000ff"&gt;on&lt;/span&gt; t.object_id=i.object_id &lt;span style="color: #0000ff"&gt;where&lt;/span&gt; i.object_id
&amp;gt;100 &lt;span style="color: #0000ff"&gt;order&lt;/span&gt; &lt;span style="color: #0000ff"&gt;by&lt;/span&gt; t.create_date
desc&lt;/pre&gt;
&lt;/div&gt;
&lt;p&gt;
&lt;br&gt;
producing 
&lt;/p&gt;
&lt;p&gt;
&lt;a href="http://www.galcho.com/Blog/content/binary/WindowsLiveWriter/MaintainDBindexes_1301C/image_6.png"&gt;&lt;img style="border-right: 0px; border-top: 0px; border-left: 0px; border-bottom: 0px" border="0" alt="image" src="http://www.galcho.com/Blog/content/binary/WindowsLiveWriter/MaintainDBindexes_1301C/image_thumb_2.png" width="649" height="206"&gt;&lt;/a&gt; 
&lt;/p&gt;
&lt;h5&gt;Summary
&lt;/h5&gt;
&lt;p&gt;
So far we took a look at following
&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
Detect index fragmentation&lt;/li&gt;
&lt;li&gt;
Rebuild indexes&lt;/li&gt;
&lt;li&gt;
Reorganize indexes&lt;/li&gt;
&lt;li&gt;
Use T-SQL to generate T-SQL to maintain indexes.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;
I hope this helps.
&lt;/p&gt;
&lt;p&gt;
* quoted from MSDN article &lt;a href="http://technet.microsoft.com/en-us/library/ms189858.aspx" target="_blank"&gt;Reorganizing
and Rebuilding Indexes&lt;/a&gt;.
&lt;/p&gt;
&lt;img width="0" height="0" src="http://www.galcho.com/Blog/aggbug.ashx?id=7b6f67ab-28ed-4bfc-ad7a-abbfb82bdd54" /&gt;
&lt;br /&gt;
&lt;hr /&gt;
This weblog is using &lt;a href="http://www.codeplex.com/dasBlog"&gt;dasBlog&lt;/a&gt; hosted
by &lt;a href="http://www.primaconsult.net/"&gt;PrimaNet Consult LTD&lt;/a&gt;. </description>
      <comments>http://www.galcho.com/Blog/CommentView.aspx?guid=7b6f67ab-28ed-4bfc-ad7a-abbfb82bdd54</comments>
      <category>SQL</category>
      <category>Window Server System</category>
    </item>
    <item>
      <trackback:ping>http://www.galcho.com/Blog/Trackback.aspx?guid=17a8ef7c-c253-4912-9556-212a58d828bf</trackback:ping>
      <pingback:server>http://www.galcho.com/Blog/pingback.aspx</pingback:server>
      <pingback:target>http://www.galcho.com/Blog/PermaLink.aspx?guid=17a8ef7c-c253-4912-9556-212a58d828bf</pingback:target>
      <dc:creator>
      </dc:creator>
      <wfw:comment>http://www.galcho.com/Blog/CommentView.aspx?guid=17a8ef7c-c253-4912-9556-212a58d828bf</wfw:comment>
      <wfw:commentRss>http://www.galcho.com/Blog/SyndicationService.asmx/GetEntryCommentsRss?guid=17a8ef7c-c253-4912-9556-212a58d828bf</wfw:commentRss>
      <body xmlns="http://www.w3.org/1999/xhtml">
        <p>
You know <a href="http://www.microsoft.com" target="_blank">www.microsoft.com</a>,
right? :) This the corporate web site of the biggest software company and the very
wanted target of every hacker (or wanna-be hacker). When this website (or some other
Microsoft websites like <a href="http://www.msdn.com">www.msdn.com</a>) is down or
show an unexpected error there are <a href="http://omar.mvps.org/images/DatabaseconnectionstringwronginMSDNSubsc_1418A/MSDNdown11.gif" target="_blank">screenshots</a> on
the web (<a href="http://msmvps.com/blogs/omar/archive/2006/12/17/database-connection-string-wrong-in-msdn-subscription-website.aspx" target="_blank">and
blog posts</a>) and this become a news of the day in software world :) - or at least
on web dev world. 
</p>
        <p>
So now imagine of <strong>you</strong> are decision maker for hosting platform!? or
hardware behind it?! or setting a bandwidth :)?! There is very little room for mistakes,
huh? 
</p>
        <p>
And still <a href="http://www.microsoft.com">www.microsoft.com</a> is hosted on <a href="http://iis.net/" target="_blank">IIS7</a> .. <a href="http://blogs.iis.net/bills/archive/2007/06/15/www-microsoft-com-is-live-on-iis7-beta-3-are-you.aspx" target="_blank">since
Beta3</a> (post is from June 15th, 2007). When Microsoft trust enough on IIS7 and
host such important site on it, <u>why you can't</u>? 
</p>
        <p>
There is no doubt that the configuration behind Microsoft.com is interesting so here
is it:
</p>
        <p>
=============== Microsoft.com configuration ====================
</p>
        <p>
          <u>Hardware:</u>
        </p>
        <p>
  Model: HP DL585 G1 (4 dual-core CPUs) 
</p>
        <p>
  RAM: 32GB  
</p>
        <p>
          <u>OS:</u>
        </p>
        <p>
  Windows Server 2008 RTM (Build: 6.0.6001.18000) Enterprise version x6 
</p>
        <p>
          <u>Cluster</u>:<br />
  Number of clusters: 4 (in multiple datacenters)<br />
  Machines in each cluster: 20<br />
  Total machines: 80 
<br /><u>Load Balancing: 
<br /></u>  Hardware load balancing solution is used. The load balancing algorithm
we are using is based on “Least Current Client Connections” to each load balanced
member server of the cluster (not round robin, or other any other load balancing algorithms).
The hardware load balancer will maintain the same number of current client connections
to each member of the cluster. So if a W2K8 server is completing web requests faster
than a W2K3 server, the load balancer will send more traffic to the server W2K8 RTM
server.
</p>
        <p>
======================================================
</p>
        <p>
Recently some performance data has been released on <a href="http://blogs.technet.com/mscom/archive/2008/06/09/microsoft-com-operations-performance-analysis-of-iis-7-0-windows-server-2008.aspx" target="_blank">TechNet</a> and
here is what it says:
</p>
        <ul>
          <li>
Win2008/IIS7 process more Requests per second(RPS) than Win2003/IIS6.</li>
          <li>
Due to #1 Win2008's CPU is more utilized. 
</li>
          <li>
As Win2008/IIS7 is performing better the load balancer send more requests to it.</li>
        </ul>
        <p>
          <a href="http://www.galcho.com/Blog/content/binary/WindowsLiveWriter/Microsoft.comonIIS7performancedata_11E0/IIS7-vs-IIS6_2.jpg">
            <img style="border-right: 0px; border-top: 0px; border-left: 0px; border-bottom: 0px" border="0" alt="IIS7-vs-IIS6" src="http://www.galcho.com/Blog/content/binary/WindowsLiveWriter/Microsoft.comonIIS7performancedata_11E0/IIS7-vs-IIS6_thumb.jpg" width="671" height="199" />
          </a>
        </p>
        <table border="0" cellspacing="0" cellpadding="0" width="818">
          <tbody>
            <tr>
              <td valign="top" width="381">
                <img src="http://blogs.technet.com/photos/mscom/images/3068380/425x232.aspx" />
              </td>
              <td valign="top" width="435">
                <p>
                  <b>Server Efficiency (RPS/ CPU %) – Efficiency of serving live web platform traffic</b>
                </p>
                <p>
                  <b>W2K3 SP2</b> 4.36 “requests per CPU cycle” 
</p>
                <p>
                  <b>W2K8 RTM</b> 4.84 <b>~ 10.9%</b> increased efficiency <b></b></p>
              </td>
            </tr>
            <tr>
              <td valign="top" width="381">
                <img src="http://blogs.technet.com/photos/mscom/images/3068390/425x245.aspx" />
              </td>
              <td valign="top" width="435">
                <p>
                  <b>CPU Utilization (%)</b>
                </p>
                <p>
                  <b>W2K3 SP2</b> 44.8% 
</p>
                <p>
                  <b>W2K8 RTM</b> 52.8% <b>~ 17.9% degradation (This is impacted by the increased RPS
the W2K8 servers are handling)</b></p>
              </td>
            </tr>
            <tr>
              <td valign="top" width="381">
                <img src="http://blogs.technet.com/photos/mscom/images/3068392/425x254.aspx" />
              </td>
              <td valign="top" width="435">
                <p>
                  <b>Web Service – Total Methods Requests/Sec (RPS)</b>
                </p>
                <p>
                  <b>W2K3 SP2</b> 194 
</p>
                <p>
                  <b>W2K8 RTM</b> 255 <b>~ 31.4% more traffic is being sent to the W2K8 RTM servers</b></p>
              </td>
            </tr>
            <tr>
              <td valign="top" width="381">
                <img src="http://blogs.technet.com/photos/mscom/images/3068393/425x232.aspx" />
              </td>
              <td valign="top" width="435">
                <p>
                  <b>Web Service – Current Connections</b>
                </p>
                <p>
                  <b>W2K3 SP2</b> 280 
</p>
                <p>
                  <b>W2K8 RTM</b> 294 <b>~ 5% increase</b></p>
              </td>
            </tr>
            <tr>
              <td valign="top" width="381">
                <img src="http://blogs.technet.com/photos/mscom/images/3068394/425x241.aspx" />
              </td>
              <td valign="top" width="435">
                <p>
                  <b>Load Balancing – Current Client Connections</b>
                </p>
                <p>
                  <b>W2K3 SP2</b> 116 
</p>
                <p>
                  <b>W2K8 RTM</b> 116 <b>Equal – as the hardware load balancer maintains the same amount
of outstanding open client connections.</b></p>
              </td>
            </tr>
            <tr>
              <td valign="top" width="381">
                <img src="http://blogs.technet.com/photos/mscom/images/3068395/425x232.aspx" />
              </td>
              <td valign="top" width="435">
                <p>
                  <b>.NET CLR Memory – % Time in GC</b>
                </p>
                <p>
                  <b>W2K3 SP2</b> 1.1% 
</p>
                <p>
                  <b>W2K8 RTM</b> 2.5% <b>No significant degradation in “Time in GC</b></p>
              </td>
            </tr>
          </tbody>
        </table>
        <p>
 
</p>
        <p>
Source: <a href="http://blogs.technet.com/mscom" target="_blank">Microsoft.com Operations</a><a href="http://blogs.technet.com/mscom/archive/2008/06/09/microsoft-com-operations-performance-analysis-of-iis-7-0-windows-server-2008.aspx" target="_blank">blog
post</a> on TechNet.
</p>
        <p>
IIS7 is really next generation web platform...
</p>
        <img width="0" height="0" src="http://www.galcho.com/Blog/aggbug.ashx?id=17a8ef7c-c253-4912-9556-212a58d828bf" />
        <br />
        <hr />
This weblog is using <a href="http://www.codeplex.com/dasBlog">dasBlog</a> hosted
by <a href="http://www.primaconsult.net/">PrimaNet Consult LTD</a>. 
</body>
      <title>Microsoft.com on IIS7 performance data</title>
      <guid isPermaLink="false">http://www.galcho.com/Blog/PermaLink.aspx?guid=17a8ef7c-c253-4912-9556-212a58d828bf</guid>
      <link>http://www.galcho.com/Blog/PermaLink.aspx?guid=17a8ef7c-c253-4912-9556-212a58d828bf</link>
      <pubDate>Mon, 08 Sep 2008 06:48:52 GMT</pubDate>
      <description>&lt;p&gt;
You know &lt;a href="http://www.microsoft.com" target="_blank"&gt;www.microsoft.com&lt;/a&gt;,
right? :) This the corporate web site of the biggest software company and the very
wanted target of every hacker (or wanna-be hacker). When this website (or some other
Microsoft websites like &lt;a href="http://www.msdn.com"&gt;www.msdn.com&lt;/a&gt;) is down or
show an unexpected error there are &lt;a href="http://omar.mvps.org/images/DatabaseconnectionstringwronginMSDNSubsc_1418A/MSDNdown11.gif" target="_blank"&gt;screenshots&lt;/a&gt; on
the web (&lt;a href="http://msmvps.com/blogs/omar/archive/2006/12/17/database-connection-string-wrong-in-msdn-subscription-website.aspx" target="_blank"&gt;and
blog posts&lt;/a&gt;) and this become a news of the day in software world :) - or at least
on web dev world. 
&lt;/p&gt;
&lt;p&gt;
So now imagine of &lt;strong&gt;you&lt;/strong&gt; are decision maker for hosting platform!? or
hardware behind it?! or setting a bandwidth :)?! There is very little room for mistakes,
huh? 
&lt;/p&gt;
&lt;p&gt;
And still &lt;a href="http://www.microsoft.com"&gt;www.microsoft.com&lt;/a&gt; is hosted on &lt;a href="http://iis.net/" target="_blank"&gt;IIS7&lt;/a&gt; .. &lt;a href="http://blogs.iis.net/bills/archive/2007/06/15/www-microsoft-com-is-live-on-iis7-beta-3-are-you.aspx" target="_blank"&gt;since
Beta3&lt;/a&gt; (post is from June 15th, 2007). When Microsoft trust enough on IIS7 and
host such important site on it, &lt;u&gt;why you can't&lt;/u&gt;? 
&lt;/p&gt;
&lt;p&gt;
There is no doubt that the configuration behind Microsoft.com is interesting so here
is it:
&lt;/p&gt;
&lt;p&gt;
=============== Microsoft.com configuration ====================
&lt;/p&gt;
&lt;p&gt;
&lt;u&gt;Hardware:&lt;/u&gt; 
&lt;p&gt;
&amp;nbsp; Model: HP DL585 G1 (4 dual-core CPUs) 
&lt;p&gt;
&amp;nbsp; RAM: 32GB&amp;nbsp; 
&lt;p&gt;
&lt;u&gt;OS:&lt;/u&gt; 
&lt;p&gt;
&amp;nbsp; Windows Server 2008 RTM (Build: 6.0.6001.18000) Enterprise version x6 
&lt;p&gt;
&lt;u&gt;Cluster&lt;/u&gt;:&lt;br&gt;
&amp;nbsp; Number of clusters: 4 (in multiple datacenters)&lt;br&gt;
&amp;nbsp; Machines in each cluster: 20&lt;br&gt;
&amp;nbsp; Total machines: 80 
&lt;br&gt;
&lt;u&gt;Load Balancing: 
&lt;br&gt;
&lt;/u&gt;&amp;nbsp; Hardware load balancing solution is used. The load balancing algorithm
we are using is based on “Least Current Client Connections” to each load balanced
member server of the cluster (not round robin, or other any other load balancing algorithms).
The hardware load balancer will maintain the same number of current client connections
to each member of the cluster. So if a W2K8 server is completing web requests faster
than a W2K3 server, the load balancer will send more traffic to the server W2K8 RTM
server.
&lt;/p&gt;
&lt;p&gt;
======================================================
&lt;/p&gt;
&lt;p&gt;
Recently some performance data has been released on &lt;a href="http://blogs.technet.com/mscom/archive/2008/06/09/microsoft-com-operations-performance-analysis-of-iis-7-0-windows-server-2008.aspx" target="_blank"&gt;TechNet&lt;/a&gt; and
here is what it says:
&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
Win2008/IIS7 process more Requests per second(RPS) than Win2003/IIS6.&lt;/li&gt;
&lt;li&gt;
Due to #1 Win2008's CPU is more utilized. 
&lt;/li&gt;
&lt;li&gt;
As Win2008/IIS7 is performing better the load balancer send more requests to it.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;
&lt;a href="http://www.galcho.com/Blog/content/binary/WindowsLiveWriter/Microsoft.comonIIS7performancedata_11E0/IIS7-vs-IIS6_2.jpg"&gt;&lt;img style="border-right: 0px; border-top: 0px; border-left: 0px; border-bottom: 0px" border="0" alt="IIS7-vs-IIS6" src="http://www.galcho.com/Blog/content/binary/WindowsLiveWriter/Microsoft.comonIIS7performancedata_11E0/IIS7-vs-IIS6_thumb.jpg" width="671" height="199"&gt;&lt;/a&gt; 
&lt;/p&gt;
&lt;table border="0" cellspacing="0" cellpadding="0" width="818"&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td valign="top" width="381"&gt;
&lt;img src="http://blogs.technet.com/photos/mscom/images/3068380/425x232.aspx"&gt; 
&lt;/td&gt;
&lt;td valign="top" width="435"&gt;
&lt;p&gt;
&lt;b&gt;Server Efficiency (RPS/ CPU %) – Efficiency of serving live web platform traffic&lt;/b&gt; 
&lt;p&gt;
&lt;b&gt;W2K3 SP2&lt;/b&gt; 4.36 “requests per CPU cycle” 
&lt;p&gt;
&lt;b&gt;W2K8 RTM&lt;/b&gt; 4.84 &lt;b&gt;~ 10.9%&lt;/b&gt; increased efficiency &lt;b&gt;&lt;/b&gt;
&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td valign="top" width="381"&gt;
&lt;img src="http://blogs.technet.com/photos/mscom/images/3068390/425x245.aspx"&gt; 
&lt;/td&gt;
&lt;td valign="top" width="435"&gt;
&lt;p&gt;
&lt;b&gt;CPU Utilization (%)&lt;/b&gt; 
&lt;p&gt;
&lt;b&gt;W2K3 SP2&lt;/b&gt; 44.8% 
&lt;p&gt;
&lt;b&gt;W2K8 RTM&lt;/b&gt; 52.8% &lt;b&gt;~ 17.9% degradation (This is impacted by the increased RPS
the W2K8 servers are handling)&lt;/b&gt;
&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td valign="top" width="381"&gt;
&lt;img src="http://blogs.technet.com/photos/mscom/images/3068392/425x254.aspx"&gt; 
&lt;/td&gt;
&lt;td valign="top" width="435"&gt;
&lt;p&gt;
&lt;b&gt;Web Service – Total Methods Requests/Sec (RPS)&lt;/b&gt; 
&lt;p&gt;
&lt;b&gt;W2K3 SP2&lt;/b&gt; 194 
&lt;p&gt;
&lt;b&gt;W2K8 RTM&lt;/b&gt; 255 &lt;b&gt;~ 31.4% more traffic is being sent to the W2K8 RTM servers&lt;/b&gt;
&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td valign="top" width="381"&gt;
&lt;img src="http://blogs.technet.com/photos/mscom/images/3068393/425x232.aspx"&gt; 
&lt;/td&gt;
&lt;td valign="top" width="435"&gt;
&lt;p&gt;
&lt;b&gt;Web Service – Current Connections&lt;/b&gt; 
&lt;p&gt;
&lt;b&gt;W2K3 SP2&lt;/b&gt; 280 
&lt;p&gt;
&lt;b&gt;W2K8 RTM&lt;/b&gt; 294 &lt;b&gt;~ 5% increase&lt;/b&gt;
&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td valign="top" width="381"&gt;
&lt;img src="http://blogs.technet.com/photos/mscom/images/3068394/425x241.aspx"&gt; 
&lt;/td&gt;
&lt;td valign="top" width="435"&gt;
&lt;p&gt;
&lt;b&gt;Load Balancing – Current Client Connections&lt;/b&gt; 
&lt;p&gt;
&lt;b&gt;W2K3 SP2&lt;/b&gt; 116 
&lt;p&gt;
&lt;b&gt;W2K8 RTM&lt;/b&gt; 116 &lt;b&gt;Equal – as the hardware load balancer maintains the same amount
of outstanding open client connections.&lt;/b&gt;
&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td valign="top" width="381"&gt;
&lt;img src="http://blogs.technet.com/photos/mscom/images/3068395/425x232.aspx"&gt; 
&lt;/td&gt;
&lt;td valign="top" width="435"&gt;
&lt;p&gt;
&lt;b&gt;.NET CLR Memory – % Time in GC&lt;/b&gt; 
&lt;p&gt;
&lt;b&gt;W2K3 SP2&lt;/b&gt; 1.1% 
&lt;p&gt;
&lt;b&gt;W2K8 RTM&lt;/b&gt; 2.5% &lt;b&gt;No significant degradation in “Time in GC&lt;/b&gt;
&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;p&gt;
&amp;nbsp;
&lt;/p&gt;
&lt;p&gt;
Source: &lt;a href="http://blogs.technet.com/mscom" target="_blank"&gt;Microsoft.com Operations&lt;/a&gt; &lt;a href="http://blogs.technet.com/mscom/archive/2008/06/09/microsoft-com-operations-performance-analysis-of-iis-7-0-windows-server-2008.aspx" target="_blank"&gt;blog
post&lt;/a&gt; on TechNet.
&lt;/p&gt;
&lt;p&gt;
IIS7 is really next generation web platform...
&lt;/p&gt;
&lt;img width="0" height="0" src="http://www.galcho.com/Blog/aggbug.ashx?id=17a8ef7c-c253-4912-9556-212a58d828bf" /&gt;
&lt;br /&gt;
&lt;hr /&gt;
This weblog is using &lt;a href="http://www.codeplex.com/dasBlog"&gt;dasBlog&lt;/a&gt; hosted
by &lt;a href="http://www.primaconsult.net/"&gt;PrimaNet Consult LTD&lt;/a&gt;. </description>
      <comments>http://www.galcho.com/Blog/CommentView.aspx?guid=17a8ef7c-c253-4912-9556-212a58d828bf</comments>
      <category>IIS</category>
      <category>Web</category>
      <category>Window Server System</category>
    </item>
    <item>
      <trackback:ping>http://www.galcho.com/Blog/Trackback.aspx?guid=a41b681a-9812-4c87-9798-051bc6458076</trackback:ping>
      <pingback:server>http://www.galcho.com/Blog/pingback.aspx</pingback:server>
      <pingback:target>http://www.galcho.com/Blog/PermaLink.aspx?guid=a41b681a-9812-4c87-9798-051bc6458076</pingback:target>
      <dc:creator>
      </dc:creator>
      <wfw:comment>http://www.galcho.com/Blog/CommentView.aspx?guid=a41b681a-9812-4c87-9798-051bc6458076</wfw:comment>
      <wfw:commentRss>http://www.galcho.com/Blog/SyndicationService.asmx/GetEntryCommentsRss?guid=a41b681a-9812-4c87-9798-051bc6458076</wfw:commentRss>
      <body xmlns="http://www.w3.org/1999/xhtml">
        <p>
Have you seen such screen before?
</p>
        <p>
          <a href="http://www.galcho.com/Blog/content/binary/WindowsLiveWriter/x64WindowsServer2008Multicore2TRAM_CF33/TaskManager_2.png">
            <img style="border-right: 0px; border-top: 0px; border-left: 0px; border-bottom: 0px" height="419" alt="TaskManager" src="http://www.galcho.com/Blog/content/binary/WindowsLiveWriter/x64WindowsServer2008Multicore2TRAM_CF33/TaskManager_thumb.png" width="525" border="0" />
          </a>
        </p>
        <p>
This one of the servers used by Windows Server Performance Team in their lab. 
</p>
        <p>
The screenshot is taken from <a href="http://blogs.technet.com/markrussinovich/archive/2008/07/21/3092070.aspx" target="_blank">Mark
Russinovich's blog post</a> where he digs into details of how Windows manages RAM.
Having in mind this is popular question on tech job interviews maybe it would worth
to know some more details :)
</p>
        <img width="0" height="0" src="http://www.galcho.com/Blog/aggbug.ashx?id=a41b681a-9812-4c87-9798-051bc6458076" />
        <br />
        <hr />
This weblog is using <a href="http://www.codeplex.com/dasBlog">dasBlog</a> hosted
by <a href="http://www.primaconsult.net/">PrimaNet Consult LTD</a>. 
</body>
      <title>x64 Windows Server 2008 @ Multicore &amp;amp; 2T RAM</title>
      <guid isPermaLink="false">http://www.galcho.com/Blog/PermaLink.aspx?guid=a41b681a-9812-4c87-9798-051bc6458076</guid>
      <link>http://www.galcho.com/Blog/PermaLink.aspx?guid=a41b681a-9812-4c87-9798-051bc6458076</link>
      <pubDate>Thu, 07 Aug 2008 11:43:54 GMT</pubDate>
      <description>&lt;p&gt;
Have you seen such screen before?
&lt;/p&gt;
&lt;p&gt;
&lt;a href="http://www.galcho.com/Blog/content/binary/WindowsLiveWriter/x64WindowsServer2008Multicore2TRAM_CF33/TaskManager_2.png"&gt;&lt;img style="border-right: 0px; border-top: 0px; border-left: 0px; border-bottom: 0px" height="419" alt="TaskManager" src="http://www.galcho.com/Blog/content/binary/WindowsLiveWriter/x64WindowsServer2008Multicore2TRAM_CF33/TaskManager_thumb.png" width="525" border="0"&gt;&lt;/a&gt; 
&lt;/p&gt;
&lt;p&gt;
This one of the servers used by Windows Server Performance Team in their lab. 
&lt;/p&gt;
&lt;p&gt;
The screenshot is taken from &lt;a href="http://blogs.technet.com/markrussinovich/archive/2008/07/21/3092070.aspx" target="_blank"&gt;Mark
Russinovich's blog post&lt;/a&gt; where he digs into details of how Windows manages RAM.
Having in mind this is popular question on tech job interviews maybe it would worth
to know some more details :)
&lt;/p&gt;
&lt;img width="0" height="0" src="http://www.galcho.com/Blog/aggbug.ashx?id=a41b681a-9812-4c87-9798-051bc6458076" /&gt;
&lt;br /&gt;
&lt;hr /&gt;
This weblog is using &lt;a href="http://www.codeplex.com/dasBlog"&gt;dasBlog&lt;/a&gt; hosted
by &lt;a href="http://www.primaconsult.net/"&gt;PrimaNet Consult LTD&lt;/a&gt;. </description>
      <comments>http://www.galcho.com/Blog/CommentView.aspx?guid=a41b681a-9812-4c87-9798-051bc6458076</comments>
      <category>Window Server System</category>
    </item>
    <item>
      <trackback:ping>http://www.galcho.com/Blog/Trackback.aspx?guid=3420936a-d319-4ced-a5fe-1924c87f8db7</trackback:ping>
      <pingback:server>http://www.galcho.com/Blog/pingback.aspx</pingback:server>
      <pingback:target>http://www.galcho.com/Blog/PermaLink.aspx?guid=3420936a-d319-4ced-a5fe-1924c87f8db7</pingback:target>
      <dc:creator>
      </dc:creator>
      <wfw:comment>http://www.galcho.com/Blog/CommentView.aspx?guid=3420936a-d319-4ced-a5fe-1924c87f8db7</wfw:comment>
      <wfw:commentRss>http://www.galcho.com/Blog/SyndicationService.asmx/GetEntryCommentsRss?guid=3420936a-d319-4ced-a5fe-1924c87f8db7</wfw:commentRss>
      <body xmlns="http://www.w3.org/1999/xhtml">
        <p>
I came across <a href="http://technet.microsoft.com/en-us/magazine/cc160896(TechNet.10).aspx" target="_blank">an
article</a> which covers some details of how ASP.NET web sites hosted by Microsoft
are configured:
</p>
        <p>
Key things are:
</p>
        <ol>
          <li>
Set the Compilation Switch Appropriately</li>
          <li>
Use Medium Trust in ASP.NET 2.0</li>
          <li>
Restrict Download of Specified File Types</li>
          <li>
Be Careful When Adding Assembly References</li>
          <li>
Remove Manually Set MaxConnection Values</li>
          <li>
Beware of Unhandled Exceptions</li>
          <li>
Ensure Proper Proxy Server Configuration</li>
          <li>
Do Not Display Custom Errors to Everyone</li>
          <li>
Know When to Enable Tracing</li>
          <li>
Disable Session State Web Farms</li>
        </ol>
        <p>
          <a href="http://technet.microsoft.com/en-us/magazine/cc160896(TechNet.10).aspx" target="_blank">Read
full article</a> for detailed explanations.
</p>
        <img width="0" height="0" src="http://www.galcho.com/Blog/aggbug.ashx?id=3420936a-d319-4ced-a5fe-1924c87f8db7" />
        <br />
        <hr />
This weblog is using <a href="http://www.codeplex.com/dasBlog">dasBlog</a> hosted
by <a href="http://www.primaconsult.net/">PrimaNet Consult LTD</a>. 
</body>
      <title>ASP.NET Configuration @ Microsoft.com</title>
      <guid isPermaLink="false">http://www.galcho.com/Blog/PermaLink.aspx?guid=3420936a-d319-4ced-a5fe-1924c87f8db7</guid>
      <link>http://www.galcho.com/Blog/PermaLink.aspx?guid=3420936a-d319-4ced-a5fe-1924c87f8db7</link>
      <pubDate>Tue, 15 Jul 2008 17:35:24 GMT</pubDate>
      <description>&lt;p&gt;
I came across &lt;a href="http://technet.microsoft.com/en-us/magazine/cc160896(TechNet.10).aspx" target="_blank"&gt;an
article&lt;/a&gt; which covers some details of how ASP.NET web sites hosted by Microsoft
are configured:
&lt;/p&gt;
&lt;p&gt;
Key things are:
&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
Set the Compilation Switch Appropriately&lt;/li&gt;
&lt;li&gt;
Use Medium Trust in ASP.NET 2.0&lt;/li&gt;
&lt;li&gt;
Restrict Download of Specified File Types&lt;/li&gt;
&lt;li&gt;
Be Careful When Adding Assembly References&lt;/li&gt;
&lt;li&gt;
Remove Manually Set MaxConnection Values&lt;/li&gt;
&lt;li&gt;
Beware of Unhandled Exceptions&lt;/li&gt;
&lt;li&gt;
Ensure Proper Proxy Server Configuration&lt;/li&gt;
&lt;li&gt;
Do Not Display Custom Errors to Everyone&lt;/li&gt;
&lt;li&gt;
Know When to Enable Tracing&lt;/li&gt;
&lt;li&gt;
Disable Session State Web Farms&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;
&lt;a href="http://technet.microsoft.com/en-us/magazine/cc160896(TechNet.10).aspx" target="_blank"&gt;Read
full article&lt;/a&gt; for detailed explanations.
&lt;/p&gt;
&lt;img width="0" height="0" src="http://www.galcho.com/Blog/aggbug.ashx?id=3420936a-d319-4ced-a5fe-1924c87f8db7" /&gt;
&lt;br /&gt;
&lt;hr /&gt;
This weblog is using &lt;a href="http://www.codeplex.com/dasBlog"&gt;dasBlog&lt;/a&gt; hosted
by &lt;a href="http://www.primaconsult.net/"&gt;PrimaNet Consult LTD&lt;/a&gt;. </description>
      <comments>http://www.galcho.com/Blog/CommentView.aspx?guid=3420936a-d319-4ced-a5fe-1924c87f8db7</comments>
      <category>.NET Development</category>
      <category>Web</category>
      <category>Window Server System</category>
    </item>
    <item>
      <trackback:ping>http://www.galcho.com/Blog/Trackback.aspx?guid=1c8b20dc-dfd2-4bf6-8153-f5d352db740c</trackback:ping>
      <pingback:server>http://www.galcho.com/Blog/pingback.aspx</pingback:server>
      <pingback:target>http://www.galcho.com/Blog/PermaLink.aspx?guid=1c8b20dc-dfd2-4bf6-8153-f5d352db740c</pingback:target>
      <dc:creator>
      </dc:creator>
      <wfw:comment>http://www.galcho.com/Blog/CommentView.aspx?guid=1c8b20dc-dfd2-4bf6-8153-f5d352db740c</wfw:comment>
      <wfw:commentRss>http://www.galcho.com/Blog/SyndicationService.asmx/GetEntryCommentsRss?guid=1c8b20dc-dfd2-4bf6-8153-f5d352db740c</wfw:commentRss>
      <body xmlns="http://www.w3.org/1999/xhtml">
        <p>
MS Days 2008 in Bulgaria is in history now and I could say I had a nice two days.
There were many lecturers (about 50) and 72 sessions in 6 tracks. 
</p>
        <p>
For those who missed my talks or are interested in slides here are summary of the
sessions:
</p>
        <h5>LINQ to XML - Data Access Technologies
</h5>
        <p>
This session was focused on the new API from XML team for .NET languages. I gave a
side by side comparison between traditional DOM vs. LINQ to XML regarding those most
common actions:
</p>
        <ul>
          <li>
Create XML</li>
          <li>
Traverse XML</li>
          <li>
Transform XML</li>
        </ul>
        <p>
I covered also <a href="http://msdn.microsoft.com/en-us/library/bb384460.aspx" target="_blank">VB9
Literals</a>. At the moment I started talking about VB I was thinking people would
throw rocks at me (and some really considered that option:) ). But at the moment when
repeated some of demos with VB9 code the audience was very impressed and they forgot
about those rocks in their pockets. Even there were initial brainstorming whether
same things can be implemented in C# with custom code.(Unfortunately this is a compiler
feature and we cannot do it very easily).
</p>
        <p>
Another thing I mentioned was <a href="http://blogs.msdn.com/xmlteam/archive/2007/06/05/linq-to-xsd-preview-alpha-0-2-to-go-with-orcas-beta-1.aspx" target="_blank">LINQ
to XSD</a>.
</p>
        <p>
I've decided that people will understand my points better if I write code in front
of them instead of just explaining it. This is also more challenging :). I think it
went well... 
</p>
        <p>
Here are the downloads:
</p>
        <ul>
          <li>
            <a href="http://www.galcho.com/Blog/content/binary/msdays08/MS%20Days_08_LINQ_to_XML.pptx" target="_blank">MS
PowerPoint 2007 Presentation</a> (808KB)</li>
          <li>
Script of the code I ran: <a href="http://www.galcho.com/Blog/content/binary/msdays08/LINQtoXML-Demos.docx" target="_blank">MS
Word 2007</a> (13KB)</li>
        </ul>
        <h5>IIS7 for IT Pros
</h5>
        <p>
IIS7 is <a href="http://www.galcho.com/Blog/PermaLink.aspx?guid=9d2cc122-8e39-4184-b42b-1d8cec5a8f9e" target="_blank">the
most interesting feature</a> in Windows Server 2008 and I already <a href="http://www.galcho.com/Blog/PermaLink.aspx?guid=7c479686-2852-4aaa-987d-40059ab4398a" target="_blank">had
some talks</a> about it. In this talk I covered (from administration perspective)
following key topics:
</p>
        <ul>
          <li>
What is missing in IIS 6.0</li>
          <li>
IIS7 module architecture and it's benefits</li>
          <li>
New .NET-like configuration files and metadata</li>
          <li>
Delegated Administration</li>
          <li>
Shared Configuration</li>
          <li>
Tracing and Diagnostics</li>
        </ul>
        <p>
The things I've demonstrated are:
</p>
        <ol>
          <li>
New tools - new management console as well as APPCMD command-line tool</li>
          <li>
Richness of new error pages and generated trace file - it is whole HTML+JS application
built with XML &amp; XSLT with incredible amount of information.</li>
          <li>
            <a href="http://www.galcho.com/articles/StressTestingWCAT.aspx" target="_blank">WCAT
stress test</a> with view of live requests on the server. 
</li>
          <li>
Analyze server and site load using <a href="http://www.galcho.com/Blog/PermaLink.aspx?guid=27f1cc40-ae89-4f71-a4a2-52f79b29b73d" target="_blank">IIS7
Admin Pack</a> features.</li>
        </ol>
        <p>
And here is the presentation: <a href="http://www.galcho.com/Blog/content/binary/msdays08/MS%20Days_08_IIS7.pptx" target="_blank">MS
PowerPoint 2007 format</a> (0.98 MB)
</p>
        <p>
Any feedback is very welcome.
</p>
        <img width="0" height="0" src="http://www.galcho.com/Blog/aggbug.ashx?id=1c8b20dc-dfd2-4bf6-8153-f5d352db740c" />
        <br />
        <hr />
This weblog is using <a href="http://www.codeplex.com/dasBlog">dasBlog</a> hosted
by <a href="http://www.primaconsult.net/">PrimaNet Consult LTD</a>. 
</body>
      <title>My Sessions at Microsoft Days 2008 in Sofia, Bulgaria</title>
      <guid isPermaLink="false">http://www.galcho.com/Blog/PermaLink.aspx?guid=1c8b20dc-dfd2-4bf6-8153-f5d352db740c</guid>
      <link>http://www.galcho.com/Blog/PermaLink.aspx?guid=1c8b20dc-dfd2-4bf6-8153-f5d352db740c</link>
      <pubDate>Wed, 30 Apr 2008 15:37:01 GMT</pubDate>
      <description>&lt;p&gt;
MS Days 2008 in Bulgaria is in history now and I could say I had a nice two days.
There were many lecturers (about 50) and 72 sessions in 6 tracks. 
&lt;/p&gt;
&lt;p&gt;
For those who missed my talks or are interested in slides here are summary of the
sessions:
&lt;/p&gt;
&lt;h5&gt;LINQ to XML - Data Access Technologies
&lt;/h5&gt;
&lt;p&gt;
This session was focused on the new API from XML team for .NET languages. I gave a
side by side comparison between traditional DOM vs. LINQ to XML regarding those most
common actions:
&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
Create XML&lt;/li&gt;
&lt;li&gt;
Traverse XML&lt;/li&gt;
&lt;li&gt;
Transform XML&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;
I covered also &lt;a href="http://msdn.microsoft.com/en-us/library/bb384460.aspx" target="_blank"&gt;VB9
Literals&lt;/a&gt;. At the moment I started talking about VB I was thinking people would
throw rocks at me (and some really considered that option:) ). But at the moment when
repeated some of demos with VB9 code the audience was very impressed and they forgot
about those rocks in their pockets. Even there were initial brainstorming whether
same things can be implemented in C# with custom code.(Unfortunately this is a compiler
feature and we cannot do it very easily).
&lt;/p&gt;
&lt;p&gt;
Another thing I mentioned was &lt;a href="http://blogs.msdn.com/xmlteam/archive/2007/06/05/linq-to-xsd-preview-alpha-0-2-to-go-with-orcas-beta-1.aspx" target="_blank"&gt;LINQ
to XSD&lt;/a&gt;.
&lt;/p&gt;
&lt;p&gt;
I've decided that people will understand my points better if I write code in front
of them instead of just explaining it. This is also more challenging :). I think it
went well... 
&lt;/p&gt;
&lt;p&gt;
Here are the downloads:
&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;a href="http://www.galcho.com/Blog/content/binary/msdays08/MS%20Days_08_LINQ_to_XML.pptx" target="_blank"&gt;MS
PowerPoint 2007 Presentation&lt;/a&gt; (808KB)&lt;/li&gt;
&lt;li&gt;
Script of the code I ran: &lt;a href="http://www.galcho.com/Blog/content/binary/msdays08/LINQtoXML-Demos.docx" target="_blank"&gt;MS
Word 2007&lt;/a&gt; (13KB)&lt;/li&gt;
&lt;/ul&gt;
&lt;h5&gt;IIS7 for IT Pros
&lt;/h5&gt;
&lt;p&gt;
IIS7 is &lt;a href="http://www.galcho.com/Blog/PermaLink.aspx?guid=9d2cc122-8e39-4184-b42b-1d8cec5a8f9e" target="_blank"&gt;the
most interesting feature&lt;/a&gt; in Windows Server 2008 and I already &lt;a href="http://www.galcho.com/Blog/PermaLink.aspx?guid=7c479686-2852-4aaa-987d-40059ab4398a" target="_blank"&gt;had
some talks&lt;/a&gt; about it. In this talk I covered (from administration perspective)
following key topics:
&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
What is missing in IIS 6.0&lt;/li&gt;
&lt;li&gt;
IIS7 module architecture and it's benefits&lt;/li&gt;
&lt;li&gt;
New .NET-like configuration files and metadata&lt;/li&gt;
&lt;li&gt;
Delegated Administration&lt;/li&gt;
&lt;li&gt;
Shared Configuration&lt;/li&gt;
&lt;li&gt;
Tracing and Diagnostics&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;
The things I've demonstrated are:
&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
New tools - new management console as well as APPCMD command-line tool&lt;/li&gt;
&lt;li&gt;
Richness of new error pages and generated trace file - it is whole HTML+JS application
built with XML &amp;amp; XSLT with incredible amount of information.&lt;/li&gt;
&lt;li&gt;
&lt;a href="http://www.galcho.com/articles/StressTestingWCAT.aspx" target="_blank"&gt;WCAT
stress test&lt;/a&gt; with view of live requests on the server. 
&lt;/li&gt;
&lt;li&gt;
Analyze server and site load using &lt;a href="http://www.galcho.com/Blog/PermaLink.aspx?guid=27f1cc40-ae89-4f71-a4a2-52f79b29b73d" target="_blank"&gt;IIS7
Admin Pack&lt;/a&gt; features.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;
And here is the presentation: &lt;a href="http://www.galcho.com/Blog/content/binary/msdays08/MS%20Days_08_IIS7.pptx" target="_blank"&gt;MS
PowerPoint 2007 format&lt;/a&gt; (0.98 MB)
&lt;/p&gt;
&lt;p&gt;
Any feedback is very welcome.
&lt;/p&gt;
&lt;img width="0" height="0" src="http://www.galcho.com/Blog/aggbug.ashx?id=1c8b20dc-dfd2-4bf6-8153-f5d352db740c" /&gt;
&lt;br /&gt;
&lt;hr /&gt;
This weblog is using &lt;a href="http://www.codeplex.com/dasBlog"&gt;dasBlog&lt;/a&gt; hosted
by &lt;a href="http://www.primaconsult.net/"&gt;PrimaNet Consult LTD&lt;/a&gt;. </description>
      <comments>http://www.galcho.com/Blog/CommentView.aspx?guid=1c8b20dc-dfd2-4bf6-8153-f5d352db740c</comments>
      <category>.NET Development</category>
      <category>IIS</category>
      <category>LINQ</category>
      <category>Web</category>
      <category>Window Server System</category>
    </item>
    <item>
      <trackback:ping>http://www.galcho.com/Blog/Trackback.aspx?guid=fe4e8f46-a927-4420-beab-cbae79070a8d</trackback:ping>
      <pingback:server>http://www.galcho.com/Blog/pingback.aspx</pingback:server>
      <pingback:target>http://www.galcho.com/Blog/PermaLink.aspx?guid=fe4e8f46-a927-4420-beab-cbae79070a8d</pingback:target>
      <dc:creator>
      </dc:creator>
      <wfw:comment>http://www.galcho.com/Blog/CommentView.aspx?guid=fe4e8f46-a927-4420-beab-cbae79070a8d</wfw:comment>
      <wfw:commentRss>http://www.galcho.com/Blog/SyndicationService.asmx/GetEntryCommentsRss?guid=fe4e8f46-a927-4420-beab-cbae79070a8d</wfw:commentRss>
      <body xmlns="http://www.w3.org/1999/xhtml">
        <p>
Easy thing, isn't it? Just have to create a database that will have all tasks with
relevant information about them and then create a service which will pull them and
execute the tasks when needed. Not so hard! As making a wheel :) Just bend a thin
wood!
</p>
        <p>
Alternatively you might consider using Windows Task Scheduler.
</p>
        <p>
Bart De Smet wrote an article "<a href="http://community.bartdesmet.net/blogs/bart/archive/2008/02/23/calling-the-task-scheduler-in-windows-vista-and-windows-server-2008-from-managed-code.aspx">Calling
the Task Scheduler in Windows Vista (and Windows Server 2008) from managed code</a>"
</p>
        <p>
Hope this helps :)
</p>
        <img width="0" height="0" src="http://www.galcho.com/Blog/aggbug.ashx?id=fe4e8f46-a927-4420-beab-cbae79070a8d" />
        <br />
        <hr />
This weblog is using <a href="http://www.codeplex.com/dasBlog">dasBlog</a> hosted
by <a href="http://www.primaconsult.net/">PrimaNet Consult LTD</a>. 
</body>
      <title>Run scheduled tasks in managed code</title>
      <guid isPermaLink="false">http://www.galcho.com/Blog/PermaLink.aspx?guid=fe4e8f46-a927-4420-beab-cbae79070a8d</guid>
      <link>http://www.galcho.com/Blog/PermaLink.aspx?guid=fe4e8f46-a927-4420-beab-cbae79070a8d</link>
      <pubDate>Thu, 28 Feb 2008 11:34:51 GMT</pubDate>
      <description>&lt;p&gt;
Easy thing, isn't it? Just have to create a database that will have all tasks with
relevant information about them and then create a service which will pull them and
execute the tasks when needed. Not so hard! As making a wheel :) Just bend a thin
wood!
&lt;/p&gt;
&lt;p&gt;
Alternatively you might consider using Windows Task Scheduler.
&lt;/p&gt;
&lt;p&gt;
Bart De Smet wrote an article "&lt;a href="http://community.bartdesmet.net/blogs/bart/archive/2008/02/23/calling-the-task-scheduler-in-windows-vista-and-windows-server-2008-from-managed-code.aspx"&gt;Calling
the Task Scheduler in Windows Vista (and Windows Server 2008) from managed code&lt;/a&gt;"
&lt;/p&gt;
&lt;p&gt;
Hope this helps :)
&lt;/p&gt;
&lt;img width="0" height="0" src="http://www.galcho.com/Blog/aggbug.ashx?id=fe4e8f46-a927-4420-beab-cbae79070a8d" /&gt;
&lt;br /&gt;
&lt;hr /&gt;
This weblog is using &lt;a href="http://www.codeplex.com/dasBlog"&gt;dasBlog&lt;/a&gt; hosted
by &lt;a href="http://www.primaconsult.net/"&gt;PrimaNet Consult LTD&lt;/a&gt;. </description>
      <comments>http://www.galcho.com/Blog/CommentView.aspx?guid=fe4e8f46-a927-4420-beab-cbae79070a8d</comments>
      <category>.NET Development</category>
      <category>Window Server System</category>
    </item>
    <item>
      <trackback:ping>http://www.galcho.com/Blog/Trackback.aspx?guid=9d2cc122-8e39-4184-b42b-1d8cec5a8f9e</trackback:ping>
      <pingback:server>http://www.galcho.com/Blog/pingback.aspx</pingback:server>
      <pingback:target>http://www.galcho.com/Blog/PermaLink.aspx?guid=9d2cc122-8e39-4184-b42b-1d8cec5a8f9e</pingback:target>
      <dc:creator>
      </dc:creator>
      <wfw:comment>http://www.galcho.com/Blog/CommentView.aspx?guid=9d2cc122-8e39-4184-b42b-1d8cec5a8f9e</wfw:comment>
      <wfw:commentRss>http://www.galcho.com/Blog/SyndicationService.asmx/GetEntryCommentsRss?guid=9d2cc122-8e39-4184-b42b-1d8cec5a8f9e</wfw:commentRss>
      <body xmlns="http://www.w3.org/1999/xhtml">
        <p>
          <a href="http://mvolo.com/blogs/serverside/" target="_blank">Mike Volodarsky</a> (PM
@ IIS Team) <a href="http://mvolo.com/blogs/serverside/archive/2008/02/22/IIS-7.0-_2D00_-the-number-one-reason-customers-want-Windows-Server-2008.aspx" target="_blank">wrote
a blog post</a> with a result from <a href="http://www.informationweek.com/news/showArticle.jhtml?articleID=206503962" target="_blank">survey
conducted by InformationWeek</a>, concluding that IIS7 is most interesting feature
in the new Windows Server 2008
</p>
        <p>
          <img src="http://i.cmpnet.com/infoweek/1173/173IDwindows_chart2.gif" />
        </p>
        <p>
Read full <a href="http://mvolo.com/blogs/serverside/archive/2008/02/22/IIS-7.0-_2D00_-the-number-one-reason-customers-want-Windows-Server-2008.aspx" target="_blank">post</a></p>
        <img width="0" height="0" src="http://www.galcho.com/Blog/aggbug.ashx?id=9d2cc122-8e39-4184-b42b-1d8cec5a8f9e" />
        <br />
        <hr />
This weblog is using <a href="http://www.codeplex.com/dasBlog">dasBlog</a> hosted
by <a href="http://www.primaconsult.net/">PrimaNet Consult LTD</a>. 
</body>
      <title>The most interesting features in Windows Server 2008</title>
      <guid isPermaLink="false">http://www.galcho.com/Blog/PermaLink.aspx?guid=9d2cc122-8e39-4184-b42b-1d8cec5a8f9e</guid>
      <link>http://www.galcho.com/Blog/PermaLink.aspx?guid=9d2cc122-8e39-4184-b42b-1d8cec5a8f9e</link>
      <pubDate>Sun, 24 Feb 2008 20:15:29 GMT</pubDate>
      <description>&lt;p&gt;
&lt;a href="http://mvolo.com/blogs/serverside/" target="_blank"&gt;Mike Volodarsky&lt;/a&gt; (PM
@ IIS Team) &lt;a href="http://mvolo.com/blogs/serverside/archive/2008/02/22/IIS-7.0-_2D00_-the-number-one-reason-customers-want-Windows-Server-2008.aspx" target="_blank"&gt;wrote
a blog post&lt;/a&gt; with a result from &lt;a href="http://www.informationweek.com/news/showArticle.jhtml?articleID=206503962" target="_blank"&gt;survey
conducted by InformationWeek&lt;/a&gt;, concluding that IIS7 is most interesting feature
in the new Windows Server 2008
&lt;/p&gt;
&lt;p&gt;
&lt;img src="http://i.cmpnet.com/infoweek/1173/173IDwindows_chart2.gif"&gt; 
&lt;/p&gt;
&lt;p&gt;
Read full &lt;a href="http://mvolo.com/blogs/serverside/archive/2008/02/22/IIS-7.0-_2D00_-the-number-one-reason-customers-want-Windows-Server-2008.aspx" target="_blank"&gt;post&lt;/a&gt;
&lt;/p&gt;
&lt;img width="0" height="0" src="http://www.galcho.com/Blog/aggbug.ashx?id=9d2cc122-8e39-4184-b42b-1d8cec5a8f9e" /&gt;
&lt;br /&gt;
&lt;hr /&gt;
This weblog is using &lt;a href="http://www.codeplex.com/dasBlog"&gt;dasBlog&lt;/a&gt; hosted
by &lt;a href="http://www.primaconsult.net/"&gt;PrimaNet Consult LTD&lt;/a&gt;. </description>
      <comments>http://www.galcho.com/Blog/CommentView.aspx?guid=9d2cc122-8e39-4184-b42b-1d8cec5a8f9e</comments>
      <category>IIS</category>
      <category>Window Server System</category>
    </item>
    <item>
      <trackback:ping>http://www.galcho.com/Blog/Trackback.aspx?guid=8b34a183-6894-48a1-ae68-df4c4f363e8d</trackback:ping>
      <pingback:server>http://www.galcho.com/Blog/pingback.aspx</pingback:server>
      <pingback:target>http://www.galcho.com/Blog/PermaLink.aspx?guid=8b34a183-6894-48a1-ae68-df4c4f363e8d</pingback:target>
      <dc:creator>
      </dc:creator>
      <wfw:comment>http://www.galcho.com/Blog/CommentView.aspx?guid=8b34a183-6894-48a1-ae68-df4c4f363e8d</wfw:comment>
      <wfw:commentRss>http://www.galcho.com/Blog/SyndicationService.asmx/GetEntryCommentsRss?guid=8b34a183-6894-48a1-ae68-df4c4f363e8d</wfw:commentRss>
      <body xmlns="http://www.w3.org/1999/xhtml">
        <p>
 
</p>
        <table cellspacing="0" cellpadding="2" width="400" border="0">
          <tbody>
            <tr>
              <td valign="top">
Microsoft RTM-ed the latest version of the server platform with many new improvements.<br /><br /><a href="http://www.microsoft.com/presspass/features/2008/feb08/02-04WS2008.mspx" target="_blank">Read
PressPass</a><br /><a href="http://www.microsoft.com/windowsserver2008/en/us/default.aspx" target="_blank">Windows
Server 2008 home site</a></td>
              <td valign="top">
                <img src="http://img.microsoft.com/presspass/images/thumbnails/winserver2008-th.jpg" />
              </td>
            </tr>
          </tbody>
        </table>
        <img width="0" height="0" src="http://www.galcho.com/Blog/aggbug.ashx?id=8b34a183-6894-48a1-ae68-df4c4f363e8d" />
        <br />
        <hr />
This weblog is using <a href="http://www.codeplex.com/dasBlog">dasBlog</a> hosted
by <a href="http://www.primaconsult.net/">PrimaNet Consult LTD</a>. 
</body>
      <title>Windows Server 2008 RTM</title>
      <guid isPermaLink="false">http://www.galcho.com/Blog/PermaLink.aspx?guid=8b34a183-6894-48a1-ae68-df4c4f363e8d</guid>
      <link>http://www.galcho.com/Blog/PermaLink.aspx?guid=8b34a183-6894-48a1-ae68-df4c4f363e8d</link>
      <pubDate>Sat, 16 Feb 2008 21:40:10 GMT</pubDate>
      <description>&lt;p&gt;
&amp;nbsp;
&lt;/p&gt;
&lt;table cellspacing="0" cellpadding="2" width="400" border="0"&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td valign="top"&gt;
Microsoft RTM-ed the latest version of the server platform with many new improvements.&lt;br&gt;
&lt;br&gt;
&lt;a href="http://www.microsoft.com/presspass/features/2008/feb08/02-04WS2008.mspx" target="_blank"&gt;Read
PressPass&lt;/a&gt;
&lt;br&gt;
&lt;a href="http://www.microsoft.com/windowsserver2008/en/us/default.aspx" target="_blank"&gt;Windows
Server 2008 home site&lt;/a&gt;&lt;/td&gt;
&lt;td valign="top"&gt;
&lt;img src="http://img.microsoft.com/presspass/images/thumbnails/winserver2008-th.jpg"&gt; 
&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;img width="0" height="0" src="http://www.galcho.com/Blog/aggbug.ashx?id=8b34a183-6894-48a1-ae68-df4c4f363e8d" /&gt;
&lt;br /&gt;
&lt;hr /&gt;
This weblog is using &lt;a href="http://www.codeplex.com/dasBlog"&gt;dasBlog&lt;/a&gt; hosted
by &lt;a href="http://www.primaconsult.net/"&gt;PrimaNet Consult LTD&lt;/a&gt;. </description>
      <comments>http://www.galcho.com/Blog/CommentView.aspx?guid=8b34a183-6894-48a1-ae68-df4c4f363e8d</comments>
      <category>Window Server System</category>
    </item>
    <item>
      <trackback:ping>http://www.galcho.com/Blog/Trackback.aspx?guid=98a4b22e-70f4-49c7-833b-7046be285455</trackback:ping>
      <pingback:server>http://www.galcho.com/Blog/pingback.aspx</pingback:server>
      <pingback:target>http://www.galcho.com/Blog/PermaLink.aspx?guid=98a4b22e-70f4-49c7-833b-7046be285455</pingback:target>
      <dc:creator>
      </dc:creator>
      <wfw:comment>http://www.galcho.com/Blog/CommentView.aspx?guid=98a4b22e-70f4-49c7-833b-7046be285455</wfw:comment>
      <wfw:commentRss>http://www.galcho.com/Blog/SyndicationService.asmx/GetEntryCommentsRss?guid=98a4b22e-70f4-49c7-833b-7046be285455</wfw:commentRss>
      <body xmlns="http://www.w3.org/1999/xhtml">
        <p>
 
</p>
        <table cellspacing="0" cellpadding="2" width="724" border="0">
          <tbody>
            <tr>
              <td valign="top" width="114">
                <img src="http://research.microsoft.com/collaboration/university/europe/events/AcademicDays/Istanbul/2004/RafalLukawiecki.jpg" />
                <br />
Rafal Lukawiecki</td>
              <td valign="top" width="608">
A few weeks ago I attended to a very nice seminar organized by Microsoft Bulgaria
about Data Mining. We enjoyed a full day with leading world-class strategic consultant
Rafal Lukawiecki. It was a nice catch-up and deep dive into Data Mining and Business
Intelligence- BI. According Rafal Data Mining will be very fast-growing area in next
5-10 years. 
<br />
This seminar will be recorded in May 2008 on MS Technet</td>
            </tr>
          </tbody>
        </table>
        <p>
 
</p>
        <p>
Here is a video talking about it:
</p>
        <div class="wlWriterSmartContent" id="scid:5737277B-5D6D-4f48-ABFC-DD9C333F4C5D:0a2a6369-4580-4b75-a115-91cbdea7a00c" style="padding-right: 0px; display: inline; padding-left: 0px; padding-bottom: 0px; margin: 0px; padding-top: 0px">
          <div id="6d0d4368-ebfe-43eb-b91d-774f4fbc69e6" style="margin: 0px; padding: 0px; display: inline;">
            <div>
              <a href="http://www.youtube.com/watch?v=Vs46QZwnEcc" target="_new">
                <img src="http://www.galcho.com/Blog/content/binary/WindowsLiveWriter/DataMiningwithMSSQLServer_14C41/videodd2d821c68ee.jpg" galleryimg="no" onload="var downlevelDiv = document.getElementById('6d0d4368-ebfe-43eb-b91d-774f4fbc69e6'); downlevelDiv.innerHTML = &quot;&lt;div&gt;&lt;object width=\&quot;425\&quot; height=\&quot;350\&quot;&gt;&lt;param name=\&quot;movie\&quot; value=\&quot;http://www.youtube.com/v/Vs46QZwnEcc\&quot;&gt;&lt;\/param&gt;&lt;param name=\&quot;wmode\&quot; value=\&quot;transparent\&quot;&gt;&lt;\/param&gt;&lt;embed src=\&quot;http://www.youtube.com/v/Vs46QZwnEcc\&quot; type=\&quot;application/x-shockwave-flash\&quot; wmode=\&quot;transparent\&quot; width=\&quot;425\&quot; height=\&quot;350\&quot;&gt;&lt;\/embed&gt;&lt;\/object&gt;&lt;\/div&gt;&quot;;" alt="" />
              </a>
            </div>
          </div>
        </div>
        <p>
 
</p>
        <p>
Interested?! Here is an article how to start <a href="http://www.sqlserverdatamining.com/ssdm/Home/DataMiningAddinsLaunch/tabid/69/Default.aspx" target="_blank">Data
Mining with SQL 2005 and MS Office 2007</a>.
</p>
        <img width="0" height="0" src="http://www.galcho.com/Blog/aggbug.ashx?id=98a4b22e-70f4-49c7-833b-7046be285455" />
        <br />
        <hr />
This weblog is using <a href="http://www.codeplex.com/dasBlog">dasBlog</a> hosted
by <a href="http://www.primaconsult.net/">PrimaNet Consult LTD</a>. 
</body>
      <title>Data Mining with MS SQL Server</title>
      <guid isPermaLink="false">http://www.galcho.com/Blog/PermaLink.aspx?guid=98a4b22e-70f4-49c7-833b-7046be285455</guid>
      <link>http://www.galcho.com/Blog/PermaLink.aspx?guid=98a4b22e-70f4-49c7-833b-7046be285455</link>
      <pubDate>Mon, 11 Feb 2008 21:37:43 GMT</pubDate>
      <description>&lt;p&gt;
&amp;nbsp;
&lt;/p&gt;
&lt;table cellspacing="0" cellpadding="2" width="724" border="0"&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td valign="top" width="114"&gt;
&lt;img src="http://research.microsoft.com/collaboration/university/europe/events/AcademicDays/Istanbul/2004/RafalLukawiecki.jpg"&gt; 
&lt;br&gt;
Rafal Lukawiecki&lt;/td&gt;
&lt;td valign="top" width="608"&gt;
A few weeks ago I attended to a very nice seminar organized by Microsoft Bulgaria
about Data Mining. We enjoyed a full day with leading world-class strategic consultant
Rafal Lukawiecki. It was a nice catch-up and deep dive into Data Mining and Business
Intelligence- BI. According Rafal Data Mining will be very fast-growing area in next
5-10 years. 
&lt;br&gt;
This seminar will be recorded in May 2008 on MS Technet&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;p&gt;
&amp;nbsp;
&lt;/p&gt;
&lt;p&gt;
Here is a video talking about it:
&lt;/p&gt;
&lt;div class="wlWriterSmartContent" id="scid:5737277B-5D6D-4f48-ABFC-DD9C333F4C5D:0a2a6369-4580-4b75-a115-91cbdea7a00c" style="padding-right: 0px; display: inline; padding-left: 0px; padding-bottom: 0px; margin: 0px; padding-top: 0px"&gt;
&lt;div id="6d0d4368-ebfe-43eb-b91d-774f4fbc69e6" style="margin: 0px; padding: 0px; display: inline;"&gt;
&lt;div&gt;&lt;a href="http://www.youtube.com/watch?v=Vs46QZwnEcc" target="_new"&gt;&lt;img src="http://www.galcho.com/Blog/content/binary/WindowsLiveWriter/DataMiningwithMSSQLServer_14C41/videodd2d821c68ee.jpg" galleryimg="no" onload="var downlevelDiv = document.getElementById('6d0d4368-ebfe-43eb-b91d-774f4fbc69e6'); downlevelDiv.innerHTML = &amp;quot;&amp;lt;div&amp;gt;&amp;lt;object width=\&amp;quot;425\&amp;quot; height=\&amp;quot;350\&amp;quot;&amp;gt;&amp;lt;param name=\&amp;quot;movie\&amp;quot; value=\&amp;quot;http://www.youtube.com/v/Vs46QZwnEcc\&amp;quot;&amp;gt;&amp;lt;\/param&amp;gt;&amp;lt;param name=\&amp;quot;wmode\&amp;quot; value=\&amp;quot;transparent\&amp;quot;&amp;gt;&amp;lt;\/param&amp;gt;&amp;lt;embed src=\&amp;quot;http://www.youtube.com/v/Vs46QZwnEcc\&amp;quot; type=\&amp;quot;application/x-shockwave-flash\&amp;quot; wmode=\&amp;quot;transparent\&amp;quot; width=\&amp;quot;425\&amp;quot; height=\&amp;quot;350\&amp;quot;&amp;gt;&amp;lt;\/embed&amp;gt;&amp;lt;\/object&amp;gt;&amp;lt;\/div&amp;gt;&amp;quot;;" alt=""&gt;&lt;/a&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;p&gt;
&amp;nbsp;
&lt;/p&gt;
&lt;p&gt;
Interested?! Here is an article how to start &lt;a href="http://www.sqlserverdatamining.com/ssdm/Home/DataMiningAddinsLaunch/tabid/69/Default.aspx" target="_blank"&gt;Data
Mining with SQL 2005 and MS Office 2007&lt;/a&gt;.
&lt;/p&gt;
&lt;img width="0" height="0" src="http://www.galcho.com/Blog/aggbug.ashx?id=98a4b22e-70f4-49c7-833b-7046be285455" /&gt;
&lt;br /&gt;
&lt;hr /&gt;
This weblog is using &lt;a href="http://www.codeplex.com/dasBlog"&gt;dasBlog&lt;/a&gt; hosted
by &lt;a href="http://www.primaconsult.net/"&gt;PrimaNet Consult LTD&lt;/a&gt;. </description>
      <comments>http://www.galcho.com/Blog/CommentView.aspx?guid=98a4b22e-70f4-49c7-833b-7046be285455</comments>
      <category>Window Server System</category>
    </item>
    <item>
      <trackback:ping>http://www.galcho.com/Blog/Trackback.aspx?guid=90c8bcd3-3a5b-457b-a04b-11d14a44c2cc</trackback:ping>
      <pingback:server>http://www.galcho.com/Blog/pingback.aspx</pingback:server>
      <pingback:target>http://www.galcho.com/Blog/PermaLink.aspx?guid=90c8bcd3-3a5b-457b-a04b-11d14a44c2cc</pingback:target>
      <dc:creator>
      </dc:creator>
      <wfw:comment>http://www.galcho.com/Blog/CommentView.aspx?guid=90c8bcd3-3a5b-457b-a04b-11d14a44c2cc</wfw:comment>
      <wfw:commentRss>http://www.galcho.com/Blog/SyndicationService.asmx/GetEntryCommentsRss?guid=90c8bcd3-3a5b-457b-a04b-11d14a44c2cc</wfw:commentRss>
      <body xmlns="http://www.w3.org/1999/xhtml">
        <p>
        </p>
        <p>
          <a href="http://blogs.iis.net/ksingla">Kanwaljeet Singla</a> created nice list of
64 registry keys that affect IIS7 work.
</p>
        <p>
          <a href="http://blogs.iis.net/ksingla/archive/2007/12/30/list-of-registry-keys-affecting-iis7-behavior.aspx">Read
full list of registry keys with descriptions</a>.
</p>
        <img width="0" height="0" src="http://www.galcho.com/Blog/aggbug.ashx?id=90c8bcd3-3a5b-457b-a04b-11d14a44c2cc" />
        <br />
        <hr />
This weblog is using <a href="http://www.codeplex.com/dasBlog">dasBlog</a> hosted
by <a href="http://www.primaconsult.net/">PrimaNet Consult LTD</a>. 
</body>
      <title>List of registry keys affecting IIS7 behavior</title>
      <guid isPermaLink="false">http://www.galcho.com/Blog/PermaLink.aspx?guid=90c8bcd3-3a5b-457b-a04b-11d14a44c2cc</guid>
      <link>http://www.galcho.com/Blog/PermaLink.aspx?guid=90c8bcd3-3a5b-457b-a04b-11d14a44c2cc</link>
      <pubDate>Wed, 16 Jan 2008 15:20:35 GMT</pubDate>
      <description>&lt;p&gt;
&lt;/p&gt;
&lt;p&gt;
&lt;a href="http://blogs.iis.net/ksingla"&gt;Kanwaljeet Singla&lt;/a&gt; created nice list of
64 registry keys that affect IIS7 work.
&lt;/p&gt;
&lt;p&gt;
&lt;a href="http://blogs.iis.net/ksingla/archive/2007/12/30/list-of-registry-keys-affecting-iis7-behavior.aspx"&gt;Read
full list of registry keys with descriptions&lt;/a&gt;.
&lt;/p&gt;
&lt;img width="0" height="0" src="http://www.galcho.com/Blog/aggbug.ashx?id=90c8bcd3-3a5b-457b-a04b-11d14a44c2cc" /&gt;
&lt;br /&gt;
&lt;hr /&gt;
This weblog is using &lt;a href="http://www.codeplex.com/dasBlog"&gt;dasBlog&lt;/a&gt; hosted
by &lt;a href="http://www.primaconsult.net/"&gt;PrimaNet Consult LTD&lt;/a&gt;. </description>
      <comments>http://www.galcho.com/Blog/CommentView.aspx?guid=90c8bcd3-3a5b-457b-a04b-11d14a44c2cc</comments>
      <category>IIS</category>
      <category>Web</category>
      <category>Window Server System</category>
    </item>
    <item>
      <trackback:ping>http://www.galcho.com/Blog/Trackback.aspx?guid=7c479686-2852-4aaa-987d-40059ab4398a</trackback:ping>
      <pingback:server>http://www.galcho.com/Blog/pingback.aspx</pingback:server>
      <pingback:target>http://www.galcho.com/Blog/PermaLink.aspx?guid=7c479686-2852-4aaa-987d-40059ab4398a</pingback:target>
      <dc:creator>
      </dc:creator>
      <wfw:comment>http://www.galcho.com/Blog/CommentView.aspx?guid=7c479686-2852-4aaa-987d-40059ab4398a</wfw:comment>
      <wfw:commentRss>http://www.galcho.com/Blog/SyndicationService.asmx/GetEntryCommentsRss?guid=7c479686-2852-4aaa-987d-40059ab4398a</wfw:commentRss>
      <slash:comments>1</slash:comments>
      <body xmlns="http://www.w3.org/1999/xhtml">
        <p>
My <a href="http://www.galcho.com/Blog/PermaLink.aspx?guid=082c018e-51f9-4ce7-997e-e095d0578118" target="_blank">talk
yesterday</a> went well and I think people found it interesting so I've decided to
post slides and demo as well as some useful links
</p>
        <p>
From presentation:
</p>
        <ul>
          <li>
            <a href="http://www.galcho.com/Blog/content/binary/IIS7-Administrand-and-customization.zip" target="_blank">Slides</a> -
PowerPoint 2007 - (2.4 MB)</li>
          <li>
            <a href="http://www.galcho.com/Blog/content/binary/CustomIISModule.zip" target="_blank">Demo</a> -
VS 2008 project (961 KB)</li>
        </ul>
        <p>
Some resources:
</p>
        <ul>
          <li>
            <a href="http://www.iis.net/articles/view.aspx/IIS7/Extending-IIS7/Getting-Started/An-End-to-End-Extensibility-Example-for-IIS7-Devel?Page=8" target="_blank">An
End-to-End Extensibility Example for IIS7 Developers</a>
          </li>
          <li>
            <a href="http://www.iis.net/articles/view.aspx/IIS7/Extending-IIS7/Developing-a-Module-using--NET/Developing-a-Module-using--NET?Page=2" target="_blank">Developing
a Module using .NET</a>
          </li>
          <li>
            <a href="http://www.west-wind.com/WebLog/posts/6075.aspx" target="_blank">Migrating
an ASP.NET app to IIS 7</a> </li>
          <li>
            <a href="http://www.galcho.com/Blog/PermaLink.aspx?guid=df5924e9-9c31-4139-b5ac-917907f0cd1a" target="_blank">How
to enable IIS7 Integrated Pipeline mode</a>
          </li>
          <li>
            <a href="http://blogs.iis.net/carlosag/archive/2007/05/11/extending-the-iis-manager-home-page.aspx" target="_blank">Extending
the IIS Manager Home page</a>
          </li>
          <li>
            <a href="http://community.bartdesmet.net/blogs/bart/archive/2007/04/04/extending-iis-7-0-part-4-creating-a-custom-module-for-iis-manager.aspx" target="_blank">Extending
IIS 7.0 - Part 4: Creating a custom module for IIS Manager</a>
          </li>
        </ul>
        <img width="0" height="0" src="http://www.galcho.com/Blog/aggbug.ashx?id=7c479686-2852-4aaa-987d-40059ab4398a" />
        <br />
        <hr />
This weblog is using <a href="http://www.codeplex.com/dasBlog">dasBlog</a> hosted
by <a href="http://www.primaconsult.net/">PrimaNet Consult LTD</a>. 
</body>
      <title>IIS7 Administration and Customization talk</title>
      <guid isPermaLink="false">http://www.galcho.com/Blog/PermaLink.aspx?guid=7c479686-2852-4aaa-987d-40059ab4398a</guid>
      <link>http://www.galcho.com/Blog/PermaLink.aspx?guid=7c479686-2852-4aaa-987d-40059ab4398a</link>
      <pubDate>Fri, 30 Nov 2007 07:08:48 GMT</pubDate>
      <description>&lt;p&gt;
My &lt;a href="http://www.galcho.com/Blog/PermaLink.aspx?guid=082c018e-51f9-4ce7-997e-e095d0578118" target="_blank"&gt;talk
yesterday&lt;/a&gt; went well and I think people found it interesting so I've decided to
post slides and demo as well as some useful links
&lt;/p&gt;
&lt;p&gt;
From presentation:
&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;a href="http://www.galcho.com/Blog/content/binary/IIS7-Administrand-and-customization.zip" target="_blank"&gt;Slides&lt;/a&gt; -
PowerPoint 2007 - (2.4 MB)&lt;/li&gt;
&lt;li&gt;
&lt;a href="http://www.galcho.com/Blog/content/binary/CustomIISModule.zip" target="_blank"&gt;Demo&lt;/a&gt; -
VS 2008 project (961 KB)&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;
Some resources:
&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;a href="http://www.iis.net/articles/view.aspx/IIS7/Extending-IIS7/Getting-Started/An-End-to-End-Extensibility-Example-for-IIS7-Devel?Page=8" target="_blank"&gt;An
End-to-End Extensibility Example for IIS7 Developers&lt;/a&gt; 
&lt;/li&gt;
&lt;li&gt;
&lt;a href="http://www.iis.net/articles/view.aspx/IIS7/Extending-IIS7/Developing-a-Module-using--NET/Developing-a-Module-using--NET?Page=2" target="_blank"&gt;Developing
a Module using .NET&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;a href="http://www.west-wind.com/WebLog/posts/6075.aspx" target="_blank"&gt;Migrating
an ASP.NET app to IIS 7&lt;/a&gt;&amp;nbsp;&lt;/li&gt;
&lt;li&gt;
&lt;a href="http://www.galcho.com/Blog/PermaLink.aspx?guid=df5924e9-9c31-4139-b5ac-917907f0cd1a" target="_blank"&gt;How
to enable IIS7 Integrated Pipeline mode&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;a href="http://blogs.iis.net/carlosag/archive/2007/05/11/extending-the-iis-manager-home-page.aspx" target="_blank"&gt;Extending
the IIS Manager Home page&lt;/a&gt; 
&lt;/li&gt;
&lt;li&gt;
&lt;a href="http://community.bartdesmet.net/blogs/bart/archive/2007/04/04/extending-iis-7-0-part-4-creating-a-custom-module-for-iis-manager.aspx" target="_blank"&gt;Extending
IIS 7.0 - Part 4: Creating a custom module for IIS Manager&lt;/a&gt; 
&lt;/li&gt;
&lt;/ul&gt;
&lt;img width="0" height="0" src="http://www.galcho.com/Blog/aggbug.ashx?id=7c479686-2852-4aaa-987d-40059ab4398a" /&gt;
&lt;br /&gt;
&lt;hr /&gt;
This weblog is using &lt;a href="http://www.codeplex.com/dasBlog"&gt;dasBlog&lt;/a&gt; hosted
by &lt;a href="http://www.primaconsult.net/"&gt;PrimaNet Consult LTD&lt;/a&gt;. </description>
      <comments>http://www.galcho.com/Blog/CommentView.aspx?guid=7c479686-2852-4aaa-987d-40059ab4398a</comments>
      <category>.NET Development</category>
      <category>IIS</category>
      <category>Web</category>
      <category>Window Server System</category>
    </item>
    <item>
      <trackback:ping>http://www.galcho.com/Blog/Trackback.aspx?guid=082c018e-51f9-4ce7-997e-e095d0578118</trackback:ping>
      <pingback:server>http://www.galcho.com/Blog/pingback.aspx</pingback:server>
      <pingback:target>http://www.galcho.com/Blog/PermaLink.aspx?guid=082c018e-51f9-4ce7-997e-e095d0578118</pingback:target>
      <dc:creator>
      </dc:creator>
      <wfw:comment>http://www.galcho.com/Blog/CommentView.aspx?guid=082c018e-51f9-4ce7-997e-e095d0578118</wfw:comment>
      <wfw:commentRss>http://www.galcho.com/Blog/SyndicationService.asmx/GetEntryCommentsRss?guid=082c018e-51f9-4ce7-997e-e095d0578118</wfw:commentRss>
      <body xmlns="http://www.w3.org/1999/xhtml">
        <p>
I am giving a talk this Thursday in front of <a href="http://sofiadev.org/" target="_blank">SofiaDev
.NET User group</a> at <a href="http://www.microsoft.com/bulgaria" target="_blank">local
Microsoft office</a> at 18:30 local time. 
</p>
        <p>
In the presentation I will show:
</p>
        <ol>
          <li>
New tools in IIS7 as well as new administration options</li>
          <li>
New tracing and diagnostics options</li>
          <li>
New integration pipeline 
</li>
          <li>
Deep example that:</li>
        </ol>
        <ul>
          <li>
use custom IIS module written in C#</li>
          <li>
extend IIS configuration schema</li>
          <li>
extend IIS Manager by adding UI component</li>
        </ul>
        <p>
If this sounds interesting to you and you want to attend write to branimir _ at _
sofiadev dot org
</p>
        <p>
See you there!
</p>
        <img width="0" height="0" src="http://www.galcho.com/Blog/aggbug.ashx?id=082c018e-51f9-4ce7-997e-e095d0578118" />
        <br />
        <hr />
This weblog is using <a href="http://www.codeplex.com/dasBlog">dasBlog</a> hosted
by <a href="http://www.primaconsult.net/">PrimaNet Consult LTD</a>. 
</body>
      <title>IIS7 talk @ SofiaDev UG</title>
      <guid isPermaLink="false">http://www.galcho.com/Blog/PermaLink.aspx?guid=082c018e-51f9-4ce7-997e-e095d0578118</guid>
      <link>http://www.galcho.com/Blog/PermaLink.aspx?guid=082c018e-51f9-4ce7-997e-e095d0578118</link>
      <pubDate>Mon, 26 Nov 2007 13:33:36 GMT</pubDate>
      <description>&lt;p&gt;
I am giving a talk this Thursday in front of &lt;a href="http://sofiadev.org/" target="_blank"&gt;SofiaDev
.NET User group&lt;/a&gt; at &lt;a href="http://www.microsoft.com/bulgaria" target="_blank"&gt;local
Microsoft office&lt;/a&gt; at 18:30 local time. 
&lt;/p&gt;
&lt;p&gt;
In the presentation I will show:
&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
New tools in IIS7 as well as new administration options&lt;/li&gt;
&lt;li&gt;
New tracing and diagnostics options&lt;/li&gt;
&lt;li&gt;
New integration pipeline 
&lt;/li&gt;
&lt;li&gt;
Deep example that:&lt;/li&gt;
&lt;ul&gt;
&lt;li&gt;
use custom IIS module written in C#&lt;/li&gt;
&lt;li&gt;
extend IIS configuration schema&lt;/li&gt;
&lt;li&gt;
extend IIS Manager by adding UI component&lt;/li&gt;
&lt;/ul&gt;
&gt;
&lt;p&gt;
If this sounds interesting to you and you want to attend write to branimir _ at _
sofiadev dot org
&lt;/p&gt;
&lt;p&gt;
See you there!
&lt;/p&gt;
&lt;img width="0" height="0" src="http://www.galcho.com/Blog/aggbug.ashx?id=082c018e-51f9-4ce7-997e-e095d0578118" /&gt;
&lt;br /&gt;
&lt;hr /&gt;
This weblog is using &lt;a href="http://www.codeplex.com/dasBlog"&gt;dasBlog&lt;/a&gt; hosted
by &lt;a href="http://www.primaconsult.net/"&gt;PrimaNet Consult LTD&lt;/a&gt;. </description>
      <comments>http://www.galcho.com/Blog/CommentView.aspx?guid=082c018e-51f9-4ce7-997e-e095d0578118</comments>
      <category>.NET Development</category>
      <category>Web</category>
      <category>Window Server System</category>
    </item>
    <item>
      <trackback:ping>http://www.galcho.com/Blog/Trackback.aspx?guid=2742eb63-16fb-4d3a-82e1-4e06262614fb</trackback:ping>
      <pingback:server>http://www.galcho.com/Blog/pingback.aspx</pingback:server>
      <pingback:target>http://www.galcho.com/Blog/PermaLink.aspx?guid=2742eb63-16fb-4d3a-82e1-4e06262614fb</pingback:target>
      <dc:creator>
      </dc:creator>
      <wfw:comment>http://www.galcho.com/Blog/CommentView.aspx?guid=2742eb63-16fb-4d3a-82e1-4e06262614fb</wfw:comment>
      <wfw:commentRss>http://www.galcho.com/Blog/SyndicationService.asmx/GetEntryCommentsRss?guid=2742eb63-16fb-4d3a-82e1-4e06262614fb</wfw:commentRss>
      <slash:comments>1</slash:comments>
      <body xmlns="http://www.w3.org/1999/xhtml">
        <p>
I had interesting case last week - I had to setup <a href="http://www.microsoft.com/technet/prodtechnol/sql/2005/dbmirror.mspx" target="_blank">SQL
2005 database mirror</a>. First it sounded as piece of cake - I had to follow steps
and recommendations as described in <a href="http://msdn2.microsoft.com/EN-US/library/ms183684.aspx" target="_blank">SQL
Server Books Online</a> (and <a href="http://searchsqlserver.techtarget.com/tip/0,289483,sid87_gci1199004,00.html" target="_blank">here</a>).
My goal was to setup DB mirror of type <b>High safety with automatic failover (synchronous)</b>.
</p>
        <p>
I had to prepare SQL Instances as:
</p>
        <ol>
          <li>
Create a user (called SqlService in my case) with same password on all machines that
will participate in the mirror. Give it enough rights to it. (I put it in Administrators
group and denied local login. Later I set more granular security to it)</li>
          <li>
Setup instances to run in this user context<br /><a href="http://www.galcho.com/Blog/content/binary/WindowsLiveWriter/SQL2005Databasemirroring_C83B/image_2.png"><img style="border-right: 0px; border-top: 0px; border-left: 0px; border-bottom: 0px" height="335" alt="image" src="http://www.galcho.com/Blog/content/binary/WindowsLiveWriter/SQL2005Databasemirroring_C83B/image_thumb.png" width="305" border="0" /></a></li>
          <li>
Set <a href="http://msforums.ph/blogs/dehranph/archive/2005/12/02/91104.aspx" target="_blank">trace
flag 1400 as startup parameter</a> to SQL instance<br /><a href="http://www.galcho.com/Blog/content/binary/WindowsLiveWriter/SQL2005Databasemirroring_C83B/image_4.png"><img style="border-right: 0px; border-top: 0px; border-left: 0px; border-bottom: 0px" height="302" alt="image" src="http://www.galcho.com/Blog/content/binary/WindowsLiveWriter/SQL2005Databasemirroring_C83B/image_thumb_1.png" width="340" border="0" /></a></li>
        </ol>
        <p>
 
</p>
        <p>
Then I followed <a href="http://msdn2.microsoft.com/en-us/library/ms189047.aspx" target="_blank">How
to: Prepare a Mirror Database for Mirroring (Transact-SQL)</a> and when it came to
setup DB Mirror it was created... But although I had witness server I was unable to
test automatic failover. More precisely I set a connection string of type (
</p>
        <p>
"Data Source=myServerAddress;Failover Partner=myMirrorServer;Initial Catalog=myDataBase;Integrated
Security=True;" 
</p>
        <p>
) to a simple web application but when I stopped the instance that hold Principal
database the mirror database didn't became principal as expected. 
</p>
        <p>
          <strong>Note: </strong>This test was done on SQL 2005 Standard Edition with SP2 on
Windows 2003 Standard with the latest updates. 
</p>
        <p>
I decided to test this on SQL 2005 Standard (with no SP2) in Win2003. <u><strong>And
it worked</strong></u>. I applied SP2 then and I as able to setup DB mirroring again
and everything worked as expected - even automatic failover.
</p>
        <p>
          <strong>Bottom line</strong>: Somehow SQL 2005 SP2 break DB mirroring if installed
right after SQL Server installation. This was my experience and I if someone has another
experience with this I would be grateful if we can discuss here 
</p>
        <p>
Useful links:
</p>
        <ul>
          <li>
            <a href="http://www.microsoft.com/technet/prodtechnol/sql/2005/dbmirror.mspx" target="_blank">SQL
2005 database mirror</a>
          </li>
          <li>
            <a href="http://searchsqlserver.techtarget.com/tip/0,289483,sid87_gci1199004,00.html" target="_blank">Database
mirroring setup in SQL Server 2005</a> (with many screenshots)</li>
          <li>
            <a href="http://alan328.com/SQL2005_Database_Mirroring_Tutorial.aspx" target="_blank">Database
Mirror Tutorial using certificates</a>
          </li>
          <li>
            <a href="http://www.informit.com/guides/content.aspx?g=sqlserver&amp;seqNum=213&amp;rl=1" target="_blank">Another
DB Mirroring Tutorial</a>
          </li>
          <li>
            <a href="http://msdn2.microsoft.com/en-us/library/ms189047.aspx" target="_blank">How
to: Prepare a Mirror Database for Mirroring (Transact-SQL)</a>
          </li>
        </ul>
        <p>
Hope this helps!
</p>
        <img width="0" height="0" src="http://www.galcho.com/Blog/aggbug.ashx?id=2742eb63-16fb-4d3a-82e1-4e06262614fb" />
        <br />
        <hr />
This weblog is using <a href="http://www.codeplex.com/dasBlog">dasBlog</a> hosted
by <a href="http://www.primaconsult.net/">PrimaNet Consult LTD</a>. 
</body>
      <title>SQL 2005 Database mirroring</title>
      <guid isPermaLink="false">http://www.galcho.com/Blog/PermaLink.aspx?guid=2742eb63-16fb-4d3a-82e1-4e06262614fb</guid>
      <link>http://www.galcho.com/Blog/PermaLink.aspx?guid=2742eb63-16fb-4d3a-82e1-4e06262614fb</link>
      <pubDate>Mon, 26 Nov 2007 12:14:21 GMT</pubDate>
      <description>&lt;p&gt;
I had interesting case last week - I had to setup &lt;a href="http://www.microsoft.com/technet/prodtechnol/sql/2005/dbmirror.mspx" target="_blank"&gt;SQL
2005 database mirror&lt;/a&gt;. First it sounded as piece of cake - I had to follow steps
and recommendations as described in &lt;a href="http://msdn2.microsoft.com/EN-US/library/ms183684.aspx" target="_blank"&gt;SQL
Server Books Online&lt;/a&gt; (and &lt;a href="http://searchsqlserver.techtarget.com/tip/0,289483,sid87_gci1199004,00.html" target="_blank"&gt;here&lt;/a&gt;).
My goal was to setup DB mirror of type &lt;b&gt;High safety with automatic failover (synchronous)&lt;/b&gt;.
&lt;/p&gt;
&lt;p&gt;
I had to prepare SQL Instances as:
&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
Create a user (called SqlService in my case) with same password on all machines that
will participate in the mirror. Give it enough rights to it. (I put it in Administrators
group and denied local login. Later I set more granular security to it)&lt;/li&gt;
&lt;li&gt;
Setup instances to run in this user context&lt;br&gt;
&lt;a href="http://www.galcho.com/Blog/content/binary/WindowsLiveWriter/SQL2005Databasemirroring_C83B/image_2.png"&gt;&lt;img style="border-right: 0px; border-top: 0px; border-left: 0px; border-bottom: 0px" height="335" alt="image" src="http://www.galcho.com/Blog/content/binary/WindowsLiveWriter/SQL2005Databasemirroring_C83B/image_thumb.png" width="305" border="0"&gt;&lt;/a&gt; 
&lt;/li&gt;
&lt;li&gt;
Set &lt;a href="http://msforums.ph/blogs/dehranph/archive/2005/12/02/91104.aspx" target="_blank"&gt;trace
flag 1400 as startup parameter&lt;/a&gt; to SQL instance&lt;br&gt;
&lt;a href="http://www.galcho.com/Blog/content/binary/WindowsLiveWriter/SQL2005Databasemirroring_C83B/image_4.png"&gt;&lt;img style="border-right: 0px; border-top: 0px; border-left: 0px; border-bottom: 0px" height="302" alt="image" src="http://www.galcho.com/Blog/content/binary/WindowsLiveWriter/SQL2005Databasemirroring_C83B/image_thumb_1.png" width="340" border="0"&gt;&lt;/a&gt; 
&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;
&amp;nbsp;
&lt;/p&gt;
&lt;p&gt;
Then I followed &lt;a href="http://msdn2.microsoft.com/en-us/library/ms189047.aspx" target="_blank"&gt;How
to: Prepare a Mirror Database for Mirroring (Transact-SQL)&lt;/a&gt; and when it came to
setup DB Mirror it was created... But although I had witness server I was unable to
test automatic failover. More precisely I set a connection string of type (
&lt;/p&gt;
&lt;p&gt;
"Data Source=myServerAddress;Failover Partner=myMirrorServer;Initial Catalog=myDataBase;Integrated
Security=True;" 
&lt;p&gt;
) to a simple web application but when I stopped the instance that hold Principal
database the mirror database didn't became principal as expected. 
&lt;/p&gt;
&lt;p&gt;
&lt;strong&gt;Note: &lt;/strong&gt;This test was done on SQL 2005 Standard Edition with SP2 on
Windows 2003 Standard with the latest updates. 
&lt;/p&gt;
&lt;p&gt;
I decided to test this on SQL 2005 Standard (with no SP2) in Win2003. &lt;u&gt;&lt;strong&gt;And
it worked&lt;/strong&gt;&lt;/u&gt;. I applied SP2 then and I as able to setup DB mirroring again
and everything worked as expected - even automatic failover.
&lt;/p&gt;
&lt;p&gt;
&lt;strong&gt;Bottom line&lt;/strong&gt;: Somehow SQL 2005 SP2 break DB mirroring if installed
right after SQL Server installation. This was my experience and I if someone has another
experience with this I would be grateful if we can discuss here 
&lt;/p&gt;
&lt;p&gt;
Useful links:
&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;a href="http://www.microsoft.com/technet/prodtechnol/sql/2005/dbmirror.mspx" target="_blank"&gt;SQL
2005 database mirror&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;a href="http://searchsqlserver.techtarget.com/tip/0,289483,sid87_gci1199004,00.html" target="_blank"&gt;Database
mirroring setup in SQL Server 2005&lt;/a&gt; (with many screenshots)&lt;/li&gt;
&lt;li&gt;
&lt;a href="http://alan328.com/SQL2005_Database_Mirroring_Tutorial.aspx" target="_blank"&gt;Database
Mirror Tutorial using certificates&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;a href="http://www.informit.com/guides/content.aspx?g=sqlserver&amp;amp;seqNum=213&amp;amp;rl=1" target="_blank"&gt;Another
DB Mirroring Tutorial&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;a href="http://msdn2.microsoft.com/en-us/library/ms189047.aspx" target="_blank"&gt;How
to: Prepare a Mirror Database for Mirroring (Transact-SQL)&lt;/a&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;
Hope this helps!
&lt;/p&gt;
&lt;img width="0" height="0" src="http://www.galcho.com/Blog/aggbug.ashx?id=2742eb63-16fb-4d3a-82e1-4e06262614fb" /&gt;
&lt;br /&gt;
&lt;hr /&gt;
This weblog is using &lt;a href="http://www.codeplex.com/dasBlog"&gt;dasBlog&lt;/a&gt; hosted
by &lt;a href="http://www.primaconsult.net/"&gt;PrimaNet Consult LTD&lt;/a&gt;. </description>
      <comments>http://www.galcho.com/Blog/CommentView.aspx?guid=2742eb63-16fb-4d3a-82e1-4e06262614fb</comments>
      <category>SQL</category>
      <category>Window Server System</category>
    </item>
    <item>
      <trackback:ping>http://www.galcho.com/Blog/Trackback.aspx?guid=18f6fb5f-9a31-43dd-b31b-795362d85486</trackback:ping>
      <pingback:server>http://www.galcho.com/Blog/pingback.aspx</pingback:server>
      <pingback:target>http://www.galcho.com/Blog/PermaLink.aspx?guid=18f6fb5f-9a31-43dd-b31b-795362d85486</pingback:target>
      <dc:creator>
      </dc:creator>
      <wfw:comment>http://www.galcho.com/Blog/CommentView.aspx?guid=18f6fb5f-9a31-43dd-b31b-795362d85486</wfw:comment>
      <wfw:commentRss>http://www.galcho.com/Blog/SyndicationService.asmx/GetEntryCommentsRss?guid=18f6fb5f-9a31-43dd-b31b-795362d85486</wfw:commentRss>
      <body xmlns="http://www.w3.org/1999/xhtml">
        <p>
          <a id="ctl00_MainContent_lnkAuthor" href="http://www.simple-talk.com/author/nigel-rivett/">Nigel
Rivett</a> has a nice article about <a href="http://www.simple-talk.com/sql/sql-server-2005/partitioned-tables-in-sql-server-2005/">Partitioned
Tables in SQL Server 2005</a>. There are many samples and T-SQL scripts that reveal
secrets of partitioned tables, schemes and indexes.
</p>
        <p>
Adam Rink also has good post with samples about <a href="http://mysqlserverblog.com/2007/08/22/partitioning-tables-part-2.aspx">partition
operations</a>.
</p>
        <img width="0" height="0" src="http://www.galcho.com/Blog/aggbug.ashx?id=18f6fb5f-9a31-43dd-b31b-795362d85486" />
        <br />
        <hr />
This weblog is using <a href="http://www.codeplex.com/dasBlog">dasBlog</a> hosted
by <a href="http://www.primaconsult.net/">PrimaNet Consult LTD</a>. 
</body>
      <title>Partitioned Tables in SQL Server 2005</title>
      <guid isPermaLink="false">http://www.galcho.com/Blog/PermaLink.aspx?guid=18f6fb5f-9a31-43dd-b31b-795362d85486</guid>
      <link>http://www.galcho.com/Blog/PermaLink.aspx?guid=18f6fb5f-9a31-43dd-b31b-795362d85486</link>
      <pubDate>Thu, 01 Nov 2007 12:38:59 GMT</pubDate>
      <description>&lt;p&gt;
&lt;a id=ctl00_MainContent_lnkAuthor href="http://www.simple-talk.com/author/nigel-rivett/"&gt;Nigel
Rivett&lt;/a&gt;&amp;nbsp;has a nice article about &lt;a href="http://www.simple-talk.com/sql/sql-server-2005/partitioned-tables-in-sql-server-2005/"&gt;Partitioned
Tables in SQL Server 2005&lt;/a&gt;. There are many samples and T-SQL scripts that reveal
secrets of partitioned tables, schemes and indexes.
&lt;/p&gt;
&lt;p&gt;
Adam Rink also has good post with samples about &lt;a href="http://mysqlserverblog.com/2007/08/22/partitioning-tables-part-2.aspx"&gt;partition
operations&lt;/a&gt;.
&lt;/p&gt;
&lt;img width="0" height="0" src="http://www.galcho.com/Blog/aggbug.ashx?id=18f6fb5f-9a31-43dd-b31b-795362d85486" /&gt;
&lt;br /&gt;
&lt;hr /&gt;
This weblog is using &lt;a href="http://www.codeplex.com/dasBlog"&gt;dasBlog&lt;/a&gt; hosted
by &lt;a href="http://www.primaconsult.net/"&gt;PrimaNet Consult LTD&lt;/a&gt;. </description>
      <comments>http://www.galcho.com/Blog/CommentView.aspx?guid=18f6fb5f-9a31-43dd-b31b-795362d85486</comments>
      <category>SQL</category>
      <category>Window Server System</category>
    </item>
    <item>
      <trackback:ping>http://www.galcho.com/Blog/Trackback.aspx?guid=df5924e9-9c31-4139-b5ac-917907f0cd1a</trackback:ping>
      <pingback:server>http://www.galcho.com/Blog/pingback.aspx</pingback:server>
      <pingback:target>http://www.galcho.com/Blog/PermaLink.aspx?guid=df5924e9-9c31-4139-b5ac-917907f0cd1a</pingback:target>
      <dc:creator>
      </dc:creator>
      <wfw:comment>http://www.galcho.com/Blog/CommentView.aspx?guid=df5924e9-9c31-4139-b5ac-917907f0cd1a</wfw:comment>
      <wfw:commentRss>http://www.galcho.com/Blog/SyndicationService.asmx/GetEntryCommentsRss?guid=df5924e9-9c31-4139-b5ac-917907f0cd1a</wfw:commentRss>
      <body xmlns="http://www.w3.org/1999/xhtml">
        <p>
IIS7 has been made alive with <a href="http://www.microsoft.com/windows/products/windowsvista/default.mspx">Windows
Vista</a> (full server release will be with Windows Server 2008) and offers
many new features. You can read about them at <a href="http://www.iis.net">www.iis.net</a>.
One of the most exciting features was option to extend IIS using ASP.NET and managed
code or so called to "plug into integrated pipeline mode". 
</p>
        <table>
          <tbody>
            <tr>
              <td>
                <p>
                  <font size="2">So far I was able to run ASP.NET sites using application Classic .NET
App Pool. But so far I wasn't able to utilize Integrated pipeline mode. </font>
                </p>
                <p>
                  <font size="2">By setting Managed pipeline mode to Integrated causes my app stop working
with terrible error. 
<br /><a href="content/binary/20071022IIS/ServiceUnavailable.jpg" rel="lightbox[IISPIPELINEMODE]"><img height="80" alt="" src="content/binary/20071022IIS/ServiceUnavailable.JPG" width="400" /></a></font>
                </p>
              </td>
              <td>
                <font size="2">
                </font>
                <a href="content/binary/20071022IIS/ClassicAppPool.jpg" rel="lightbox[IISPIPELINEMODE]">
                  <img height="80" alt="" src="content/binary/20071022IIS/ClassicAppPool.JPG" width="200" />
                </a>
              </td>
            </tr>
          </tbody>
        </table>
        <p>
Although the message in event log I wasn't able to find a solution although good message:
</p>
        <font size="2">
          <blockquote dir="ltr" style="MARGIN-RIGHT: 0px">
            <p>
              <em>A request mapped to aspnet_isapi.dll was made within an application pool running
in Integrated .NET mode. Aspnet_isapi.dll can only be used when running in Classic
.NET mode. Please either specify preCondition="ISAPImode" on the handler mapping to
make it run only in application pools running in Classic .NET mode, or move the application
to another application pool running in Classic .NET mode in order to use this handler
mapping.</em>
            </p>
          </blockquote>
        </font>
        <p>
Well... the error is in aspnet_isapi.dll. So let's remove ISAPI related modules from
modules section
</p>
        <a href="content/binary/20071022IIS/ModulesPage.jpg" rel="lightbox[IISPIPELINEMODE]">
          <img height="400" alt="" src="content/binary/20071022IIS/ModulesPage.JPG" width="700" />
        </a>
        <p>
After this operation I got Error 500
</p>
        <blockquote dir="ltr" style="MARGIN-RIGHT: 0px">
          <p>
            <em>HTTP Error 500.0 - Internal Server Error<br />
Description: Handler "AboMapperCustom-76525" has a bad module "IsapiModule" in its
module list</em>
          </p>
        </blockquote>
        <p dir="ltr">
So the next step is to remove all Handler Mappings that are mapped to IsapiFilter
</p>
        <p dir="ltr">
          <a href="content/binary/20071022IIS/HandlerMappings.jpg" rel="lightbox[IISPIPELINEMODE]">
            <img height="400" alt="" src="content/binary/20071022IIS/HandlerMappings.JPG" width="700" />
          </a>
        </p>
        <p dir="ltr">
And ... voila.. this was it...
</p>
        <p dir="ltr">
Hope you'll find this helpful.
</p>
        <img width="0" height="0" src="http://www.galcho.com/Blog/aggbug.ashx?id=df5924e9-9c31-4139-b5ac-917907f0cd1a" />
        <br />
        <hr />
This weblog is using <a href="http://www.codeplex.com/dasBlog">dasBlog</a> hosted
by <a href="http://www.primaconsult.net/">PrimaNet Consult LTD</a>. 
</body>
      <title>How to enable IIS7 Integrated Pipeline mode</title>
      <guid isPermaLink="false">http://www.galcho.com/Blog/PermaLink.aspx?guid=df5924e9-9c31-4139-b5ac-917907f0cd1a</guid>
      <link>http://www.galcho.com/Blog/PermaLink.aspx?guid=df5924e9-9c31-4139-b5ac-917907f0cd1a</link>
      <pubDate>Mon, 22 Oct 2007 17:58:37 GMT</pubDate>
      <description>&lt;p&gt;
IIS7 has&amp;nbsp;been made alive with &lt;a href="http://www.microsoft.com/windows/products/windowsvista/default.mspx"&gt;Windows
Vista&lt;/a&gt;&amp;nbsp;(full server release will be with Windows Server 2008)&amp;nbsp;and offers
many new features. You can read about them at &lt;a href="http://www.iis.net"&gt;www.iis.net&lt;/a&gt;.
One of the most exciting features was option to extend IIS using ASP.NET and managed
code or so called to "plug into integrated pipeline mode". 
&lt;/p&gt;
&lt;table&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;p&gt;
&lt;font size=2&gt;So far I was able to run ASP.NET sites using application Classic .NET
App Pool. But&amp;nbsp;so far&amp;nbsp;I wasn't able to utilize&amp;nbsp;Integrated pipeline mode. &lt;/font&gt;
&lt;/p&gt;
&lt;p&gt;
&lt;font size=2&gt;By setting Managed pipeline mode to Integrated causes my app stop working
with terrible error. 
&lt;br&gt;
&lt;a href="content/binary/20071022IIS/ServiceUnavailable.jpg" rel=lightbox[IISPIPELINEMODE]&gt;&lt;img height=80 alt="" src="content/binary/20071022IIS/ServiceUnavailable.JPG" width=400&gt;&lt;/a&gt; &lt;/font&gt;
&lt;/p&gt;
&lt;/td&gt;
&lt;td&gt;
&lt;font size=2&gt;&lt;/font&gt;&lt;a href="content/binary/20071022IIS/ClassicAppPool.jpg" rel=lightbox[IISPIPELINEMODE]&gt;&lt;img height=80 alt="" src="content/binary/20071022IIS/ClassicAppPool.JPG" width=200&gt;&lt;/a&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;p&gt;
Although the message in event log I wasn't able to find a solution although good message:
&lt;/p&gt;
&lt;font size=2&gt; &lt;blockquote dir=ltr style="MARGIN-RIGHT: 0px"&gt; 
&lt;p&gt;
&lt;em&gt;A request mapped to aspnet_isapi.dll was made within an application pool running
in Integrated .NET mode. Aspnet_isapi.dll can only be used when running in Classic
.NET mode. Please either specify preCondition="ISAPImode" on the handler mapping to
make it run only in application pools running in Classic .NET mode, or move the application
to another application pool running in Classic .NET mode in order to use this handler
mapping.&lt;/em&gt;
&lt;/p&gt;
&lt;/blockquote&gt;&lt;/font&gt; 
&lt;p&gt;
Well... the error is in aspnet_isapi.dll. So let's remove ISAPI related modules from
modules section
&lt;/p&gt;
&lt;a href="content/binary/20071022IIS/ModulesPage.jpg" rel=lightbox[IISPIPELINEMODE]&gt;&lt;img height=400 alt="" src="content/binary/20071022IIS/ModulesPage.JPG" width=700&gt;&lt;/a&gt; 
&lt;p&gt;
After this operation I got Error 500
&lt;/p&gt;
&lt;blockquote dir=ltr style="MARGIN-RIGHT: 0px"&gt; 
&lt;p&gt;
&lt;em&gt;HTTP Error 500.0 - Internal Server Error&lt;br&gt;
Description: Handler "AboMapperCustom-76525" has a bad module "IsapiModule" in its
module list&lt;/em&gt; 
&lt;/p&gt;
&lt;/blockquote&gt; 
&lt;p dir=ltr&gt;
So the next step is to remove all Handler Mappings that are mapped to IsapiFilter
&lt;/p&gt;
&lt;p dir=ltr&gt;
&lt;a href="content/binary/20071022IIS/HandlerMappings.jpg" rel=lightbox[IISPIPELINEMODE]&gt;&lt;img height=400 alt="" src="content/binary/20071022IIS/HandlerMappings.JPG" width=700&gt;&lt;/a&gt; 
&lt;/p&gt;
&lt;p dir=ltr&gt;
And ... voila.. this was it...
&lt;/p&gt;
&lt;p dir=ltr&gt;
Hope you'll find&amp;nbsp;this helpful.
&lt;/p&gt;
&lt;img width="0" height="0" src="http://www.galcho.com/Blog/aggbug.ashx?id=df5924e9-9c31-4139-b5ac-917907f0cd1a" /&gt;
&lt;br /&gt;
&lt;hr /&gt;
This weblog is using &lt;a href="http://www.codeplex.com/dasBlog"&gt;dasBlog&lt;/a&gt; hosted
by &lt;a href="http://www.primaconsult.net/"&gt;PrimaNet Consult LTD&lt;/a&gt;. </description>
      <comments>http://www.galcho.com/Blog/CommentView.aspx?guid=df5924e9-9c31-4139-b5ac-917907f0cd1a</comments>
      <category>Window Server System</category>
    </item>
    <item>
      <trackback:ping>http://www.galcho.com/Blog/Trackback.aspx?guid=8a813d82-40ab-4c1a-a6e7-3211b45828cc</trackback:ping>
      <pingback:server>http://www.galcho.com/Blog/pingback.aspx</pingback:server>
      <pingback:target>http://www.galcho.com/Blog/PermaLink.aspx?guid=8a813d82-40ab-4c1a-a6e7-3211b45828cc</pingback:target>
      <dc:creator>
      </dc:creator>
      <wfw:comment>http://www.galcho.com/Blog/CommentView.aspx?guid=8a813d82-40ab-4c1a-a6e7-3211b45828cc</wfw:comment>
      <wfw:commentRss>http://www.galcho.com/Blog/SyndicationService.asmx/GetEntryCommentsRss?guid=8a813d82-40ab-4c1a-a6e7-3211b45828cc</wfw:commentRss>
      <body xmlns="http://www.w3.org/1999/xhtml">
        <p>
There is a lot of noise these days around Visual Studio 2008 and fancy LINQ to SQL
and Entity Framework and discussions how they will change the way data driven applications
is done.
</p>
        <p>
But somethign was missed 'till now - How this would affect database administrators
(DBAs)?  Erick Thompson <a href="http://blogs.msdn.com/adonet/archive/2007/09/04/entity-framework-for-dbas.aspx">post
a good explanation</a> about these technologies that targets DBA and explain what
will be changed on their daily job.
</p>
        <p>
Go and <a href="http://blogs.msdn.com/adonet/archive/2007/09/04/entity-framework-for-dbas.aspx">read
ADO.NET Blog post </a>- it worths.
</p>
        <img width="0" height="0" src="http://www.galcho.com/Blog/aggbug.ashx?id=8a813d82-40ab-4c1a-a6e7-3211b45828cc" />
        <br />
        <hr />
This weblog is using <a href="http://www.codeplex.com/dasBlog">dasBlog</a> hosted
by <a href="http://www.primaconsult.net/">PrimaNet Consult LTD</a>. 
</body>
      <title>Entity Framework for DBAs</title>
      <guid isPermaLink="false">http://www.galcho.com/Blog/PermaLink.aspx?guid=8a813d82-40ab-4c1a-a6e7-3211b45828cc</guid>
      <link>http://www.galcho.com/Blog/PermaLink.aspx?guid=8a813d82-40ab-4c1a-a6e7-3211b45828cc</link>
      <pubDate>Wed, 05 Sep 2007 18:25:44 GMT</pubDate>
      <description>&lt;p&gt;
There is a lot of noise these days around Visual Studio 2008 and fancy LINQ to SQL
and Entity Framework and discussions how they will change the way data driven applications
is done.
&lt;/p&gt;
&lt;p&gt;
But somethign was missed 'till now&amp;nbsp;- How this would affect database administrators
(DBAs)?&amp;nbsp; Erick Thompson &lt;a href="http://blogs.msdn.com/adonet/archive/2007/09/04/entity-framework-for-dbas.aspx"&gt;post
a good explanation&lt;/a&gt; about these technologies that targets DBA and explain what
will be changed on their daily job.
&lt;/p&gt;
&lt;p&gt;
Go and &lt;a href="http://blogs.msdn.com/adonet/archive/2007/09/04/entity-framework-for-dbas.aspx"&gt;read
ADO.NET Blog post &lt;/a&gt;- it worths.
&lt;/p&gt;
&lt;img width="0" height="0" src="http://www.galcho.com/Blog/aggbug.ashx?id=8a813d82-40ab-4c1a-a6e7-3211b45828cc" /&gt;
&lt;br /&gt;
&lt;hr /&gt;
This weblog is using &lt;a href="http://www.codeplex.com/dasBlog"&gt;dasBlog&lt;/a&gt; hosted
by &lt;a href="http://www.primaconsult.net/"&gt;PrimaNet Consult LTD&lt;/a&gt;. </description>
      <comments>http://www.galcho.com/Blog/CommentView.aspx?guid=8a813d82-40ab-4c1a-a6e7-3211b45828cc</comments>
      <category>LINQ</category>
      <category>SQL</category>
      <category>Window Server System</category>
    </item>
    <item>
      <trackback:ping>http://www.galcho.com/Blog/Trackback.aspx?guid=12de349c-c093-40af-acdc-6bd16cdc253d</trackback:ping>
      <pingback:server>http://www.galcho.com/Blog/pingback.aspx</pingback:server>
      <pingback:target>http://www.galcho.com/Blog/PermaLink.aspx?guid=12de349c-c093-40af-acdc-6bd16cdc253d</pingback:target>
      <dc:creator>
      </dc:creator>
      <wfw:comment>http://www.galcho.com/Blog/CommentView.aspx?guid=12de349c-c093-40af-acdc-6bd16cdc253d</wfw:comment>
      <wfw:commentRss>http://www.galcho.com/Blog/SyndicationService.asmx/GetEntryCommentsRss?guid=12de349c-c093-40af-acdc-6bd16cdc253d</wfw:commentRss>
      <body xmlns="http://www.w3.org/1999/xhtml">
        <p>
A great software developer and architect from Pakistan <a href="http://omar.mvps.org/">Omar
Al Zabir</a> wrote an article about <a href="http://www.codeproject.com/install/13disasters.asp">disasters
for production web sites and their solutions</a>. It is very interesting as it describes
how to deal with problems (and event worse - disasters) in production.
</p>
        <p>
Here is the list:
</p>
        <ol>
          <li>
Hard drive crashed, burned, got corrupted several times 
</li>
          <li>
Controller malfunctions and corrupts all disks in the same controller 
</li>
          <li>
RAID malfunction 
</li>
          <li>
CPU overheated and burned out 
</li>
          <li>
Firewall went down 
</li>
          <li>
Remote Desktop stopped working after a patch installation 
</li>
          <li>
Remote Desktop max connection exceeded. Cannot login anymore to servers 
</li>
          <li>
Database got corrupted while we were moving the production database from one server
to another over the network 
</li>
          <li>
One developer deleted the production database accidentally while doing routine work 
</li>
          <li>
Support crew at hosting service formatted our running production server instead of
a corrupted server that we asked to format 
</li>
          <li>
Windows got corrupted and was not working until we reinstalled 
</li>
          <li>
DNS goes down 
</li>
          <li>
Internet backbone goes down in different part of the world 
</li>
        </ol>
        <p>
Here is the article <a href="http://www.codeproject.com/install/13disasters.asp">13
disasters for production web sites and their solutions</a></p>
        <p>
Note: You can also take a look at his website - <a href="http://omar.mvps.org/">http://omar.mvps.org/</a> it
is <u>very</u> impressing with Win2k look&amp;feel
</p>
        <img width="0" height="0" src="http://www.galcho.com/Blog/aggbug.ashx?id=12de349c-c093-40af-acdc-6bd16cdc253d" />
        <br />
        <hr />
This weblog is using <a href="http://www.codeplex.com/dasBlog">dasBlog</a> hosted
by <a href="http://www.primaconsult.net/">PrimaNet Consult LTD</a>. 
</body>
      <title>13 disasters for production web sites and their solutions by Omar Al Zabir </title>
      <guid isPermaLink="false">http://www.galcho.com/Blog/PermaLink.aspx?guid=12de349c-c093-40af-acdc-6bd16cdc253d</guid>
      <link>http://www.galcho.com/Blog/PermaLink.aspx?guid=12de349c-c093-40af-acdc-6bd16cdc253d</link>
      <pubDate>Wed, 15 Aug 2007 10:09:39 GMT</pubDate>
      <description>&lt;p&gt;
A great software developer and architect from Pakistan &lt;a href="http://omar.mvps.org/"&gt;Omar
Al Zabir&lt;/a&gt; wrote an article about &lt;a href="http://www.codeproject.com/install/13disasters.asp"&gt;disasters
for production web sites and their solutions&lt;/a&gt;. It is very interesting as it describes
how to deal with problems (and event worse - disasters) in production.
&lt;/p&gt;
&lt;p&gt;
Here is the list:
&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
Hard drive crashed, burned, got corrupted several times 
&lt;li&gt;
Controller malfunctions and corrupts all disks in the same controller 
&lt;li&gt;
RAID malfunction 
&lt;li&gt;
CPU overheated and burned out 
&lt;li&gt;
Firewall went down 
&lt;li&gt;
Remote Desktop stopped working after a patch installation 
&lt;li&gt;
Remote Desktop max connection exceeded. Cannot login anymore to servers 
&lt;li&gt;
Database got corrupted while we were moving the production database from one server
to another over the network 
&lt;li&gt;
One developer deleted the production database accidentally while doing routine work 
&lt;li&gt;
Support crew at hosting service formatted our running production server instead of
a corrupted server that we asked to format 
&lt;li&gt;
Windows got corrupted and was not working until we reinstalled 
&lt;li&gt;
DNS goes down 
&lt;li&gt;
Internet backbone goes down in different part of the world 
&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;
Here is the article &lt;a href="http://www.codeproject.com/install/13disasters.asp"&gt;13
disasters for production web sites and their solutions&lt;/a&gt;
&lt;/p&gt;
&lt;p&gt;
Note: You can also take a look at his website - &lt;a href="http://omar.mvps.org/"&gt;http://omar.mvps.org/&lt;/a&gt;&amp;nbsp;it
is &lt;u&gt;very&lt;/u&gt; impressing with Win2k look&amp;amp;feel
&lt;/p&gt;
&lt;img width="0" height="0" src="http://www.galcho.com/Blog/aggbug.ashx?id=12de349c-c093-40af-acdc-6bd16cdc253d" /&gt;
&lt;br /&gt;
&lt;hr /&gt;
This weblog is using &lt;a href="http://www.codeplex.com/dasBlog"&gt;dasBlog&lt;/a&gt; hosted
by &lt;a href="http://www.primaconsult.net/"&gt;PrimaNet Consult LTD&lt;/a&gt;. </description>
      <comments>http://www.galcho.com/Blog/CommentView.aspx?guid=12de349c-c093-40af-acdc-6bd16cdc253d</comments>
      <category>Misc</category>
      <category>Window Server System</category>
    </item>
    <item>
      <trackback:ping>http://www.galcho.com/Blog/Trackback.aspx?guid=0d731bc1-d186-45dd-b0ec-0134f7cd892c</trackback:ping>
      <pingback:server>http://www.galcho.com/Blog/pingback.aspx</pingback:server>
      <pingback:target>http://www.galcho.com/Blog/PermaLink.aspx?guid=0d731bc1-d186-45dd-b0ec-0134f7cd892c</pingback:target>
      <dc:creator>
      </dc:creator>
      <wfw:comment>http://www.galcho.com/Blog/CommentView.aspx?guid=0d731bc1-d186-45dd-b0ec-0134f7cd892c</wfw:comment>
      <wfw:commentRss>http://www.galcho.com/Blog/SyndicationService.asmx/GetEntryCommentsRss?guid=0d731bc1-d186-45dd-b0ec-0134f7cd892c</wfw:commentRss>
      <body xmlns="http://www.w3.org/1999/xhtml">
        <p>
Can you name the common things (logical ones) between file system storage and
RDBMS? For sure both stores user's and system's data. For historical reasons the engines
are quite different but can they be brought closer with current level of technologies?
Why not?! Microsoft has made an attempt with <a href="http://en.wikipedia.org/wiki/WinFS">WinFS</a> but
this adventure threatened Windows Vista relesase and was dropped from Vista. This
mean we won't see it in Windows Server 2008 either as they share same core AFIAK.
</p>
        <p>
But still we can have small good even now - transactions in file system or trade name
- Transactional NTFS (TxF)
</p>
        <p>
There is a <a href="http://msdn.microsoft.com/msdnmag/issues/07/07/NTFS/default.aspx?loc=en">good article
explaining TxF</a> in <a href="http://msdn.microsoft.com/msdnmag/issues/07/07/">July
2007</a> issue of <a href="http://msdn.microsoft.com/msdnmag">MSDN Magazine</a>. 
</p>
        <p>
The easiest use of TxF is with native code. Being .NET developer this isn't that
good for me but in the article's sample code is placed a basic wrapper you could start
with.
</p>
        <p>
If you're interested but too lazy to read take a look at Channel9 screencast <a href="http://channel9.msdn.com/ShowPost.aspx?PostID=289816">Developer,
Meet Server #1 - Transactional NTFS</a></p>
        <img width="0" height="0" src="http://www.galcho.com/Blog/aggbug.ashx?id=0d731bc1-d186-45dd-b0ec-0134f7cd892c" />
        <br />
        <hr />
This weblog is using <a href="http://www.codeplex.com/dasBlog">dasBlog</a> hosted
by <a href="http://www.primaconsult.net/">PrimaNet Consult LTD</a>. 
</body>
      <title>Transactional NTFS</title>
      <guid isPermaLink="false">http://www.galcho.com/Blog/PermaLink.aspx?guid=0d731bc1-d186-45dd-b0ec-0134f7cd892c</guid>
      <link>http://www.galcho.com/Blog/PermaLink.aspx?guid=0d731bc1-d186-45dd-b0ec-0134f7cd892c</link>
      <pubDate>Fri, 13 Jul 2007 11:10:15 GMT</pubDate>
      <description>&lt;p&gt;
Can you&amp;nbsp;name the common things (logical ones) between file system storage and
RDBMS? For sure both stores user's and system's data. For historical reasons the engines
are quite different but can they be brought closer with current level of technologies?
Why not?! Microsoft has made an attempt with &lt;a href="http://en.wikipedia.org/wiki/WinFS"&gt;WinFS&lt;/a&gt; but
this adventure threatened Windows Vista relesase and was dropped from Vista. This
mean we won't see it in Windows Server 2008 either as they share same core AFIAK.
&lt;/p&gt;
&lt;p&gt;
But still we can have small good even now - transactions in file system or trade name
- Transactional NTFS (TxF)
&lt;/p&gt;
&lt;p&gt;
There is a &lt;a href="http://msdn.microsoft.com/msdnmag/issues/07/07/NTFS/default.aspx?loc=en"&gt;good&amp;nbsp;article
explaining TxF&lt;/a&gt; in &lt;a href="http://msdn.microsoft.com/msdnmag/issues/07/07/"&gt;July
2007&lt;/a&gt; issue of &lt;a href="http://msdn.microsoft.com/msdnmag"&gt;MSDN Magazine&lt;/a&gt;. 
&lt;/p&gt;
&lt;p&gt;
The easiest use of TxF is with native code.&amp;nbsp;Being .NET developer this isn't that
good for me but in the article's sample code is placed a basic wrapper you could start
with.
&lt;/p&gt;
&lt;p&gt;
If you're interested but too lazy to read take a look at Channel9 screencast &lt;a href="http://channel9.msdn.com/ShowPost.aspx?PostID=289816"&gt;Developer,
Meet Server #1 - Transactional NTFS&lt;/a&gt;
&lt;/p&gt;
&lt;img width="0" height="0" src="http://www.galcho.com/Blog/aggbug.ashx?id=0d731bc1-d186-45dd-b0ec-0134f7cd892c" /&gt;
&lt;br /&gt;
&lt;hr /&gt;
This weblog is using &lt;a href="http://www.codeplex.com/dasBlog"&gt;dasBlog&lt;/a&gt; hosted
by &lt;a href="http://www.primaconsult.net/"&gt;PrimaNet Consult LTD&lt;/a&gt;. </description>
      <comments>http://www.galcho.com/Blog/CommentView.aspx?guid=0d731bc1-d186-45dd-b0ec-0134f7cd892c</comments>
      <category>Window Server System</category>
    </item>
    <item>
      <trackback:ping>http://www.galcho.com/Blog/Trackback.aspx?guid=d9a32153-d58b-4c44-8ab1-ff36ae687197</trackback:ping>
      <pingback:server>http://www.galcho.com/Blog/pingback.aspx</pingback:server>
      <pingback:target>http://www.galcho.com/Blog/PermaLink.aspx?guid=d9a32153-d58b-4c44-8ab1-ff36ae687197</pingback:target>
      <dc:creator>
      </dc:creator>
      <wfw:comment>http://www.galcho.com/Blog/CommentView.aspx?guid=d9a32153-d58b-4c44-8ab1-ff36ae687197</wfw:comment>
      <wfw:commentRss>http://www.galcho.com/Blog/SyndicationService.asmx/GetEntryCommentsRss?guid=d9a32153-d58b-4c44-8ab1-ff36ae687197</wfw:commentRss>
      <slash:comments>1</slash:comments>
      <body xmlns="http://www.w3.org/1999/xhtml">
        <p>
It is amazing how many improvements was made from VS 2003 to VS 2005. I remember the
time when I was so anxious to touch new VS 2005. MS guys are working hard (and smart)
to let us waiting new VS 2008 (Orcas) in same manner. 
</p>
        <p>
          <a href="http://weblogs.asp.net/scottgu">ScottGu</a> was very responsive to users'
comments on his blog entry <a href="http://weblogs.asp.net/scottgu/archive/2007/07/09/vs-2008-nested-master-page-support.aspx#3076792">VS
2008 Nested Master Page Support </a>and shares
</p>
        <blockquote dir="ltr" style="MARGIN-RIGHT: 0px">
          <p>
            <em>VS 2008 Beta2 should be available for free download in the next three weeks. It
will support a go-live license</em> (Posted on July 09, 2007)
</p>
        </blockquote>
        <p>
Also the date of big launch is known... as  <a href="http://blogs.msdn.com/dseven/archive/2007/07/10/windows-server-2008-visual-studio-2008-and-microsoft-sql-server-2008-joint-launch-announced.aspx">Windows
Server 2008, Visual Studio 2008 and Microsoft SQL Server 2008 Joint Launch Announced</a>.
It is Feb 27, 2008 in LA. 
</p>
        <blockquote dir="ltr" style="MARGIN-RIGHT: 0px">
          <p>
            <em>While the launch events are scheduled to kick off on February 27, 2008, Visual
Studio 2008 will be released before the end of the year.</em>
          </p>
        </blockquote>
        <img width="0" height="0" src="http://www.galcho.com/Blog/aggbug.ashx?id=d9a32153-d58b-4c44-8ab1-ff36ae687197" />
        <br />
        <hr />
This weblog is using <a href="http://www.codeplex.com/dasBlog">dasBlog</a> hosted
by <a href="http://www.primaconsult.net/">PrimaNet Consult LTD</a>. 
</body>
      <title>Visual Studio 2008 (When to expect?)</title>
      <guid isPermaLink="false">http://www.galcho.com/Blog/PermaLink.aspx?guid=d9a32153-d58b-4c44-8ab1-ff36ae687197</guid>
      <link>http://www.galcho.com/Blog/PermaLink.aspx?guid=d9a32153-d58b-4c44-8ab1-ff36ae687197</link>
      <pubDate>Fri, 13 Jul 2007 07:48:37 GMT</pubDate>
      <description>&lt;p&gt;
It is amazing how many improvements was made from VS 2003 to VS 2005. I remember the
time when I was so anxious to touch new VS 2005. MS guys are working hard (and smart)
to let us waiting new VS 2008 (Orcas) in same manner. 
&lt;/p&gt;
&lt;p&gt;
&lt;a href="http://weblogs.asp.net/scottgu"&gt;ScottGu&lt;/a&gt; was very responsive to users'
comments on his blog entry &lt;a href="http://weblogs.asp.net/scottgu/archive/2007/07/09/vs-2008-nested-master-page-support.aspx#3076792"&gt;VS
2008 Nested Master Page Support&amp;nbsp;&lt;/a&gt;and shares
&lt;/p&gt;
&lt;blockquote dir=ltr style="MARGIN-RIGHT: 0px"&gt; 
&lt;p&gt;
&lt;em&gt;VS 2008 Beta2 should be available for free download in the next three weeks. It
will support a go-live license&lt;/em&gt; (Posted on July 09, 2007)
&lt;/p&gt;
&lt;/blockquote&gt; 
&lt;p&gt;
Also the date of big launch is known... as &amp;nbsp;&lt;a href="http://blogs.msdn.com/dseven/archive/2007/07/10/windows-server-2008-visual-studio-2008-and-microsoft-sql-server-2008-joint-launch-announced.aspx"&gt;Windows
Server 2008, Visual Studio 2008 and Microsoft SQL Server 2008 Joint Launch Announced&lt;/a&gt;.
It is Feb 27, 2008 in LA. 
&lt;/p&gt;
&lt;blockquote dir=ltr style="MARGIN-RIGHT: 0px"&gt; 
&lt;p&gt;
&lt;em&gt;While the launch events are scheduled to kick off on February 27, 2008, Visual
Studio 2008 will be released before the end of the year.&lt;/em&gt; 
&lt;/p&gt;
&lt;/blockquote&gt;&lt;img width="0" height="0" src="http://www.galcho.com/Blog/aggbug.ashx?id=d9a32153-d58b-4c44-8ab1-ff36ae687197" /&gt;
&lt;br /&gt;
&lt;hr /&gt;
This weblog is using &lt;a href="http://www.codeplex.com/dasBlog"&gt;dasBlog&lt;/a&gt; hosted
by &lt;a href="http://www.primaconsult.net/"&gt;PrimaNet Consult LTD&lt;/a&gt;. </description>
      <comments>http://www.galcho.com/Blog/CommentView.aspx?guid=d9a32153-d58b-4c44-8ab1-ff36ae687197</comments>
      <category>LINQ</category>
      <category>Window Server System</category>
    </item>
    <item>
      <trackback:ping>http://www.galcho.com/Blog/Trackback.aspx?guid=20023386-03d8-469e-ad15-f6871358c1a2</trackback:ping>
      <pingback:server>http://www.galcho.com/Blog/pingback.aspx</pingback:server>
      <pingback:target>http://www.galcho.com/Blog/PermaLink.aspx?guid=20023386-03d8-469e-ad15-f6871358c1a2</pingback:target>
      <dc:creator>
      </dc:creator>
      <wfw:comment>http://www.galcho.com/Blog/CommentView.aspx?guid=20023386-03d8-469e-ad15-f6871358c1a2</wfw:comment>
      <wfw:commentRss>http://www.galcho.com/Blog/SyndicationService.asmx/GetEntryCommentsRss?guid=20023386-03d8-469e-ad15-f6871358c1a2</wfw:commentRss>
      <body xmlns="http://www.w3.org/1999/xhtml">
        <p>
On TechEd07 Microsoft announced official names of next version of Visual studio and
SQL Server. Both will be named according year of the release - accordingly <a href="http://msdn2.microsoft.com/en-us/vstudio/aa700830.aspx"><strong>Visual
Studio 2008</strong></a> and <strong><a href="http://www.microsoft.com/sql/prodinfo/futureversion/default.mspx">SQL
Server 2008</a></strong> - following marketing strategy that started with windows
95 :)
</p>
        <p>
Also there is new framework that comes to help developing rich clients - Microsoft
codename "Acropolis".
</p>
        <blockquote>
          <p>
            <em>
              <strong>The Microsoft code name “Acropolis” Community Technology Preview 1</strong> is
a set of components and tools that make it easier for developers to build and manage
modular, business focused, client .NET applications. Acropolis is part of the “.NET
Client Futures” wave of releases, our preview of upcoming technologies for Windows
client development.</em>
          </p>
          <p>
            <em>Acropolis builds on the rich capabilities of Microsoft Windows and the .NET Framework,
including Windows Presentation Foundation (WPF), by providing tools and pre-built
components that help developers quickly assemble applications from loosely-coupled
parts and services. With Acropolis you will be able to:</em>
          </p>
          <ul>
            <li>
              <em>Quickly create WPF enabled user experiences for your client applications. </em>
            </li>
            <li>
              <em>Build client applications from reusable, connectable, modules that allow you to
easily create complex, business-focused applications in less time. </em>
            </li>
            <li>
              <em>Integrate and host your modules in applications such as Microsoft Office, or quickly
build stand-alone client interfaces. </em>
            </li>
            <li>
              <em>Change the look and feel of your application quickly using built-in themes, or
custom designs using XAML. </em>
            </li>
            <li>
              <em>Add features such as workflow navigation and user-specific views with minimal
coding. </em>
            </li>
            <li>
              <em>Manage, update, and deploy your application modules quickly and easily.</em>
            </li>
          </ul>
        </blockquote>
        <p>
(via <a href="http://www.codeattest.com/blogs/martin/">Marto Kulov's blog</a>)
</p>
        <img width="0" height="0" src="http://www.galcho.com/Blog/aggbug.ashx?id=20023386-03d8-469e-ad15-f6871358c1a2" />
        <br />
        <hr />
This weblog is using <a href="http://www.codeplex.com/dasBlog">dasBlog</a> hosted
by <a href="http://www.primaconsult.net/">PrimaNet Consult LTD</a>. 
</body>
      <title>Let's call them with real names</title>
      <guid isPermaLink="false">http://www.galcho.com/Blog/PermaLink.aspx?guid=20023386-03d8-469e-ad15-f6871358c1a2</guid>
      <link>http://www.galcho.com/Blog/PermaLink.aspx?guid=20023386-03d8-469e-ad15-f6871358c1a2</link>
      <pubDate>Thu, 07 Jun 2007 06:17:48 GMT</pubDate>
      <description>&lt;p&gt;
On TechEd07 Microsoft announced official names of next version of Visual studio and
SQL Server. Both will be named according year of the release - accordingly &lt;a href="http://msdn2.microsoft.com/en-us/vstudio/aa700830.aspx"&gt;&lt;strong&gt;Visual
Studio 2008&lt;/strong&gt;&lt;/a&gt; and &lt;strong&gt;&lt;a href="http://www.microsoft.com/sql/prodinfo/futureversion/default.mspx"&gt;SQL
Server 2008&lt;/a&gt;&lt;/strong&gt; - following marketing strategy that started with windows
95 :)
&lt;/p&gt;
&lt;p&gt;
Also there is new framework that comes to help developing rich clients - Microsoft
codename "Acropolis".
&lt;/p&gt;
&lt;blockquote&gt; 
&lt;p&gt;
&lt;em&gt;&lt;strong&gt;The Microsoft code name “Acropolis” Community Technology Preview 1&lt;/strong&gt; is
a set of components and tools that make it easier for developers to build and manage
modular, business focused, client .NET applications. Acropolis is part of the “.NET
Client Futures” wave of releases, our preview of upcoming technologies for Windows
client development.&lt;/em&gt;
&lt;/p&gt;
&lt;p&gt;
&lt;em&gt;Acropolis builds on the rich capabilities of Microsoft Windows and the .NET Framework,
including Windows Presentation Foundation (WPF), by providing tools and pre-built
components that help developers quickly assemble applications from loosely-coupled
parts and services. With Acropolis you will be able to:&lt;/em&gt;
&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;em&gt;Quickly create WPF enabled user experiences for your client applications. &lt;/em&gt; 
&lt;li&gt;
&lt;em&gt;Build client applications from reusable, connectable, modules that allow you to
easily create complex, business-focused applications in less time. &lt;/em&gt; 
&lt;li&gt;
&lt;em&gt;Integrate and host your modules in applications such as Microsoft Office, or quickly
build stand-alone client interfaces. &lt;/em&gt; 
&lt;li&gt;
&lt;em&gt;Change the look and feel of your application quickly using built-in themes, or
custom designs using XAML. &lt;/em&gt; 
&lt;li&gt;
&lt;em&gt;Add features such as workflow navigation and user-specific views with minimal
coding. &lt;/em&gt; 
&lt;li&gt;
&lt;em&gt;Manage, update, and deploy your application modules quickly and easily.&lt;/em&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/blockquote&gt; 
&lt;p&gt;
(via &lt;a href="http://www.codeattest.com/blogs/martin/"&gt;Marto Kulov's blog&lt;/a&gt;)
&lt;/p&gt;
&lt;img width="0" height="0" src="http://www.galcho.com/Blog/aggbug.ashx?id=20023386-03d8-469e-ad15-f6871358c1a2" /&gt;
&lt;br /&gt;
&lt;hr /&gt;
This weblog is using &lt;a href="http://www.codeplex.com/dasBlog"&gt;dasBlog&lt;/a&gt; hosted
by &lt;a href="http://www.primaconsult.net/"&gt;PrimaNet Consult LTD&lt;/a&gt;. </description>
      <comments>http://www.galcho.com/Blog/CommentView.aspx?guid=20023386-03d8-469e-ad15-f6871358c1a2</comments>
      <category>.NET Development</category>
      <category>Window Server System</category>
    </item>
    <item>
      <trackback:ping>http://www.galcho.com/Blog/Trackback.aspx?guid=a745be38-03c9-40bc-ae88-6311dbc38344</trackback:ping>
      <pingback:server>http://www.galcho.com/Blog/pingback.aspx</pingback:server>
      <pingback:target>http://www.galcho.com/Blog/PermaLink.aspx?guid=a745be38-03c9-40bc-ae88-6311dbc38344</pingback:target>
      <dc:creator>
      </dc:creator>
      <wfw:comment>http://www.galcho.com/Blog/CommentView.aspx?guid=a745be38-03c9-40bc-ae88-6311dbc38344</wfw:comment>
      <wfw:commentRss>http://www.galcho.com/Blog/SyndicationService.asmx/GetEntryCommentsRss?guid=a745be38-03c9-40bc-ae88-6311dbc38344</wfw:commentRss>
      <slash:comments>1</slash:comments>
      <body xmlns="http://www.w3.org/1999/xhtml">
        <p>
I have been dealing with MS SQL Server 2005 and Microsoft SQL Server 2005 Analysis
Services as well as Reporting services to display results to end users.
</p>
        <p>
It was amazing how many issues are in the fields of databases. I developed projects
on my dev box with snapshot of database (biggest table contains aprox 200,000 rows)
and I though it was done. Unfortunately I was not able to deploy in production because
of following reasons:
</p>
        <ul>
          <li>
            <strong>cube and dimensions processing was extremely slow</strong> - this was
solved with playing with indecies</li>
          <li>
            <strong>Memory error: The operation cannot be completed because the memory quota estimate
(1678MB) exceeds the available system memory </strong> - this was on 4xCPU
and 4GB RAM on 32bit Windows 2003 std. This was solved with limiting SQL Server serive
memory to 2GB and set <a href="http://technet.microsoft.com/en-us/library/e834e9c7-708c-43bf-b877-e14ae443ecbf.aspx">/3GB
startup switch in windows</a>.</li>
          <li>
then came:  <strong>Arithmetic overflow error converting expression to data type
int</strong>. This was tough also because I had to wait 2:30 hours before I get the
error. then I make changes and try again... this was very, very long loop. For fully
understand it check <a href="http://msdn2.microsoft.com/en-us/library/ms163363.aspx">SQL
Server Books</a> and as resolution check <a href="http://barnabas.wordpress.com/2006/08/01/ssrs-indexed-views/">Barnabas
Kendall's blog entry</a>.</li>
        </ul>
        <p>
there are  some good points in <a href="http://barnabas.wordpress.com/2006/08/01/ssrs-indexed-views/">Barnabas
Kendall's blog entry</a> like:
</p>
        <blockquote dir="ltr" style="MARGIN-RIGHT: 0px">
          <p>
            <em>
              <strong>I don’t enjoy reading documentation (lack of plot and character development),  
:):)</strong>
            </em>
          </p>
        </blockquote>
        <ul>
          <li>
            <em>Create the view with the SCHEMABINDING option. </em>
          </li>
          <li>
            <em>Define the view to pre-aggregate the data (this is where the performance enhancement
comes from). For example, I have a view that splits up the year, month, day, and hour
of a click, groups by client, and also returns a total. I can also reuse this view
to get totals by hour, day, month, year, or all time. </em>
          </li>
          <li>
            <em>Don’t use COUNT, use COUNT_BIG. </em>
          </li>
          <li>
            <em>Don’t use AVG; use SUM and COUNT_BIG. Beware of integer overflows in your final
query; SUM always wants to make an INT. Why isn’t there a SUM_BIG? You can get around
this by using CAST or CONVERT in your final query. </em>
          </li>
          <li>
            <em>Make a clustered unique index on the view. This forces the database engine to
persist the values to disk rather than calculating them on the fly, which is what
leads to five-minute queries. I am surprised to learn that you don’t need to put all
the values of the table in the index, just the ones necessary to make a clustered
unique index. </em>
          </li>
          <li>
            <em>When querying the view, use the NOEXPAND hint. </em>
          </li>
        </ul>
        <p>
          <hr />
        </p>
        <blockquote dir="ltr" style="MARGIN-RIGHT: 0px">
          <p>
I would like to add: <strong><u>All aggregate functions return result depending on
input parameter's type</u></strong>- if input column is of type int and result would
be if type int:
</p>
          <font color="#0000ff" size="2">
            <p>
select
</p>
          </font>
          <font color="#000000" size="2">
          </font>
          <font color="#ff00ff" size="2">sum</font>
          <font color="#808080" size="2">(</font>
          <font color="#000000" size="2">numbers</font>
          <font color="#808080" size="2">)</font>
          <font color="#000000" size="2">
          </font>
          <font color="#0000ff" size="2">from</font>
          <font color="#000000" size="2"> dbo</font>
          <font color="#808080" size="2">.</font>
          <font size="2">
            <font color="#000000">TestTable</font>
          </font>
          <p>
And if you use SUM of multiple rows all that contains values like 2,000,000,000 you
will end up with <strong>Arithmetic overflow error </strong></p>
          <p>
In order to change result type this:
</p>
          <font color="#0000ff" size="2">
            <p>
select
</p>
          </font>
          <font color="#000000" size="2">
          </font>
          <font color="#ff00ff" size="2">sum</font>
          <font color="#808080" size="2">(</font>
          <strong>
            <font color="#ff00ff" size="2">cast</font>
            <font color="#808080" size="2">(</font>
            <font color="#000000" size="2">numbers </font>
            <font color="#0000ff" size="2">as</font>
            <font color="#000000" size="2">
            </font>
            <font color="#0000ff" size="2">bigint</font>
          </strong>
          <font color="#808080" size="2">
            <strong>)</strong>)</font>
          <font color="#000000" size="2">
          </font>
          <font color="#0000ff" size="2">from</font>
          <font color="#000000" size="2"> dbo</font>
          <font color="#808080" size="2">.</font>
          <font size="2">
            <font color="#000000">TestTable</font>
          </font>
        </blockquote>
        <p>
          <hr />
        </p>
        <p>
I employed some of these techniques and started the process again. I am keeping my
fingers crossed...
</p>
        <img width="0" height="0" src="http://www.galcho.com/Blog/aggbug.ashx?id=a745be38-03c9-40bc-ae88-6311dbc38344" />
        <br />
        <hr />
This weblog is using <a href="http://www.codeplex.com/dasBlog">dasBlog</a> hosted
by <a href="http://www.primaconsult.net/">PrimaNet Consult LTD</a>. 
</body>
      <title>Databases tips</title>
      <guid isPermaLink="false">http://www.galcho.com/Blog/PermaLink.aspx?guid=a745be38-03c9-40bc-ae88-6311dbc38344</guid>
      <link>http://www.galcho.com/Blog/PermaLink.aspx?guid=a745be38-03c9-40bc-ae88-6311dbc38344</link>
      <pubDate>Tue, 08 May 2007 10:25:29 GMT</pubDate>
      <description>&lt;p&gt;
I have been dealing with MS SQL Server 2005 and Microsoft SQL Server 2005 Analysis
Services as well as Reporting services to display results to end users.
&lt;/p&gt;
&lt;p&gt;
It was amazing how many issues are in the fields of databases. I developed projects
on my dev box with snapshot of database (biggest table contains aprox 200,000 rows)
and I though it was done. Unfortunately I was not able to deploy in production because
of following reasons:
&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;cube and dimensions processing&amp;nbsp;was extremely slow&lt;/strong&gt; - this was
solved with playing with indecies&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Memory error: The operation cannot be completed because the memory quota estimate
(1678MB) exceeds the available system memory&amp;nbsp;&lt;/strong&gt;&amp;nbsp;- this was on 4xCPU
and 4GB RAM on 32bit Windows 2003 std. This was solved with limiting SQL Server serive
memory to 2GB and set &lt;a href="http://technet.microsoft.com/en-us/library/e834e9c7-708c-43bf-b877-e14ae443ecbf.aspx"&gt;/3GB
startup switch&amp;nbsp;in windows&lt;/a&gt;.&lt;/li&gt;
&lt;li&gt;
then came: &amp;nbsp;&lt;strong&gt;Arithmetic overflow error converting expression to data type
int&lt;/strong&gt;. This was tough also because I had to wait 2:30 hours before I get the
error. then I make changes and try again... this was very, very long loop. For fully
understand it check &lt;a href="http://msdn2.microsoft.com/en-us/library/ms163363.aspx"&gt;SQL
Server Books&lt;/a&gt; and as resolution check &lt;a href="http://barnabas.wordpress.com/2006/08/01/ssrs-indexed-views/"&gt;Barnabas
Kendall's blog entry&lt;/a&gt;.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;
there are&amp;nbsp; some good points in &lt;a href="http://barnabas.wordpress.com/2006/08/01/ssrs-indexed-views/"&gt;Barnabas
Kendall's blog entry&lt;/a&gt; like:
&lt;/p&gt;
&lt;blockquote dir=ltr style="MARGIN-RIGHT: 0px"&gt; 
&lt;p&gt;
&lt;em&gt;&lt;strong&gt;I don’t enjoy reading documentation (lack of plot and character development),&amp;nbsp;&amp;nbsp;
:):)&lt;/strong&gt;&lt;/em&gt;
&lt;/p&gt;
&lt;/blockquote&gt; 
&lt;ul&gt;
&lt;li&gt;
&lt;em&gt;Create the view with the SCHEMABINDING option. &lt;/em&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;em&gt;Define the view to pre-aggregate the data (this is where the performance enhancement
comes from). For example, I have a view that splits up the year, month, day, and hour
of a click, groups by client, and also returns a total. I can also reuse this view
to get totals by hour, day, month, year, or all time. &lt;/em&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;em&gt;Don’t use COUNT, use COUNT_BIG. &lt;/em&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;em&gt;Don’t use AVG; use SUM and COUNT_BIG. Beware of integer overflows in your final
query; SUM always wants to make an INT. Why isn’t there a SUM_BIG? You can get around
this by using CAST or CONVERT in your final query. &lt;/em&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;em&gt;Make a clustered unique index on the view. This forces the database engine to
persist the values to disk rather than calculating them on the fly, which is what
leads to five-minute queries. I am surprised to learn that you don’t need to put all
the values of the table in the index, just the ones necessary to make a clustered
unique index. &lt;/em&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;em&gt;When querying the view, use the NOEXPAND hint. &lt;/em&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;
&lt;hr&gt;
&lt;/p&gt;
&lt;blockquote dir=ltr style="MARGIN-RIGHT: 0px"&gt; 
&lt;p&gt;
I would like to add: &lt;strong&gt;&lt;u&gt;All aggregate functions return result depending on
input parameter's type&lt;/u&gt;&lt;/strong&gt;- if input column is of type int and result would
be if type int:
&lt;/p&gt;
&lt;font color=#0000ff size=2&gt; 
&lt;p&gt;
select
&lt;/font&gt;&lt;font color=#000000 size=2&gt; &lt;/font&gt;&lt;font color=#ff00ff size=2&gt;sum&lt;/font&gt;&lt;font color=#808080 size=2&gt;(&lt;/font&gt;&lt;font color=#000000 size=2&gt;numbers&lt;/font&gt;&lt;font color=#808080 size=2&gt;)&lt;/font&gt;&lt;font color=#000000 size=2&gt; &lt;/font&gt;&lt;font color=#0000ff size=2&gt;from&lt;/font&gt;&lt;font color=#000000 size=2&gt; dbo&lt;/font&gt;&lt;font color=#808080 size=2&gt;.&lt;/font&gt;&lt;font size=2&gt;&lt;font color=#000000&gt;TestTable&lt;/font&gt;&gt;
&lt;/font&gt; 
&lt;p&gt;
And if you use SUM of multiple rows all that contains values like 2,000,000,000 you
will end up with &lt;strong&gt;Arithmetic overflow error &lt;/strong&gt;
&lt;/p&gt;
&lt;p&gt;
In order to change result type this:
&lt;/p&gt;
&lt;font color=#0000ff size=2&gt; 
&lt;p&gt;
select
&lt;/font&gt;&lt;font color=#000000 size=2&gt; &lt;/font&gt;&lt;font color=#ff00ff size=2&gt;sum&lt;/font&gt;&lt;font color=#808080 size=2&gt;(&lt;/font&gt;&lt;strong&gt;&lt;font color=#ff00ff size=2&gt;cast&lt;/font&gt;&lt;font color=#808080 size=2&gt;(&lt;/font&gt;&lt;font color=#000000 size=2&gt;numbers &lt;/font&gt;&lt;font color=#0000ff size=2&gt;as&lt;/font&gt;&lt;font color=#000000 size=2&gt; &lt;/font&gt;&lt;font color=#0000ff size=2&gt;bigint&lt;/font&gt;&lt;/strong&gt;&lt;font color=#808080 size=2&gt;&lt;strong&gt;)&lt;/strong&gt;)&lt;/font&gt;&lt;font color=#000000 size=2&gt; &lt;/font&gt;&lt;font color=#0000ff size=2&gt;from&lt;/font&gt;&lt;font color=#000000 size=2&gt; dbo&lt;/font&gt;&lt;font color=#808080 size=2&gt;.&lt;/font&gt;&lt;font size=2&gt;&lt;font color=#000000&gt;TestTable&lt;/font&gt;&gt;
&lt;/blockquote&gt;&gt; 
&lt;p&gt;
&lt;hr&gt;
&lt;/p&gt;
&lt;p&gt;
I employed some of these techniques and started the process again. I am keeping my
fingers crossed...
&lt;/p&gt;
&lt;img width="0" height="0" src="http://www.galcho.com/Blog/aggbug.ashx?id=a745be38-03c9-40bc-ae88-6311dbc38344" /&gt;
&lt;br /&gt;
&lt;hr /&gt;
This weblog is using &lt;a href="http://www.codeplex.com/dasBlog"&gt;dasBlog&lt;/a&gt; hosted
by &lt;a href="http://www.primaconsult.net/"&gt;PrimaNet Consult LTD&lt;/a&gt;. </description>
      <comments>http://www.galcho.com/Blog/CommentView.aspx?guid=a745be38-03c9-40bc-ae88-6311dbc38344</comments>
      <category>Window Server System</category>
    </item>
    <item>
      <trackback:ping>http://www.galcho.com/Blog/Trackback.aspx?guid=88eecb6d-79ee-4506-aa6e-bbb8cae23417</trackback:ping>
      <pingback:server>http://www.galcho.com/Blog/pingback.aspx</pingback:server>
      <pingback:target>http://www.galcho.com/Blog/PermaLink.aspx?guid=88eecb6d-79ee-4506-aa6e-bbb8cae23417</pingback:target>
      <dc:creator>
      </dc:creator>
      <wfw:comment>http://www.galcho.com/Blog/CommentView.aspx?guid=88eecb6d-79ee-4506-aa6e-bbb8cae23417</wfw:comment>
      <wfw:commentRss>http://www.galcho.com/Blog/SyndicationService.asmx/GetEntryCommentsRss?guid=88eecb6d-79ee-4506-aa6e-bbb8cae23417</wfw:commentRss>
      <body xmlns="http://www.w3.org/1999/xhtml">
        <p>
Have you ever had you deal with IIS management using C#? I mean IIS6? 
</p>
        <p>
for IIS 6 you had to deal with DirectoryEntry class like this (<a href="http://kadnan.com/blog/2005/02/15/diplay-iis-hosted-site-names-in-c/">code
got from here</a>):
</p>
        <p>
          <hr />
        </p>
        <p>
        </p>
        <!-- code formatted by http://manoli.net/csharpformat/ -->
        <div class="csharpcode">
          <pre class="alt">
            <span class="lnum"> 1: </span>
            <span class="kwrd">try</span>
          </pre>
          <pre>
            <span class="lnum"> 2: </span>{</pre>
          <pre class="alt">
            <span class="lnum"> 3: </span>
            <span class="kwrd">const</span>
            <span class="kwrd">string</span> WebServerSchema
= <span class="str">"IIsWebServer"</span>; <span class="rem">// Case Sensitive</span></pre>
          <pre>
            <span class="lnum"> 4: </span>
            <span class="kwrd">string</span> ServerName
= <span class="str">"localhost"</span>;</pre>
          <pre class="alt">
            <span class="lnum"> 5: </span> DirectoryEntry
W3SVC = <span class="kwrd">new</span> DirectoryEntry(<span class="str">"IIS://"</span> +
ServerName + <span class="str">"/w3svc"</span>);</pre>
          <pre>
            <span class="lnum"> 6: </span>
            <span class="kwrd">foreach</span> (DirectoryEntry
Site <span class="kwrd">in</span> W3SVC.Children)</pre>
          <pre class="alt">
            <span class="lnum"> 7: </span> {</pre>
          <pre>
            <span class="lnum"> 8: </span>
            <span class="kwrd">if</span> (Site.SchemaClassName
== WebServerSchema)</pre>
          <pre class="alt">
            <span class="lnum"> 9: </span> {</pre>
          <pre>
            <span class="lnum"> 10: </span> Console.WriteLine(Site.Name
+ <span class="str">" - "</span> + Site.Properties[<span class="str">"ServerComment"</span>].Value.ToString());</pre>
          <pre class="alt">
            <span class="lnum"> 11: </span> }</pre>
          <pre>
            <span class="lnum"> 12: </span> }</pre>
          <pre class="alt">
            <span class="lnum"> 13: </span>}</pre>
          <pre>
            <span class="lnum"> 14: </span>
            <span class="rem">//
Catch any errors</span>
          </pre>
          <pre class="alt">
            <span class="lnum"> 15: </span>
            <span class="kwrd">catch</span> (Exception
e)</pre>
          <pre>
            <span class="lnum"> 16: </span>{</pre>
          <pre class="alt">
            <span class="lnum"> 17: </span> Console.WriteLine(<span class="str">"Error:
"</span> + e.ToString());</pre>
          <pre>
            <span class="lnum"> 18: </span>}</pre>
        </div>
        <p>
          <hr />
        </p>
        <p>
and once you find your site you had to execute <a href="http://msdn2.microsoft.com/en-us/library/system.directoryservices.directoryentry.invoke.aspx">DirectoryEntry.Invoke</a>("Start",
null) or <a href="http://msdn2.microsoft.com/en-us/library/system.directoryservices.directoryentry.invoke.aspx">DirectoryEntry.Invoke</a>("Stop",
null)  in order to start/stop the site.
</p>
        <p>
Not very convinient but works :).
</p>
        <p>
Well with IIS7 there are a good news and bad news... The bad news is this code <strong><u>won't
work on IIS7 </u></strong>(and Vista). 
</p>
        <p>
The good news is that there is new .NET assembly () for managing IIS. It is located
in <strong><u>%WinDir%\System32\InetSrv\Microsoft.Web.Administration.dll</u></strong>.
It contains some wrapper classes that makes dev life much easier :)
</p>
        <p>
          <img src="http://www.carlosag.net/images/ServerManager.png" />
        </p>
        <p>
with it the task above become:
</p>
        <p>
          <!-- code formatted by http://manoli.net/csharpformat/ -->
        </p>
        <div class="csharpcode">
          <pre class="alt">
            <span class="lnum"> 1: </span>ServerManager
iisManager = <span class="kwrd">new</span> ServerManager();</pre>
          <pre>
            <span class="lnum"> 2: </span>iisManager.Sites[<span class="str">"NewSite"</span>].Stop(); </pre>
        </div>
        <p>
        </p>
        <p>
Much prettier huh?! :)
</p>
        <p>
for more info about <strong><u>Microsoft.Web.Administration.dll</u></strong> read <a href="http://blogs.msdn.com/carlosag/default.aspx">CarlosAg</a> blog's
entry <a href="http://blogs.msdn.com/carlosag/archive/2006/04/17/MicrosoftWebAdministration.aspx">Microsoft.Web.Administration
in IIS 7</a></p>
        <img width="0" height="0" src="http://www.galcho.com/Blog/aggbug.ashx?id=88eecb6d-79ee-4506-aa6e-bbb8cae23417" />
        <br />
        <hr />
This weblog is using <a href="http://www.codeplex.com/dasBlog">dasBlog</a> hosted
by <a href="http://www.primaconsult.net/">PrimaNet Consult LTD</a>. 
</body>
      <title>Start/Stop IIS Site with C#</title>
      <guid isPermaLink="false">http://www.galcho.com/Blog/PermaLink.aspx?guid=88eecb6d-79ee-4506-aa6e-bbb8cae23417</guid>
      <link>http://www.galcho.com/Blog/PermaLink.aspx?guid=88eecb6d-79ee-4506-aa6e-bbb8cae23417</link>
      <pubDate>Tue, 10 Apr 2007 14:16:29 GMT</pubDate>
      <description>&lt;p&gt;
Have you ever had you deal with IIS management using C#? I mean IIS6? 
&lt;/p&gt;
&lt;p&gt;
for IIS 6 you had to deal with DirectoryEntry class like this (&lt;a href="http://kadnan.com/blog/2005/02/15/diplay-iis-hosted-site-names-in-c/"&gt;code
got from here&lt;/a&gt;):
&lt;/p&gt;
&lt;p&gt;
&lt;hr&gt;
&lt;p&gt;
&lt;/p&gt;
&lt;!-- code formatted by http://manoli.net/csharpformat/ --&gt;
&lt;div class=csharpcode&gt;&lt;pre class=alt&gt;&lt;span class=lnum&gt; 1: &lt;/span&gt;&lt;span class=kwrd&gt;try&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span class=lnum&gt; 2: &lt;/span&gt;{&lt;/pre&gt;&lt;pre class=alt&gt;&lt;span class=lnum&gt; 3: &lt;/span&gt; &lt;span class=kwrd&gt;const&lt;/span&gt; &lt;span class=kwrd&gt;string&lt;/span&gt; WebServerSchema
= &lt;span class=str&gt;"IIsWebServer"&lt;/span&gt;; &lt;span class=rem&gt;// Case Sensitive&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span class=lnum&gt; 4: &lt;/span&gt; &lt;span class=kwrd&gt;string&lt;/span&gt; ServerName
= &lt;span class=str&gt;"localhost"&lt;/span&gt;;&lt;/pre&gt;&lt;pre class=alt&gt;&lt;span class=lnum&gt; 5: &lt;/span&gt; DirectoryEntry
W3SVC = &lt;span class=kwrd&gt;new&lt;/span&gt; DirectoryEntry(&lt;span class=str&gt;"IIS://"&lt;/span&gt; +
ServerName + &lt;span class=str&gt;"/w3svc"&lt;/span&gt;);&lt;/pre&gt;&lt;pre&gt;&lt;span class=lnum&gt; 6: &lt;/span&gt; &lt;span class=kwrd&gt;foreach&lt;/span&gt; (DirectoryEntry
Site &lt;span class=kwrd&gt;in&lt;/span&gt; W3SVC.Children)&lt;/pre&gt;&lt;pre class=alt&gt;&lt;span class=lnum&gt; 7: &lt;/span&gt; {&lt;/pre&gt;&lt;pre&gt;&lt;span class=lnum&gt; 8: &lt;/span&gt; &lt;span class=kwrd&gt;if&lt;/span&gt; (Site.SchemaClassName
== WebServerSchema)&lt;/pre&gt;&lt;pre class=alt&gt;&lt;span class=lnum&gt; 9: &lt;/span&gt; {&lt;/pre&gt;&lt;pre&gt;&lt;span class=lnum&gt; 10: &lt;/span&gt; Console.WriteLine(Site.Name
+ &lt;span class=str&gt;" - "&lt;/span&gt; + Site.Properties[&lt;span class=str&gt;"ServerComment"&lt;/span&gt;].Value.ToString());&lt;/pre&gt;&lt;pre class=alt&gt;&lt;span class=lnum&gt; 11: &lt;/span&gt; }&lt;/pre&gt;&lt;pre&gt;&lt;span class=lnum&gt; 12: &lt;/span&gt; }&lt;/pre&gt;&lt;pre class=alt&gt;&lt;span class=lnum&gt; 13: &lt;/span&gt;}&lt;/pre&gt;&lt;pre&gt;&lt;span class=lnum&gt; 14: &lt;/span&gt;&lt;span class=rem&gt;//
Catch any errors&lt;/span&gt;&lt;/pre&gt;&lt;pre class=alt&gt;&lt;span class=lnum&gt; 15: &lt;/span&gt;&lt;span class=kwrd&gt;catch&lt;/span&gt; (Exception
e)&lt;/pre&gt;&lt;pre&gt;&lt;span class=lnum&gt; 16: &lt;/span&gt;{&lt;/pre&gt;&lt;pre class=alt&gt;&lt;span class=lnum&gt; 17: &lt;/span&gt; Console.WriteLine(&lt;span class=str&gt;"Error:
"&lt;/span&gt; + e.ToString());&lt;/pre&gt;&lt;pre&gt;&lt;span class=lnum&gt; 18: &lt;/span&gt;}&lt;/pre&gt;
&lt;/div&gt;
&lt;p&gt;
&lt;hr&gt;
&lt;p&gt;
and once you find your site you had to execute &lt;a href="http://msdn2.microsoft.com/en-us/library/system.directoryservices.directoryentry.invoke.aspx"&gt;DirectoryEntry.Invoke&lt;/a&gt;("Start",
null) or &lt;a href="http://msdn2.microsoft.com/en-us/library/system.directoryservices.directoryentry.invoke.aspx"&gt;DirectoryEntry.Invoke&lt;/a&gt;("Stop",
null)&amp;nbsp; in order to start/stop the site.
&lt;/p&gt;
&lt;p&gt;
Not very convinient but works :).
&lt;/p&gt;
&lt;p&gt;
Well with IIS7 there are a good news and bad news... The bad news is this code &lt;strong&gt;&lt;u&gt;won't
work on IIS7 &lt;/u&gt;&lt;/strong&gt;(and Vista). 
&lt;/p&gt;
&lt;p&gt;
The good news is that there is new .NET assembly () for managing IIS. It is located
in &lt;strong&gt;&lt;u&gt;%WinDir%\System32\InetSrv\Microsoft.Web.Administration.dll&lt;/u&gt;&lt;/strong&gt;.
It contains some wrapper classes that makes dev life much easier :)
&lt;/p&gt;
&lt;p&gt;
&lt;img src="http://www.carlosag.net/images/ServerManager.png"&gt;
&lt;/p&gt;
&lt;p&gt;
with it the task above become:
&lt;/p&gt;
&lt;p&gt;
&lt;!-- code formatted by http://manoli.net/csharpformat/ --&gt;
&lt;div class=csharpcode&gt;&lt;pre class=alt&gt;&lt;span class=lnum&gt; 1: &lt;/span&gt;ServerManager iisManager
= &lt;span class=kwrd&gt;new&lt;/span&gt; ServerManager();&lt;/pre&gt;&lt;pre&gt;&lt;span class=lnum&gt; 2: &lt;/span&gt;iisManager.Sites[&lt;span class=str&gt;"NewSite"&lt;/span&gt;].Stop(); &lt;/pre&gt;
&lt;/div&gt;
&lt;p&gt;
&lt;/p&gt;
&lt;p&gt;
Much prettier huh?! :)
&lt;/p&gt;
&lt;p&gt;
for more info about&amp;nbsp;&lt;strong&gt;&lt;u&gt;Microsoft.Web.Administration.dll&lt;/u&gt;&lt;/strong&gt; read &lt;a href="http://blogs.msdn.com/carlosag/default.aspx"&gt;CarlosAg&lt;/a&gt; blog's
entry &lt;a href="http://blogs.msdn.com/carlosag/archive/2006/04/17/MicrosoftWebAdministration.aspx"&gt;Microsoft.Web.Administration
in IIS 7&lt;/a&gt;
&lt;/p&gt;
&lt;img width="0" height="0" src="http://www.galcho.com/Blog/aggbug.ashx?id=88eecb6d-79ee-4506-aa6e-bbb8cae23417" /&gt;
&lt;br /&gt;
&lt;hr /&gt;
This weblog is using &lt;a href="http://www.codeplex.com/dasBlog"&gt;dasBlog&lt;/a&gt; hosted
by &lt;a href="http://www.primaconsult.net/"&gt;PrimaNet Consult LTD&lt;/a&gt;. </description>
      <comments>http://www.galcho.com/Blog/CommentView.aspx?guid=88eecb6d-79ee-4506-aa6e-bbb8cae23417</comments>
      <category>.NET Development</category>
      <category>Window Server System</category>
    </item>
    <item>
      <trackback:ping>http://www.galcho.com/Blog/Trackback.aspx?guid=eae3a93e-7bee-4428-be93-b3a0294b4b40</trackback:ping>
      <pingback:server>http://www.galcho.com/Blog/pingback.aspx</pingback:server>
      <pingback:target>http://www.galcho.com/Blog/PermaLink.aspx?guid=eae3a93e-7bee-4428-be93-b3a0294b4b40</pingback:target>
      <dc:creator>
      </dc:creator>
      <wfw:comment>http://www.galcho.com/Blog/CommentView.aspx?guid=eae3a93e-7bee-4428-be93-b3a0294b4b40</wfw:comment>
      <wfw:commentRss>http://www.galcho.com/Blog/SyndicationService.asmx/GetEntryCommentsRss?guid=eae3a93e-7bee-4428-be93-b3a0294b4b40</wfw:commentRss>
      <body xmlns="http://www.w3.org/1999/xhtml">
        <p>
I've been using Vista since beta 2 but I haven't had my network printer installed
up to now.
</p>
        <p>
Everytime I tried to install network printer I get the message saying: <em>"Windows
cannot connect to the printer. The specified print monitor is unknown." </em>with
the following screen.
</p>
        <p>
          <img src="http://www.galcho.com/Blog/content/binary/PrintError.png" border="0" />
        </p>
        <p>
I finally found solution on this <a href="http://neosmart.net/blog/2007/windows-forces-you-to-use-uac-to-add-a-printer/">here</a> and <a href="http://www.vistahelp.ca/phpBB2/viewtopic.php?t=80&amp;sid=e0b0566e2a2c1cb6b65f9f97255e8ac1">here</a>.
</p>
        <p>
Simply said if you're in same situation then you must <strong>turn on UAC</strong>.
Yes, you need UAC in order to install network printer. Once installed you can turn
it off again.
</p>
        <p>
          <a href="http://www.vistahelp.ca/phpBB2/viewtopic.php?t=80&amp;sid=e0b0566e2a2c1cb6b65f9f97255e8ac1">Here</a> was
some intersting suggestion from javmirin:
</p>
        <blockquote dir="ltr" style="MARGIN-RIGHT: 0px">
          <p>
            <span class="postbody">
              <em>In Vista PC's go to "Control Panel" - "Printers" - "Add
printer". 
<br />
Believe or not, click "Add a local printer" (I know you want to add a network printer
but that way it doesn't work). 
<br />
Click "Create a new port" - "Local Port" - "Next" 
<br />
In the next box you have to enter a port name like this: 
<br />
\\PC name\Printer name 
<br />
where "PC name" is the network name of the XP PC where you have the printer and "Printer
name" the network name of that printer. Be careful with this names. Check in your
XP PC "Control Panel" - "Printers and faxes" - "your printer" - right click - "share"
- "share resources name" 
<br />
(sorry I'm translating from Spanish and not sure these are the exact terms).</em>
            </span>
          </p>
        </blockquote>
        <p>
 
</p>
        <p>
 
</p>
        <img width="0" height="0" src="http://www.galcho.com/Blog/aggbug.ashx?id=eae3a93e-7bee-4428-be93-b3a0294b4b40" />
        <br />
        <hr />
This weblog is using <a href="http://www.codeplex.com/dasBlog">dasBlog</a> hosted
by <a href="http://www.primaconsult.net/">PrimaNet Consult LTD</a>. 
</body>
      <title>Windows Forces you to use UAC to Add a Printer</title>
      <guid isPermaLink="false">http://www.galcho.com/Blog/PermaLink.aspx?guid=eae3a93e-7bee-4428-be93-b3a0294b4b40</guid>
      <link>http://www.galcho.com/Blog/PermaLink.aspx?guid=eae3a93e-7bee-4428-be93-b3a0294b4b40</link>
      <pubDate>Wed, 28 Mar 2007 13:00:08 GMT</pubDate>
      <description>&lt;p&gt;
I've been using Vista since beta 2 but I haven't had my network printer installed
up to now.
&lt;/p&gt;
&lt;p&gt;
Everytime I tried to install network printer I get the message saying: &lt;em&gt;"Windows
cannot connect to the printer. The specified print monitor is unknown." &lt;/em&gt;with
the following screen.
&lt;/p&gt;
&lt;p&gt;
&lt;img src="http://www.galcho.com/Blog/content/binary/PrintError.png" border=0&gt;
&lt;/p&gt;
&lt;p&gt;
I finally found solution on this &lt;a href="http://neosmart.net/blog/2007/windows-forces-you-to-use-uac-to-add-a-printer/"&gt;here&lt;/a&gt; and &lt;a href="http://www.vistahelp.ca/phpBB2/viewtopic.php?t=80&amp;amp;sid=e0b0566e2a2c1cb6b65f9f97255e8ac1"&gt;here&lt;/a&gt;.
&lt;/p&gt;
&lt;p&gt;
Simply said if you're in same situation then you must &lt;strong&gt;turn on UAC&lt;/strong&gt;.
Yes, you need UAC in order to install network printer. Once installed you can turn
it&amp;nbsp;off again.
&lt;/p&gt;
&lt;p&gt;
&lt;a href="http://www.vistahelp.ca/phpBB2/viewtopic.php?t=80&amp;amp;sid=e0b0566e2a2c1cb6b65f9f97255e8ac1"&gt;Here&lt;/a&gt; was
some intersting suggestion from javmirin:
&lt;/p&gt;
&lt;blockquote dir=ltr style="MARGIN-RIGHT: 0px"&gt; 
&lt;p&gt;
&lt;span class=postbody&gt;&lt;em&gt;In Vista PC's go to "Control Panel" - "Printers" - "Add printer". 
&lt;br&gt;
Believe or not, click "Add a local printer" (I know you want to add a network printer
but that way it doesn't work). 
&lt;br&gt;
Click "Create a new port" - "Local Port" - "Next" 
&lt;br&gt;
In the next box you have to enter a port name like this: 
&lt;br&gt;
\\PC name\Printer name 
&lt;br&gt;
where "PC name" is the network name of the XP PC where you have the printer and "Printer
name" the network name of that printer. Be careful with this names. Check in your
XP PC "Control Panel" - "Printers and faxes" - "your printer" - right click - "share"
- "share resources name" 
&lt;br&gt;
(sorry I'm translating from Spanish and not sure these are the exact terms).&lt;/em&gt;&lt;/span&gt;
&lt;/p&gt;
&lt;/blockquote&gt; 
&lt;p&gt;
&amp;nbsp;
&lt;/p&gt;
&lt;p&gt;
&amp;nbsp;
&lt;/p&gt;
&lt;img width="0" height="0" src="http://www.galcho.com/Blog/aggbug.ashx?id=eae3a93e-7bee-4428-be93-b3a0294b4b40" /&gt;
&lt;br /&gt;
&lt;hr /&gt;
This weblog is using &lt;a href="http://www.codeplex.com/dasBlog"&gt;dasBlog&lt;/a&gt; hosted
by &lt;a href="http://www.primaconsult.net/"&gt;PrimaNet Consult LTD&lt;/a&gt;. </description>
      <comments>http://www.galcho.com/Blog/CommentView.aspx?guid=eae3a93e-7bee-4428-be93-b3a0294b4b40</comments>
      <category>Window Server System</category>
    </item>
    <item>
      <trackback:ping>http://www.galcho.com/Blog/Trackback.aspx?guid=a57fe5aa-3897-4ff2-8902-4f311154eea8</trackback:ping>
      <pingback:server>http://www.galcho.com/Blog/pingback.aspx</pingback:server>
      <pingback:target>http://www.galcho.com/Blog/PermaLink.aspx?guid=a57fe5aa-3897-4ff2-8902-4f311154eea8</pingback:target>
      <dc:creator>
      </dc:creator>
      <wfw:comment>http://www.galcho.com/Blog/CommentView.aspx?guid=a57fe5aa-3897-4ff2-8902-4f311154eea8</wfw:comment>
      <wfw:commentRss>http://www.galcho.com/Blog/SyndicationService.asmx/GetEntryCommentsRss?guid=a57fe5aa-3897-4ff2-8902-4f311154eea8</wfw:commentRss>
      <slash:comments>13</slash:comments>
      <body xmlns="http://www.w3.org/1999/xhtml">
        <p>
I use Virtual PC and Remote Desktop Connection (RDC) a lot in my daily acitivities.
</p>
        <p>
Recently I found that there is very nice tool built-in Windows that allows you to
manage miltiple RDC.
</p>
        <p>
You can start this MMC console by typing in Run command window (Win+R) <strong><em>tsmmc.msc</em></strong>.
</p>
        <p>
          <img src="http://www.galcho.com/Blog/content/binary/RDC_Snap-in_Win2003.JPG" border="0" />
        </p>
        <p>
for more detailed way to display RDC MMC Snap-in see MS TechNet's <a href="http://technet2.microsoft.com/WindowsServer/en/library/a94f653f-d109-419f-9b1b-000be51f8dce1033.mspx?mfr=true">Add
the Remote Desktops snap-in</a> article.
</p>
        <p>
So far so good. But I am running Windows Vista on my laptop so I need to use on it.
</p>
        <p>
But guess what?! I tried it in similar way as described in <a href="http://technet2.microsoft.com/WindowsServer/en/library/a94f653f-d109-419f-9b1b-000be51f8dce1033.mspx?mfr=true">Add
the Remote Desktops snap-in</a> but I was not able to add this snap-in. There
is no such file as <strong><em>tsmmc.msc</em></strong>.I found this <a href="http://forums.microsoft.com/TechNet/ShowPost.aspx?PostID=885378&amp;SiteID=17">thread
in TechNet</a> forums saying there are bunch of dlls in vista that need to be registered
using <strong><em>regsvr32</em></strong> in order to be used. Unfortunately even after
registering these dlls I was not able to access RDC MMC snap-in.
</p>
        <p>
So I decided to try in hard way :) 
</p>
        <p>
After some DLL research I copied <strong><em>mstsmmc.dll</em></strong> from
Windows 2003 machine to my vista box and  registered using following command:
</p>
        <p>
          <strong>
            <em>regsvr32 mstsmmc.dll</em>
          </strong> 
</p>
        <p>
and Bingo. That's it. There is Remote Desktops snapp-in in the list
</p>
        <p>
          <img src="http://www.galcho.com/Blog/content/binary/RDC_Vista_snap.jpg" border="0" />
        </p>
        <p>
and of course you are able to start <strong><em>tsmmc.msc</em></strong> (also copied
from Win 2003 machine)
</p>
        <p>
          <img src="http://www.galcho.com/Blog/content/binary/tsmmc_vista.jpg" border="0" />
        </p>
        <p>
You can download these files from the link below. Enjoy
</p>
        <a href="http://www.galcho.com/Blog/content/binary/RDC_MMC_Snap-in_Vista.zip">RDC_MMC_Snap-in_Vista.zip
(75.47 KB)</a>
        <img width="0" height="0" src="http://www.galcho.com/Blog/aggbug.ashx?id=a57fe5aa-3897-4ff2-8902-4f311154eea8" />
        <br />
        <hr />
This weblog is using <a href="http://www.codeplex.com/dasBlog">dasBlog</a> hosted
by <a href="http://www.primaconsult.net/">PrimaNet Consult LTD</a>. 
</body>
      <title>Remote Desktop MMC Snap-in in Windows Vista Trick</title>
      <guid isPermaLink="false">http://www.galcho.com/Blog/PermaLink.aspx?guid=a57fe5aa-3897-4ff2-8902-4f311154eea8</guid>
      <link>http://www.galcho.com/Blog/PermaLink.aspx?guid=a57fe5aa-3897-4ff2-8902-4f311154eea8</link>
      <pubDate>Tue, 20 Feb 2007 13:30:30 GMT</pubDate>
      <description>&lt;p&gt;
I use Virtual PC and Remote Desktop Connection (RDC)&amp;nbsp;a lot in my daily acitivities.
&lt;/p&gt;
&lt;p&gt;
Recently I found that there is very nice tool built-in Windows that allows you to
manage miltiple RDC.
&lt;/p&gt;
&lt;p&gt;
You can start this MMC console by typing in Run command window (Win+R)&amp;nbsp;&lt;strong&gt;&lt;em&gt;tsmmc.msc&lt;/em&gt;&lt;/strong&gt;.
&lt;/p&gt;
&lt;p&gt;
&lt;img src="http://www.galcho.com/Blog/content/binary/RDC_Snap-in_Win2003.JPG" border=0&gt;
&lt;/p&gt;
&lt;p&gt;
for more detailed way to display RDC MMC Snap-in see MS TechNet's &lt;a href="http://technet2.microsoft.com/WindowsServer/en/library/a94f653f-d109-419f-9b1b-000be51f8dce1033.mspx?mfr=true"&gt;Add
the Remote Desktops snap-in&lt;/a&gt; article.
&lt;/p&gt;
&lt;p&gt;
So far so good. But I am running Windows Vista on my laptop so I need to use on it.
&lt;/p&gt;
&lt;p&gt;
But guess what?! I tried it in similar way as described in &lt;a href="http://technet2.microsoft.com/WindowsServer/en/library/a94f653f-d109-419f-9b1b-000be51f8dce1033.mspx?mfr=true"&gt;Add
the Remote Desktops snap-in&lt;/a&gt;&amp;nbsp;but I was not able to add this snap-in. There
is no such file as &lt;strong&gt;&lt;em&gt;tsmmc.msc&lt;/em&gt;&lt;/strong&gt;.I found this &lt;a href="http://forums.microsoft.com/TechNet/ShowPost.aspx?PostID=885378&amp;amp;SiteID=17"&gt;thread
in TechNet&lt;/a&gt; forums saying there are bunch of dlls in vista that need to be registered
using &lt;strong&gt;&lt;em&gt;regsvr32&lt;/em&gt;&lt;/strong&gt; in order to be used. Unfortunately even after
registering these dlls I was not able to access RDC MMC snap-in.
&lt;/p&gt;
&lt;p&gt;
So I decided to try in hard way :) 
&lt;/p&gt;
&lt;p&gt;
After some DLL&amp;nbsp;research&amp;nbsp;I copied &lt;strong&gt;&lt;em&gt;mstsmmc.dll&lt;/em&gt;&lt;/strong&gt;&amp;nbsp;from
Windows 2003 machine to my vista box and &amp;nbsp;registered using following command:
&lt;/p&gt;
&lt;p&gt;
&lt;strong&gt;&lt;em&gt;regsvr32 mstsmmc.dll&lt;/em&gt;&lt;/strong&gt;&amp;nbsp;
&lt;/p&gt;
&lt;p&gt;
and Bingo. That's it. There is Remote Desktops snapp-in in the list
&lt;/p&gt;
&lt;p&gt;
&lt;img src="http://www.galcho.com/Blog/content/binary/RDC_Vista_snap.jpg" border=0&gt;
&lt;/p&gt;
&lt;p&gt;
and of course you are able to start &lt;strong&gt;&lt;em&gt;tsmmc.msc&lt;/em&gt;&lt;/strong&gt; (also copied
from Win 2003 machine)
&lt;/p&gt;
&lt;p&gt;
&lt;img src="http://www.galcho.com/Blog/content/binary/tsmmc_vista.jpg" border=0&gt;
&lt;/p&gt;
&lt;p&gt;
You can download these files from the link below. Enjoy
&lt;/p&gt;
&lt;a href="http://www.galcho.com/Blog/content/binary/RDC_MMC_Snap-in_Vista.zip"&gt;RDC_MMC_Snap-in_Vista.zip
(75.47 KB)&lt;/a&gt;&lt;img width="0" height="0" src="http://www.galcho.com/Blog/aggbug.ashx?id=a57fe5aa-3897-4ff2-8902-4f311154eea8" /&gt;
&lt;br /&gt;
&lt;hr /&gt;
This weblog is using &lt;a href="http://www.codeplex.com/dasBlog"&gt;dasBlog&lt;/a&gt; hosted
by &lt;a href="http://www.primaconsult.net/"&gt;PrimaNet Consult LTD&lt;/a&gt;. </description>
      <comments>http://www.galcho.com/Blog/CommentView.aspx?guid=a57fe5aa-3897-4ff2-8902-4f311154eea8</comments>
      <category>Misc</category>
      <category>Window Server System</category>
    </item>
    <item>
      <trackback:ping>http://www.galcho.com/Blog/Trackback.aspx?guid=eaf712d1-7f9a-41e4-a806-cbaff396c0d6</trackback:ping>
      <pingback:server>http://www.galcho.com/Blog/pingback.aspx</pingback:server>
      <pingback:target>http://www.galcho.com/Blog/PermaLink.aspx?guid=eaf712d1-7f9a-41e4-a806-cbaff396c0d6</pingback:target>
      <dc:creator>
      </dc:creator>
      <wfw:comment>http://www.galcho.com/Blog/CommentView.aspx?guid=eaf712d1-7f9a-41e4-a806-cbaff396c0d6</wfw:comment>
      <wfw:commentRss>http://www.galcho.com/Blog/SyndicationService.asmx/GetEntryCommentsRss?guid=eaf712d1-7f9a-41e4-a806-cbaff396c0d6</wfw:commentRss>
      <body xmlns="http://www.w3.org/1999/xhtml">
        <p>
I decided to read about running IIS website with SLL. As I am not web developer this
was new for me and I found one very good article with usefull links
</p>
        <p>
see: <a href="http://www.somacon.com/p41.php">http://www.somacon.com/p41.php</a></p>
        <img width="0" height="0" src="http://www.galcho.com/Blog/aggbug.ashx?id=eaf712d1-7f9a-41e4-a806-cbaff396c0d6" />
        <br />
        <hr />
This weblog is using <a href="http://www.codeplex.com/dasBlog">dasBlog</a> hosted
by <a href="http://www.primaconsult.net/">PrimaNet Consult LTD</a>. 
</body>
      <title>IIS with SSL</title>
      <guid isPermaLink="false">http://www.galcho.com/Blog/PermaLink.aspx?guid=eaf712d1-7f9a-41e4-a806-cbaff396c0d6</guid>
      <link>http://www.galcho.com/Blog/PermaLink.aspx?guid=eaf712d1-7f9a-41e4-a806-cbaff396c0d6</link>
      <pubDate>Fri, 09 Sep 2005 06:45:20 GMT</pubDate>
      <description>&lt;p&gt;
I decided to read about running IIS website with SLL. As I am not web developer this
was new for me and I found one very good article with usefull links
&lt;/p&gt;
&lt;p&gt;
see: &lt;a href="http://www.somacon.com/p41.php"&gt;http://www.somacon.com/p41.php&lt;/a&gt;
&lt;/p&gt;
&lt;img width="0" height="0" src="http://www.galcho.com/Blog/aggbug.ashx?id=eaf712d1-7f9a-41e4-a806-cbaff396c0d6" /&gt;
&lt;br /&gt;
&lt;hr /&gt;
This weblog is using &lt;a href="http://www.codeplex.com/dasBlog"&gt;dasBlog&lt;/a&gt; hosted
by &lt;a href="http://www.primaconsult.net/"&gt;PrimaNet Consult LTD&lt;/a&gt;. </description>
      <comments>http://www.galcho.com/Blog/CommentView.aspx?guid=eaf712d1-7f9a-41e4-a806-cbaff396c0d6</comments>
      <category>Window Server System</category>
    </item>
    <item>
      <trackback:ping>http://www.galcho.com/Blog/Trackback.aspx?guid=342dc332-3124-4e10-a277-9033bb7bc23d</trackback:ping>
      <pingback:server>http://www.galcho.com/Blog/pingback.aspx</pingback:server>
      <pingback:target>http://www.galcho.com/Blog/PermaLink.aspx?guid=342dc332-3124-4e10-a277-9033bb7bc23d</pingback:target>
      <dc:creator>
      </dc:creator>
      <wfw:comment>http://www.galcho.com/Blog/CommentView.aspx?guid=342dc332-3124-4e10-a277-9033bb7bc23d</wfw:comment>
      <wfw:commentRss>http://www.galcho.com/Blog/SyndicationService.asmx/GetEntryCommentsRss?guid=342dc332-3124-4e10-a277-9033bb7bc23d</wfw:commentRss>
      <body xmlns="http://www.w3.org/1999/xhtml">
        <p>
This made me confident in stop using it. So I removed it and now everything work in
my network ( small test one )
</p>
        <img width="0" height="0" src="http://www.galcho.com/Blog/aggbug.ashx?id=342dc332-3124-4e10-a277-9033bb7bc23d" />
        <br />
        <hr />
This weblog is using <a href="http://www.codeplex.com/dasBlog">dasBlog</a> hosted
by <a href="http://www.primaconsult.net/">PrimaNet Consult LTD</a>. 
</body>
      <title>ISA Server 2004</title>
      <guid isPermaLink="false">http://www.galcho.com/Blog/PermaLink.aspx?guid=342dc332-3124-4e10-a277-9033bb7bc23d</guid>
      <link>http://www.galcho.com/Blog/PermaLink.aspx?guid=342dc332-3124-4e10-a277-9033bb7bc23d</link>
      <pubDate>Fri, 08 Apr 2005 08:14:26 GMT</pubDate>
      <description>&lt;p&gt;
This made me confident in stop using it. So I removed it and now everything work in
my network ( small test one&amp;nbsp;)
&lt;/p&gt;
&lt;img width="0" height="0" src="http://www.galcho.com/Blog/aggbug.ashx?id=342dc332-3124-4e10-a277-9033bb7bc23d" /&gt;
&lt;br /&gt;
&lt;hr /&gt;
This weblog is using &lt;a href="http://www.codeplex.com/dasBlog"&gt;dasBlog&lt;/a&gt; hosted
by &lt;a href="http://www.primaconsult.net/"&gt;PrimaNet Consult LTD&lt;/a&gt;. </description>
      <comments>http://www.galcho.com/Blog/CommentView.aspx?guid=342dc332-3124-4e10-a277-9033bb7bc23d</comments>
      <category>Window Server System</category>
    </item>
  </channel>
</rss>