<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.msdn.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>A Taste of Logic : General</title><link>http://blogs.msdn.com/jamesche/archive/tags/General/default.aspx</link><description>Tags: General</description><dc:language>en-US</dc:language><generator>CommunityServer 2.1 SP1 (Build: 61025.2)</generator><item><title>Purchase My Books in the Microsoft Company Store</title><link>http://blogs.msdn.com/jamesche/archive/2007/11/28/purchase-my-books-in-the-microsoft-company-store.aspx</link><pubDate>Thu, 29 Nov 2007 04:18:14 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:6588783</guid><dc:creator>jamesche</dc:creator><slash:comments>1</slash:comments><comments>http://blogs.msdn.com/jamesche/comments/6588783.aspx</comments><wfw:commentRss>http://blogs.msdn.com/jamesche/commentrss.aspx?PostID=6588783</wfw:commentRss><description>&lt;p&gt;I received notification today that Microsoft has decided to carry a small number of non-Microsoft Press books in the Microsoft Company Store in Redmond. One of those books will be mine, most likely &lt;a href="http://www.amazon.com/Microsoft-Expression-Developers-Guide-ASP-NET/dp/0789736659/ref=sr_1_2/104-4861091-4105503?ie=UTF8&amp;amp;s=books&amp;amp;qid=1194027457&amp;amp;sr=1-2" target="_blank"&gt;my latest book on ASP.NET 3.5&lt;/a&gt;. &lt;/p&gt;  &lt;p&gt;If you're a Microsoft employee or otherwise have access to the Company Store in Redmond, please drop by and buy my book! At this time, the book will not be available at other Microsoft campuses, nor will it will be available on the online Company Store. That may change if this pilot is successful.&lt;/p&gt;  &lt;p&gt;Jim&lt;/p&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=6588783" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/jamesche/archive/tags/General/default.aspx">General</category><category domain="http://blogs.msdn.com/jamesche/archive/tags/Expression+Web/default.aspx">Expression Web</category></item><item><title>Why don't my .NET Framework patches install?</title><link>http://blogs.msdn.com/jamesche/archive/2007/09/25/why-don-t-my-net-framework-patches-install.aspx</link><pubDate>Tue, 25 Sep 2007 23:43:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:5129461</guid><dc:creator>jamesche</dc:creator><slash:comments>1</slash:comments><comments>http://blogs.msdn.com/jamesche/comments/5129461.aspx</comments><wfw:commentRss>http://blogs.msdn.com/jamesche/commentrss.aspx?PostID=5129461</wfw:commentRss><description>&lt;P&gt;I recently worked an issue with a customer who was rolling out some patches to over 50,000 computers across his enterprise using SMS. SMS reported that the patches successfully installed on all workstations, but my customer noticed a strange anomoly that he couldn't explain. Even though SMS reported a successful installation on all of his workstations, it also reported many of these same workstations as unpatched on successive scans. Something was obviously awry.&lt;/P&gt;
&lt;P&gt;Upon investigation, we found a log file in the customer's temp directory that contained the following:&lt;/P&gt;
&lt;P class=debugCmd&gt;[2007-09-22 01:00:00] ProcessFiles completed. &lt;BR&gt;[2007-09-22 01:00:06] PatchExec: Unhandled Exception Microsoft.WindowsInstaller.InstallerException: The configuration data for this product is corrupt. Contact your support personnel.&amp;nbsp;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; at Microsoft.WindowsInstaller.Installer.get_Products()&amp;nbsp;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; at Microsoft.DDPatch.PatchInstallation.ApplyPatchToInstalledProducts(String mspFile, String target, TargetProduct[] targetProducts, Boolean quiet, String logfile, String&amp;amp; lastPatchedProductName)&amp;nbsp;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; at Microsoft.DDPatch.PatchInstallation.Install(String targetProduct, Boolean quiet, String logfile)&amp;nbsp;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; at Microsoft.DDPatch.PatchExec.Main(String[] args) &lt;BR&gt;[2007-09-22 01:00:15] Process returned: 0 &lt;/P&gt;
&lt;P&gt;This sure doesn't look right. Obviously something didn't go well during the patch installation, but the return code we see here is 0. No wonder SMS believed that the patch successfully installed.&lt;/P&gt;
&lt;P&gt;What happened? This particular patch (and some other .NET Framework patches) consists of a Windows Installer patch file (a .msp file) along with some wrappers around some APIs for the Windows Installer. These wrappers provide, among other things, support for rollback and for proper installation of the patch. In this particular case, one wrapper called an API that enumerated products installed by the Windows Installer. That API enumerated the HKEY_CLASSES_ROOT/Installer/Products registry key which&amp;nbsp;contains a GUID for each product that's installed, but&amp;nbsp;in my customer's case, it also&amp;nbsp;contained some textual string values that were written to it by a bad installer from a third-party company. &lt;/P&gt;
&lt;P&gt;When the API encountered this bad registry key, it returned an error code to our wrapper. Our wrapper then wrote out the failure to the log file and returned 0 because it had successfully done its job and logged the failure. Unfortunately, the other wrapper got the return code of 0 and believed that the install was successful. &lt;/P&gt;
&lt;P&gt;It's worth pointing out that this is an extremely uncommon scenario. The keys written to the HKEY_CLASSES_ROOT/Installer/Products registry key should be added using the Windows Installer API. The Windows Installer API will create valid GUID keys and all will be fine. However, not all installation packages play by the rules, and in this case, we got bit.&lt;/P&gt;
&lt;P&gt;WARNING: If you encounter a problem like this, it's important that you not just extract the .msp file out of the patch and install it manually. If you do that, you'll lose the ability to fully roll back the patch. Instead, you should try and locate the offending registry key and remove it. &lt;/P&gt;
&lt;P&gt;In the long term, you won't have to worry about this. We've fixed this problem in our wrappers in order to provide a more fail-safe installation experience. The new wrappers should be incorporated into our .NET Framework patches soon.&lt;/P&gt;
&lt;P mce_keep="true"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P mce_keep="true"&gt;&amp;nbsp;&lt;/P&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=5129461" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/jamesche/archive/tags/ASP.NET/default.aspx">ASP.NET</category><category domain="http://blogs.msdn.com/jamesche/archive/tags/General/default.aspx">General</category></item><item><title>Get Hotfixes Without Calling PSS</title><link>http://blogs.msdn.com/jamesche/archive/2007/07/27/get-hotfixes-without-calling-pss.aspx</link><pubDate>Fri, 27 Jul 2007 17:40:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:4081548</guid><dc:creator>jamesche</dc:creator><slash:comments>4</slash:comments><comments>http://blogs.msdn.com/jamesche/comments/4081548.aspx</comments><wfw:commentRss>http://blogs.msdn.com/jamesche/commentrss.aspx?PostID=4081548</wfw:commentRss><description>&lt;P&gt;You can now get a hotfix from Microsoft without having to call PSS! Just browse the the following site.&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;A href="https://support.microsoft.com/contactus2/emailcontact.aspx?scid=sw;en;1410&amp;amp;WS=hotfix"&gt;&lt;FONT face=Calibri size=3&gt;https://support.microsoft.com/contactus2/emailcontact.aspx?scid=sw;en;1410&amp;amp;WS=hotfix&lt;/FONT&gt;&lt;/A&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt" mce_keep="true"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;When you get there, enter the requested information and we'll send the hotfix to you automatically.&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt" mce_keep="true"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;Jim&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt" mce_keep="true"&gt;&amp;nbsp;&lt;/P&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=4081548" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/jamesche/archive/tags/General/default.aspx">General</category></item><item><title>Please listen carefully as our menus have changed.</title><link>http://blogs.msdn.com/jamesche/archive/2007/03/09/please-listen-carefully-as-our-menus-have-changed.aspx</link><pubDate>Sat, 10 Mar 2007 08:05:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:1850488</guid><dc:creator>jamesche</dc:creator><slash:comments>1</slash:comments><comments>http://blogs.msdn.com/jamesche/comments/1850488.aspx</comments><wfw:commentRss>http://blogs.msdn.com/jamesche/commentrss.aspx?PostID=1850488</wfw:commentRss><description>&lt;P&gt;I recently had to call Samsung customer service due to a broken TV set. (It's actually a very long story that involved many calls over a 2-month period, but I won't bore you.) Shortly after that debacle, my Xbox went belly up with the dreaded three-red-light syndrome. That prompted a call to Microsoft Xbox support, and despite what many Microsoft outsiders think, Microsoft employees have no special access to such assistance. Both of these experiences required me to listen to a long menu of choices (and for some reason, all of these services have menus that have "recently changed" so you are encouraged to "listen carefully" to the entire, drawn out thing.) &lt;/P&gt;
&lt;P&gt;Wouldn't it be nice if you had a way to look up a company's number along with the "secret" codes to punch in to get directly to a real, live human being? If only there were a massive network with information such as this that any person with a computer could access. It just so happens that there is just such a thing! It's called&lt;EM&gt; gethuman&lt;/EM&gt;, and it includes a &lt;A href="http://www.gethuman.com/us/" target=_blank mce_href="http://www.gethuman.com/us/"&gt;database of hundreds of companies&lt;/A&gt; and how to get straight to a real person. Very cool!&lt;EM&gt; &lt;/EM&gt;&lt;/P&gt;
&lt;P mce_keep="true"&gt;&amp;nbsp;&lt;/P&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=1850488" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/jamesche/archive/tags/General/default.aspx">General</category></item><item><title>WPF Provides the Best of Times</title><link>http://blogs.msdn.com/jamesche/archive/2007/03/09/wpf-provides-the-best-of-times.aspx</link><pubDate>Fri, 09 Mar 2007 19:24:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:1845693</guid><dc:creator>jamesche</dc:creator><slash:comments>0</slash:comments><comments>http://blogs.msdn.com/jamesche/comments/1845693.aspx</comments><wfw:commentRss>http://blogs.msdn.com/jamesche/commentrss.aspx?PostID=1845693</wfw:commentRss><description>&lt;P&gt;New York Times publisher Pinchy Suzberger recently told Haaretz Daily Newspaper Israel, "I don't know if we will be printing in five years, and you know what, I don't care." My dad was in the newspaper business for many decades and worked for a few very large papers. I have a little experience with the publishers of these papers, and I wouldn't prop them up as technical visionaries, but in this case, Pinchy might just be right!&lt;/P&gt;
&lt;P&gt;If you haven't already checked out the &lt;A href="http://firstlook.nytimes.com/index.php?cat=4" target=_blank mce_href="http://firstlook.nytimes.com/index.php?cat=4"&gt;beta of the Times Reader&lt;/A&gt;, you should. It uses Windows Presentation Foundation (WPF) to display the Times in a very readable format. WPF is part of the 3.0 version of the .NET Framework, and it's darned impressive!&lt;/P&gt;
&lt;P&gt;When you install the Times Reader on Windows XP SP2, you'll have to install the .NET Framework 3.0 as well. If you're on Vista, you're set and the download will be small. When you run the Times Reader, it downloads all of the content to your machine, so you can read offline if you want. However, if you stay online, the Times Reader will run in your system tray and keep your news updated on the fly.&lt;/P&gt;
&lt;P&gt;While the Times Reader is in beta, you'll be able to read the paper free of charge. &lt;/P&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=1845693" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/jamesche/archive/tags/General/default.aspx">General</category></item><item><title>Love, Hate, and Barenaked Ladies</title><link>http://blogs.msdn.com/jamesche/archive/2007/03/06/love-hate-and-barenaked-ladies.aspx</link><pubDate>Tue, 06 Mar 2007 20:50:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:1818487</guid><dc:creator>jamesche</dc:creator><slash:comments>1</slash:comments><comments>http://blogs.msdn.com/jamesche/comments/1818487.aspx</comments><wfw:commentRss>http://blogs.msdn.com/jamesche/commentrss.aspx?PostID=1818487</wfw:commentRss><description>&lt;P&gt;I hate DRM. Absolutely hate it. I love Barenaked Ladies. (It's a music group, Mom. I'm not opening any closets.) Barenaked Ladies have always been great about making their music available for download without being burdened by DRM. A buddy at work recently pointed me to &lt;A href="http://www.techcrunch.com/2007/03/05/barenaked-ladies-new-album-free-no-drm-now/" target=_blank mce_href="http://www.techcrunch.com/2007/03/05/barenaked-ladies-new-album-free-no-drm-now/"&gt;this article&lt;/A&gt; regarding Barenaked Ladies's latest album, Barenaked Ladies are Men, which is available FREE right now. The bad news? I just bought this album a few days ago, but you can still take advantage of this great deal on great music. Unfortunately, you'll have to wait until Aimie Street (the provider of the download) gets their site back up and running. (Maybe they should be using Windows Server 2003 and ASP.NET instead of the free OS, free web server, and PHP.)&lt;/P&gt;
&lt;P&gt;This is just one of the cool ways you can enjoy Barenaked Ladies. If you &lt;A href="https://www.werkshop.com/bnllive/index.jsp" target=_blank mce_href="https://www.werkshop.com/bnllive/index.jsp"&gt;visit their bootleg web site&lt;/A&gt;, you can download concert shows they've done and enjoy much more of this great group. Albums are affordable and high quality. &lt;/P&gt;
&lt;P&gt;Lastly, you can &lt;A href="http://www.emusic.com/" target=_blank mce_href="http://www.emusic.com/"&gt;join eMusic&lt;/A&gt; and get free MP3s as you try them out. If you like it, pay a little and get more non-DRM music. If you don't like it, cancel and keep the music you already have. eMusic has a lot of indie music (which is great,) but they're also starting to gain ground in the mainstream music area. Of course, bands like Barenaked Ladies who want people to actually buy their music are available on eMusic.&lt;/P&gt;
&lt;P&gt;Thank goodness for an 80GB iPod. ;)&lt;/P&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=1818487" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/jamesche/archive/tags/General/default.aspx">General</category></item><item><title>Apple FUD</title><link>http://blogs.msdn.com/jamesche/archive/2007/02/16/apple-fud.aspx</link><pubDate>Sat, 17 Feb 2007 03:31:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:1692107</guid><dc:creator>jamesche</dc:creator><slash:comments>10</slash:comments><comments>http://blogs.msdn.com/jamesche/comments/1692107.aspx</comments><wfw:commentRss>http://blogs.msdn.com/jamesche/commentrss.aspx?PostID=1692107</wfw:commentRss><description>&lt;P&gt;Apple has launched a campaign of FUD against Windows Vista. You know what FUD is, right? &lt;STRONG&gt;F&lt;/STRONG&gt;ear, &lt;STRONG&gt;u&lt;/STRONG&gt;ncertainty, and &lt;STRONG&gt;d&lt;/STRONG&gt;oubt, and that's just what Apple relies on in their "you need a new computer for Vista" campaign. While Apple's commercials show the same cool factor and quality of production that they always have, they have one flaw; they're hogwash!&lt;/P&gt;
&lt;P&gt;Don't get me wrong. I'm not your typical anti-Apple Microsoft employee. I own an iPod, not a Zune, I actually prefer iTunes 7 to Media Center 11, and there's a decent chance that my next notebook will be a MacBook Pro. I like Apple, but I resent their implication that Vista is a resource hog that will require most computer users to buy a new computer.&lt;/P&gt;
&lt;P&gt;I've been running Vista for a long time. I've installed it on a lot of different computers. Some of those computers are fast machines running modern hardware, but I've also installed it on one of my older computers, and it runs great on that machine. I upgraded the video card to an Nvidia 6800 GS AGP on that machine and it now runs Aero Glass with excellent performance, so I get all of the cool graphical effects. This machine is about 5 years old. &lt;/P&gt;
&lt;P&gt;Another common misconception I've heard repeated time and again in podcasts that I listen to is that Vista really requires 2GB of memory. I did upgrade my laptop to 2GB for Vista because it uses a shared-memory graphics chip that sucks system RAM in order to run Aero Glass. It runs great until I install SQL Server and a few other memory-intensive apps on there. The older machine I mentioned above has 1GB of RAM in it, and Vista runs incredibly well on it; every bit as snappy as Windows XP.&lt;/P&gt;
&lt;P&gt;I'm not the only one in this boat. I've talked to a lot of friends who say that they were incredibly surprised by how well Vista ran on older hardware. While I think that's great, the only reason that they were surprised is because they had been brainwashed into thinking that you can't run Vista on anything older than a year old. &lt;/P&gt;
&lt;P&gt;If you want to know if Vista will run on your computer, I'd advise you to check out the &lt;A href="http://www.microsoft.com/windows/products/windowsvista/buyorupgrade/upgradeadvisor.mspx" mce_href="http://www.microsoft.com/windows/products/windowsvista/buyorupgrade/upgradeadvisor.mspx"&gt;Windows Vista Upgrade Advisor&lt;/A&gt;. When you run this, keep in mind that if the Upgrade Advisor flags an area, it does it for a purpose. For example, if your video gets flagged, you might not see Aero Glass when you run Vista, etc. Still, it will give you more helpful advice than Apple. You may not have to buy a new PC.&lt;/P&gt;
&lt;P&gt;Until next time, remember not to smile.&lt;/P&gt;
&lt;P mce_keep="true"&gt;&amp;nbsp;&lt;/P&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=1692107" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/jamesche/archive/tags/General/default.aspx">General</category></item></channel></rss>