<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	>

<channel>
	<title>David's Technical Musings</title>
	<atom:link href="http://dpotter.net/Technical/feed/" rel="self" type="application/rss+xml" />
	<link>http://dpotter.net/Technical</link>
	<description>David Potter's insights and discoveries of all things technical</description>
	<pubDate>Wed, 10 Mar 2010 17:30:44 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.7.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Enable Ping on Windows Server 2008</title>
		<link>http://dpotter.net/Technical/2010/02/enable-ping-on-windows-server-2008-2/</link>
		<comments>http://dpotter.net/Technical/2010/02/enable-ping-on-windows-server-2008-2/#comments</comments>
		<pubDate>Fri, 26 Feb 2010 17:49:12 +0000</pubDate>
		<dc:creator>David Potter</dc:creator>
		
		<category><![CDATA[System Admin]]></category>

		<category><![CDATA[Echo]]></category>

		<category><![CDATA[ICMP]]></category>

		<category><![CDATA[Ping]]></category>

		<category><![CDATA[Windows]]></category>

		<category><![CDATA[Windows Server 2008 R2]]></category>

		<guid isPermaLink="false">http://dpotter.net/Technical/2010/03/enable-ping-on-windows-server-2008-2/</guid>
		<description><![CDATA[When setting up new servers, one of the first things to do is to make sure other machines can connect to.&#160; The easiest way to do that has typically been to use the ping command, which sends an Internet Control Message Protocol (ICMP) or Echo message to the remote machine.&#160; Due to security concerns, however, [...]]]></description>
			<content:encoded><![CDATA[<p>When setting up new servers, one of the first things to do is to make sure other machines can connect to.&#160; The easiest way to do that has typically been to use the ping command, which sends an Internet Control Message Protocol (ICMP) or Echo message to the remote machine.&#160; Due to security concerns, however, the Windows Firewall on Windows Server 2008 and Windows Server 2008 R2 is configured to disallow responses to these requests.&#160; Here is how to enable responses to these requests.</p>
<h4>Windows Firewall Control Panel</h4>
<p>Display the Windows Firewall control panel and click the <strong>Advanced settings</strong> link on the left.</p>
<p><a href="http://dpotter.net/Technical/wp-content/multiblog/Technical/uploads/2010/03/1enablepingwindowsfirewall.png"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="1-Enable Ping-Windows Firewall" border="0" alt="1-Enable Ping-Windows Firewall" src="http://dpotter.net/Technical/wp-content/multiblog/Technical/uploads/2010/03/1enablepingwindowsfirewall-thumb1.png" width="469" height="234" /></a></p>
<h4>Inbound Rules</h4>
<p>Click on the <strong>Inbound Rules</strong> entry below the <strong>Windows Firewall with Advanced Settings</strong> entry in the left pane.</p>
<p><a href="http://dpotter.net/Technical/wp-content/multiblog/Technical/uploads/2010/03/2enablepinginboundrules1.png"><img style="border-bottom: 0px; border-left: 0px; display: inline; margin-left: 0px; border-top: 0px; margin-right: 0px; border-right: 0px" title="2-Enable Ping-Inbound Rules" border="0" alt="2-Enable Ping-Inbound Rules" src="http://dpotter.net/Technical/wp-content/multiblog/Technical/uploads/2010/03/2enablepinginboundrules-thumb1.png" width="432" height="202" /></a></p>
<h4>Echo Request Rules</h4>
<p>There are two rules for echo requests, one called <strong>File and Printer Sharing (Echo Request - ICMPv4-In)</strong> and <strong>File and Printer Sharing (Echo Request - ICMPv6-In)</strong>.&#160; You’ll find these in the contents pane on the right.</p>
<p><a href="http://dpotter.net/Technical/wp-content/multiblog/Technical/uploads/2010/03/3enablepingechorequestrules1.png"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="3-Enable Ping-Echo Request Rules" border="0" alt="3-Enable Ping-Echo Request Rules" src="http://dpotter.net/Technical/wp-content/multiblog/Technical/uploads/2010/03/3enablepingechorequestrules-thumb.png" width="445" height="53" /></a></p>
<h4>Enable the Rules</h4>
<p>Right click on a rule and click on <strong>Enable</strong>.</p>
<p><a href="http://dpotter.net/Technical/wp-content/multiblog/Technical/uploads/2010/03/4enablepingenablerule1.png"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="4-Enable Ping-Enable Rule" border="0" alt="4-Enable Ping-Enable Rule" src="http://dpotter.net/Technical/wp-content/multiblog/Technical/uploads/2010/03/4enablepingenablerule-thumb.png" width="390" height="65" /></a></p>
<p>Once the rule has been enabled, the icon will turn green and the value in the <strong>Enabled</strong> column will change from <strong>No</strong> to <strong>Yes</strong>.</p>
<p><a href="http://dpotter.net/Technical/wp-content/multiblog/Technical/uploads/2010/03/5enablepingruleenabled1.png"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="5-Enable Ping-Rule Enabled" border="0" alt="5-Enable Ping-Rule Enabled" src="http://dpotter.net/Technical/wp-content/multiblog/Technical/uploads/2010/03/5enablepingruleenabled-thumb.png" width="422" height="121" /></a></p>
<h4>Command Line Control</h4>
<p>Note that Windows Server Core does not have any UI.&#160; You can use the following commands from a command prompt window to enable and disable the IPv4 rule:</p>
<p><code>netsh firewall set icmpsetting 8<br />
netsh firewall set icmpsetting 8 disable</code></p>
<p>Note that these commands have been deprecated and you’ll see this message when you execute them on Windows Server 2008 R2:</p>
<p><code>IMPORTANT: Command executed successfully.<br />
However, &quot;netsh firewall&quot; is deprecated;<br />
use &quot;netsh advfirewall firewall&quot; instead.<br />
For more information on using &quot;netsh advfirewall firewall&quot; commands<br />
instead of &quot;netsh firewall&quot;, see KB article 947709<br />
at http://go.microsoft.com/fwlink/?linkid=121488 .</code></p>
<p>I haven’t found the syntax for simply enabling and disabling the existing rules.&#160; All the examples I’ve seen have you create a new rule, like this:</p>
<p><code>netsh advfirewall firewall add rule name=&quot;ICMP Allow incoming V4 echo request&quot; protocol=icmpv4:8,any dir=in action=allow</code></p>
<p>If anyone can find the syntax for simply enabling and disabling the existing rules, please let me know.</p>
<h3>Resources</h3>
<ul>
<li><a title="Enable Ping Replies on Windows Server 2008 - Patrick&#39;s Bytes" href="http://patrickyong.wordpress.com/2008/05/04/enable-ping-replies-on-windows-server-2008/" rel="nofollow">Enable Ping Replies on Windows Server 2008</a> by Patrick Yong</li>
<li><a title="Enable Ping in Windows Server Firewall @ serverfault.com" href="http://serverfault.com/questions/6046/enable-ping-in-windows-server-firewall" rel="nofollow">Enable Ping in Windows Server Firewall</a> @ serverfault.com</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://dpotter.net/Technical/2010/02/enable-ping-on-windows-server-2008-2/feed/</wfw:commentRss>
		</item>
		<item>
		<title>osCommerce admin login won&#8217;t login</title>
		<link>http://dpotter.net/Technical/2009/12/oscommerce-admin-login-wont-login/</link>
		<comments>http://dpotter.net/Technical/2009/12/oscommerce-admin-login-wont-login/#comments</comments>
		<pubDate>Thu, 17 Dec 2009 07:44:46 +0000</pubDate>
		<dc:creator>David Potter</dc:creator>
		
		<category><![CDATA[Software]]></category>

		<category><![CDATA[osCommerce]]></category>

		<category><![CDATA[WP.osC]]></category>

		<guid isPermaLink="false">http://dpotter.net/Technical/2009/12/oscommerce-admin-login-wont-login/</guid>
		<description><![CDATA[I’ve been implementing a new website using the WP.osC framework (based on osCommerce) and ran into a problem of not being able to login to the admin panel.&#160; It would simply redirect back to the admin login page.&#160; This typically occurred when I would change the URL to the store website.
Quite a few people had [...]]]></description>
			<content:encoded><![CDATA[<p>I’ve been implementing a new website using the <a title="osCommerce for WordPress" href="http://www.wposc.com/" rel="nofollow">WP.osC</a> framework (based on <a title="osCommerce, Open Source Online Shop E-Commerce Solutions" href="http://www.oscommerce.com/" rel="nofollow">osCommerce</a>) and ran into a problem of not being able to login to the admin panel.&#160; It would simply redirect back to the admin login page.&#160; This typically occurred when I would change the URL to the store website.</p>
<p>Quite a few people had the problem but one person (Dan O’Brien from Cornwall, England) provided the solution that worked for me.</p>
<ol>
<li>Edit <code>catalog/admin/includes/application_top.php</code> </li>
<li>Comment out the block of code below the comment that says:      <br /><code class="shadedblock">// redirect to login page if administrator is not yet logged in</code> </li>
<li>Log in to the admin panel </li>
<li>Click on the Administrators link. </li>
<li>Edit the administrator in question. </li>
<li>Change the password. </li>
<li>Uncomment out the block of code previously commented out. </li>
</ol>
<p>Thank you Dan O’Brien!</p>
<h3>Resources</h3>
<ul>
<li><a title="Admin login problem after changed home directory" href="http://forums.oscommerce.com/topic/294577-admin-login-problem-after-host-changed-home-directory/page__view__findpost__p__1314370" rel="nofollow">Admin login problem after changed home directory</a> @ osCommerce Community Support Forums </li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://dpotter.net/Technical/2009/12/oscommerce-admin-login-wont-login/feed/</wfw:commentRss>
		</item>
		<item>
		<title>mysql_connect to localhost on Windows 7 and Windows Vista times out</title>
		<link>http://dpotter.net/Technical/2009/12/mysql_connect-to-localhost-on-windows-7-and-windows-vista-times-out/</link>
		<comments>http://dpotter.net/Technical/2009/12/mysql_connect-to-localhost-on-windows-7-and-windows-vista-times-out/#comments</comments>
		<pubDate>Thu, 17 Dec 2009 07:09:41 +0000</pubDate>
		<dc:creator>David Potter</dc:creator>
		
		<category><![CDATA[Home Theater]]></category>

		<category><![CDATA[Software]]></category>

		<category><![CDATA[Beyond TV]]></category>

		<category><![CDATA[MySQL]]></category>

		<category><![CDATA[phpMyAdmin]]></category>

		<category><![CDATA[Windows 7]]></category>

		<category><![CDATA[Windows Vista]]></category>

		<guid isPermaLink="false">http://dpotter.net/Technical/2009/12/mysql_connect-to-localhost-on-windows-7-and-windows-vista-times-out/</guid>
		<description><![CDATA[I’ve been developing PHP websites against mysql on Windows Server 2003 and Windows Server 2008 R2 and finally decided I needed to start doing my testing and debugging on a client machine instead.&#160; My development machine runs Windows 7 so it is running the same version of IIS as my Windows Server 2008 R2 machine.
As [...]]]></description>
			<content:encoded><![CDATA[<p>I’ve been developing PHP websites against mysql on Windows Server 2003 and Windows Server 2008 R2 and finally decided I needed to start doing my testing and debugging on a client machine instead.&#160; My development machine runs Windows 7 so it is running the same version of IIS as my Windows Server 2008 R2 machine.</p>
<p>As I was getting everything setup, I installed phpMyAdmin and immediately ran into a problem.&#160; It would time out trying to connect to the database on localhost.&#160; Of course, I didn’t know that at the time as phpMyAdmin just displays a blank page.&#160; I found <a title="HowTo Fix: PhpMyAdmin Displays Blank Page After Logging In" href="http://www.karinamyers.com/2009/08/howto-fix-phpmyadmin-displays-blank-page-after-logging-inhowto-fix-phpmyadmin-muestra-pagina-en-blanco-despues-de-logeo/" rel="nofollow">this article by Karina Myers</a> that described a workaround – specify 127.0.0.1 for the host instead of local host.&#160; Specifically, change this:</p>
<p><code class="shadedblock">$cfg[‘Servers’][$i][‘host’]&#160;&#160;&#160; = ‘localhost’;</code>
<p>to this:</p>
<p> <code class="shadedblock">$cfg[‘Servers’][$i][‘host’]&#160;&#160;&#160; = ‘127.0.0.1’;</code></p>
<p>Then I proceeded to install an osCommerce website and it had trouble as well.&#160; Fortunately I had Xdebug installed so I got some useful error messages.&#160; I should have guessed this before; the problem had to do with the <code>mysql_connect()</code> function trying to connect to localhost.</p>
<p>Fortunately for me, others have run into this before and the solution was posted to the <a title="PHP: mysql_connect - Manual" href="http://php.net/manual/en/function.mysql-connect.php" rel="nofollow">documentation page for mysql_connect</a>.&#160; Here is what you do:</p>
<ol>
<li>Edit the <code>%SystemDrive%\System32\drivers\etc\hosts</code> file.</li>
<li>Make sure the following line is not present or is commented out:<br /><code>::1&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; localhost</code></li>
<li>Make sure the following line is present and is not commented out:<br /><code>127.0.0.1&#160;&#160; localhost</code></li>
</ol>
<p>Doing this solved the problem completely for me.</p>
<h3>Update 12/29/2009</h3>
<p>I discovered tonight that this tip also fixes a problem I was having with the <a href="http://www.snapstream.com/" title="Snap Stream Media" rel="nofollow">Beyond TV</a> web admin on Windows Vista.  When attempting to connect from the local machine by right-clicking on the Beyond TV tray icon and selecting <strong>Open Web Admin</strong> the browser would display an error page.  After making the above changes to the <code>hosts</code> file, all was right with the world again.</p>
<h3>Resources</h3>
<ul>
<li><a title="PHP: mysql_connect - Manual" href="http://php.net/manual/en/function.mysql-connect.php" rel="nofollow">PHP Manual - mysql_connect</a></li>
<li><a title="HowTo Fix: PhpMyAdmin Displays Blank Page After Logging In" href="http://www.karinamyers.com/2009/08/howto-fix-phpmyadmin-displays-blank-page-after-logging-inhowto-fix-phpmyadmin-muestra-pagina-en-blanco-despues-de-logeo/" rel="nofollow">HowTo Fix: PhpMyAdmin Displays Blank Page After Logging In</a> by Karina Myers</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://dpotter.net/Technical/2009/12/mysql_connect-to-localhost-on-windows-7-and-windows-vista-times-out/feed/</wfw:commentRss>
		</item>
		<item>
		<title>WP Gallery Image Shortcode Plugin</title>
		<link>http://dpotter.net/Technical/2009/11/wp-gallery-image-shortcode-plugin/</link>
		<comments>http://dpotter.net/Technical/2009/11/wp-gallery-image-shortcode-plugin/#comments</comments>
		<pubDate>Tue, 24 Nov 2009 05:29:10 +0000</pubDate>
		<dc:creator>David Potter</dc:creator>
		
		<category><![CDATA[WordPress Plugins]]></category>

		<category><![CDATA[Gallery]]></category>

		<category><![CDATA[Images]]></category>

		<category><![CDATA[Shortcodes]]></category>

		<guid isPermaLink="false">http://dpotter.net/Technical/2009/11/wp-gallery-image-shortcode-plugin/</guid>
		<description><![CDATA[I just released my first WordPress plugin – the WP Gallery Image Shortcode plugin.&#160; This plugin lets you add an image to a post or page from the WordPress gallery on your site using a shortcode.&#160; Normally when you add an image, it embeds an image tag and sometimes an anchor tag that each includes [...]]]></description>
			<content:encoded><![CDATA[<p>I just released my first WordPress plugin – the WP Gallery Image Shortcode plugin.&#160; This plugin lets you add an image to a post or page from the WordPress gallery on your site using a shortcode.&#160; Normally when you add an image, it embeds an image tag and sometimes an anchor tag that each includes your site URL.&#160; This might be fine for some sites, but if you ever need to move or copy content from one URL to another, these yet more places that you must modify to get that content working in the location.</p>
<p>I finally got tired of it and wrote this plugin.&#160; It allows you to use a shortcode in your posts and pages that refer to uploaded images by ID, name, or title.&#160; The easiest is probably by title since that is what is displayed in the admin panel.</p>
<p>The plugin is being hosted by the WordPress plugin repository.&#160; Check it out and let me know what you think.</p>
<h3>Resources</h3>
<ul>
<li><a href="http://dpotter.net/Technical/wordpress/wp-plugins/wpgalleryimage_shortcode/" title="WP Gallery Image Shortcode Plugin">WP Gallery Image Shortcode Plugin</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://dpotter.net/Technical/2009/11/wp-gallery-image-shortcode-plugin/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Tynt Insight</title>
		<link>http://dpotter.net/Technical/2009/11/tynt-insight/</link>
		<comments>http://dpotter.net/Technical/2009/11/tynt-insight/#comments</comments>
		<pubDate>Sat, 21 Nov 2009 01:55:10 +0000</pubDate>
		<dc:creator>David Potter</dc:creator>
		
		<category><![CDATA[Web Site Design]]></category>

		<category><![CDATA[SEO]]></category>

		<guid isPermaLink="false">http://dpotter.net/Technical/2009/11/tynt-insight/</guid>
		<description><![CDATA[I stumbled upon a service that allows you to know what’s being copied from your site.&#160; The service can add attribution to the copied text which can drive more traffic to your site.&#160; The service is called Tynt Insight and the basic functionality is all free, but they offer additional features in a Pro package [...]]]></description>
			<content:encoded><![CDATA[<p>I stumbled upon a service that allows you to know what’s being copied from your site.&#160; The service can add attribution to the copied text which can drive more traffic to your site.&#160; The service is called <a title="Tynt Insight: What&#39;s being copied from your site?" href="http://www.tynt.com/" rel="nofollow">Tynt Insight</a> and the basic functionality is all free, but they offer additional features in a Pro package for a fee.</p>
<p>Here are some comics that describe some of the features.</p>
<p>&#160;<img style="border-bottom: 0px; border-left: 0px; display: block; float: none; margin-left: auto; border-top: 0px; margin-right: auto; border-right: 0px" title="tynt-conversation-1" border="0" alt="tynt-conversation-1" src="http://dpotter.net/Technical/wp-content/multiblog/Technical/uploads/2009/11/tyntconversation1.png" width="390" height="250" /> </p>
<p><img style="border-bottom: 0px; border-left: 0px; display: block; float: none; margin-left: auto; border-top: 0px; margin-right: auto; border-right: 0px" title="tynt-conversation-2" border="0" alt="tynt-conversation-2" src="http://dpotter.net/Technical/wp-content/multiblog/Technical/uploads/2009/11/tyntconversation2.png" width="390" height="250" /> </p>
<p>&#160;</p>
<p>I’m trying this out now on my site.&#160; I’d be interesting to hear what others think about it.</p>
]]></content:encoded>
			<wfw:commentRss>http://dpotter.net/Technical/2009/11/tynt-insight/feed/</wfw:commentRss>
		</item>
		<item>
		<title>PowerShell version of dir /s and the -Recurse parameter</title>
		<link>http://dpotter.net/Technical/2009/11/powershell-version-of-dir-s-and-the-recurse-parameter/</link>
		<comments>http://dpotter.net/Technical/2009/11/powershell-version-of-dir-s-and-the-recurse-parameter/#comments</comments>
		<pubDate>Fri, 20 Nov 2009 00:23:16 +0000</pubDate>
		<dc:creator>David Potter</dc:creator>
		
		<category><![CDATA[PowerShell]]></category>

		<guid isPermaLink="false">http://dpotter.net/Technical/2009/11/powershell-version-of-dir-s-and-the-recurse-parameter/</guid>
		<description><![CDATA[My colleagues and I ran into a bit of a problem trying to find all the files that matched a pattern at or below the current folder.&#160; The problem is that the PowerShell Get-ChildItem cmdlet has a bizarre notion of file and path matching.&#160; Consider this cmd.exe command:
 dir /s Microsoft*
This will return all the [...]]]></description>
			<content:encoded><![CDATA[<p>My colleagues and I ran into a bit of a problem trying to find all the files that matched a pattern at or below the current folder.&#160; The problem is that the PowerShell <code>Get-ChildItem</code> cmdlet has a bizarre notion of file and path matching.&#160; Consider this cmd.exe command:</p>
<p> <code class="shadedblock">dir /s Microsoft*</code>
<p>This will return all the files that begin with the word Microsoft at or below the current directory.&#160; You might think the following PowerShell command would do the same thing:</p>
<p> <code class="shadedblock">Get-ChildItem Microsoft* -Recurse</code>
<p>Well, guess again.&#160; That returns all the contents of all the folders that begin with the word Microsoft.&#160; Huh?&#160; When do you ever need to do that?&#160; Okay, maybe someone needs to do that sometimes, but for that to be the default is mind-boggling.&#160; Try this instead:</p>
<p> <code class="shadedblock">Get-ChildItem -Include Microsoft -Recurse</code>
<p>This command does the same thing as the above cmd.exe command.&#160; It’s rather bizarre why that isn’t the default when recursing, but at least there is a fairly low-cost way to do it.</p>
<h3>Resources</h3>
<ul>
<li><a title="Windows PowerShell -Recurse parameter with get-childitem" href="http://www.computerperformance.co.uk/powershell/powershell_recurse.htm" rel="nofollow">Windows PowerShell -Recurse parameter with get-childitem</a> </li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://dpotter.net/Technical/2009/11/powershell-version-of-dir-s-and-the-recurse-parameter/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Editing applicationHost.config on 64-bit Windows</title>
		<link>http://dpotter.net/Technical/2009/11/editing-applicationhostconfig-on-64-bit-windows/</link>
		<comments>http://dpotter.net/Technical/2009/11/editing-applicationhostconfig-on-64-bit-windows/#comments</comments>
		<pubDate>Tue, 17 Nov 2009 06:11:41 +0000</pubDate>
		<dc:creator>David Potter</dc:creator>
		
		<category><![CDATA[Software]]></category>

		<category><![CDATA[64-bit]]></category>

		<category><![CDATA[IIS]]></category>

		<category><![CDATA[IIS7]]></category>

		<category><![CDATA[Windows]]></category>

		<category><![CDATA[Windows Server 2008 R2]]></category>

		<guid isPermaLink="false">http://dpotter.net/Technical/2009/11/editing-applicationhostconfig-on-64-bit-windows/</guid>
		<description><![CDATA[I’m coming up to speed on IIS7 on Windows Server 2008 R2.&#160; There is a lot to like, but there is also a lot to learn.&#160; One of the things that’s interesting about R2 is that there is no 32-bit version, so I’m finally running 64-bit Windows.&#160; This doesn’t come without its problems.
One of the [...]]]></description>
			<content:encoded><![CDATA[<p>I’m coming up to speed on IIS7 on Windows Server 2008 R2.&#160; There is a lot to like, but there is also a lot to learn.&#160; One of the things that’s interesting about R2 is that there is no 32-bit version, so I’m finally running 64-bit Windows.&#160; This doesn’t come without its problems.</p>
<p>One of the problems I’m running down required that I view and possibly edit <code>applicationHost.config</code>.&#160; This file is located at <code>%SystemRoot%\System32\inetsrv\config</code>.&#160; Seems simple enough.&#160; I was able to find it from the command line easily, but when I went to load it in my favorite editor (Notepad++) I got a file not found error.&#160; Turns out that the <code>System32</code> folder is redirected for 32-bit applications to <code>SysWOW64</code>.&#160; There appears to be no way to view the System32 folder using a 32-bit app.&#160; Go figure.</p>
<p>Fortunately, 64-bit versions of Windows ship with a 64-bit version of Notepad.&#160; As much as I dislike it, at least it works.</p>
<p>Rick Strahl wrote a terrific article covering this issue, which I’ve listed in the Resources section.</p>
<h3>Resources</h3>
<ul>
<li><a title="Editing Applicationhost.config on 64 bit Win2008 - Rick Strahl&#39;s Web Log" href="http://www.west-wind.com/Weblog/posts/447442.aspx" rel="nofollow">Editing Applicationhost.config on 64 bit Win2008</a> by Rick Strahl</li>
<li><a title="Problem Opening applicationhost.config in VS2008 : The Official Microsoft IIS Site" href="http://forums.iis.net/p/1150832/1875622.aspx" rel="nofollow">Problem Opening applicationhost.config in VS2008</a> (Elevated) @ IIS.net</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://dpotter.net/Technical/2009/11/editing-applicationhostconfig-on-64-bit-windows/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Regenerating WordPress Thumbnails</title>
		<link>http://dpotter.net/Technical/2009/11/regenerating-wordpress-thumbnails/</link>
		<comments>http://dpotter.net/Technical/2009/11/regenerating-wordpress-thumbnails/#comments</comments>
		<pubDate>Tue, 17 Nov 2009 05:56:45 +0000</pubDate>
		<dc:creator>David Potter</dc:creator>
		
		<category><![CDATA[WordPress Plugins]]></category>

		<category><![CDATA[Images]]></category>

		<guid isPermaLink="false">http://dpotter.net/Technical/2009/11/regenerating-wordpress-thumbnails/</guid>
		<description><![CDATA[I’m in the process of moving my WordPress sites to a new server and a new version of WordPress, and as part of that I’m also reevaluating how my uploads are organized.  I discovered that some of my images didn’t have thumbnails generated in the right sizes.
Fortunately, I’m not the only person who has [...]]]></description>
			<content:encoded><![CDATA[<p>I’m in the process of moving my WordPress sites to a new server and a new version of WordPress, and as part of that I’m also reevaluating how my uploads are organized.  I discovered that some of my images didn’t have thumbnails generated in the right sizes.</p>
<p>Fortunately, I’m not the only person who has run up against this problem.&#160; Alex, otherwise known as <a title="Viper007Bond" href="http://www.viper007bond.com/" rel="nofollow">Viper007Bond</a>, wrote a handy plugin called, appropriately enough, <a title="WordPress &gt; Regenerate Thumbnails &gt; WordPress Plugins" href="http://wordpress.org/extend/plugins/regenerate-thumbnails/" rel="nofollow">Regenerate Thumbnails</a>.  This plugin couldn’t be much simpler.  After unzipping it into a folder below your plugins folder and then activating, go to <strong>Tools</strong> &gt; <strong>Regen. Thumbnails</strong> and click the button.</p>
<p>Nice.  Simple.  Elegant.</p>
]]></content:encoded>
			<wfw:commentRss>http://dpotter.net/Technical/2009/11/regenerating-wordpress-thumbnails/feed/</wfw:commentRss>
		</item>
		<item>
		<title>“Location is not available” on Windows Server 2008</title>
		<link>http://dpotter.net/Technical/2009/11/location-is-not-available-on-windows-server-2008/</link>
		<comments>http://dpotter.net/Technical/2009/11/location-is-not-available-on-windows-server-2008/#comments</comments>
		<pubDate>Fri, 13 Nov 2009 21:06:44 +0000</pubDate>
		<dc:creator>David Potter</dc:creator>
		
		<category><![CDATA[Software]]></category>

		<category><![CDATA[Kerberos]]></category>

		<category><![CDATA[Networking]]></category>

		<category><![CDATA[Server Manager]]></category>

		<category><![CDATA[Windows]]></category>

		<category><![CDATA[Windows Firewall]]></category>

		<category><![CDATA[Windows Firewall with Advanced Security]]></category>

		<category><![CDATA[Windows Server 2008 R2]]></category>

		<guid isPermaLink="false">http://dpotter.net/Technical/2009/11/location-is-not-available-on-windows-server-2008/</guid>
		<description><![CDATA[I’ve just recently added a Windows Server 2008 R2 machine to my network with a domain controller running Windows Server 2003 SBS.&#160; Everything seemed to be working fine for a couple days (not sure why it lasted that long) when I started getting an error message like this:
The system detected a possible attempt to compromise [...]]]></description>
			<content:encoded><![CDATA[<p>I’ve just recently added a Windows Server 2008 R2 machine to my network with a domain controller running Windows Server 2003 SBS.&#160; Everything seemed to be working fine for a couple days (not sure why it lasted that long) when I started getting an error message like this:</p>
<p>The system detected a possible attempt to compromise security. Please ensure that you can contact the server that authenticated you.</p>
<p><a href="http://dpotter.net/Technical/wp-content/multiblog/Technical/uploads/2010/03/locationisnotavailable.png"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="locationisnotavailable" border="0" alt="locationisnotavailable" src="http://dpotter.net/Technical/wp-content/multiblog/Technical/uploads/2010/03/locationisnotavailable-thumb.png" width="434" height="141" /></a></p>
<p>A search on the Internet turned up a <a title="You receive a &quot;The system has detected a possible attempt to compromise security&quot; error message when you try to include security settings for a user from different domain in a local domain folder" href="http://support.microsoft.com/kb/938457" rel="nofollow">solution on Microsoft’s support website</a>.&#160; The article says that the KB content has been retired, but the solution worked for me.</p>
<p>The article says that the problem occurs because the network firewall filters Kerberos traffic.&#160; The solution is to open up port 88 for both TCP and UDP.&#160; This solved the problem for me.</p>
<p>Note that on previous versions of the firewall it was a LOT easier to open up a port.&#160; On Windows Server 2008 R2, here is what you have to do.</p>
<ol>
<li>In <strong>Server Manager</strong> navigate to <strong>Configuration</strong> -&gt; <strong>Windows Firewall with Advanced Security</strong> -&gt; <strong>Outbound Files</strong>.</li>
<li>Click <strong>New Rule</strong>.</li>
<li>Select <strong>Port</strong> and click <strong>Next</strong>.</li>
<li>Select <strong>TCP</strong> and <strong>Specific remote ports</strong>, type <strong>88</strong> for the port number, then click <strong>Next</strong>.</li>
<li>Click <strong>Allow the connection</strong> and click <strong>Next</strong>.</li>
<li>Select the network profile you want to allow this for then click <strong>Next</strong>.</li>
<li>Type a name (such as <strong>Open Kerberos Traffic (TCP)</strong>), then click <strong>Finish</strong>.</li>
</ol>
<p>Do the same thing for UDP and you should be done.</p>
<h3>Resources</h3>
<ul>
<li><a title="You receive a &quot;The system has detected a possible attempt to compromise security&quot; error message when you try to include security settings for a user from different domain in a local domain folder" href="http://support.microsoft.com/kb/938457" rel="nofollow">Microsoft support article</a></li>
<li><a title="How to configure the new Windows Server 2008 advanced firewall MMC snap-in" href="http://www.windowsnetworking.com/articles_tutorials/configure-Windows-Server-2008-advanced-firewall-MMC-snap-in.html" rel="nofollow">How to configure the new Windows Server 2008 advanced firewall MMC snap-in</a> by David Davis</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://dpotter.net/Technical/2009/11/location-is-not-available-on-windows-server-2008/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Copying a WordPress Blog to a Different Domain</title>
		<link>http://dpotter.net/Technical/2009/11/copying-a-wordpress-blog-to-a-different-domain/</link>
		<comments>http://dpotter.net/Technical/2009/11/copying-a-wordpress-blog-to-a-different-domain/#comments</comments>
		<pubDate>Sun, 08 Nov 2009 02:25:12 +0000</pubDate>
		<dc:creator>David Potter</dc:creator>
		
		<category><![CDATA[WordPress]]></category>

		<category><![CDATA[Backup]]></category>

		<category><![CDATA[SQL]]></category>

		<category><![CDATA[WP config]]></category>

		<guid isPermaLink="false">http://dpotter.net/Technical/2009/11/copying-a-wordpress-blog-to-a-different-domain/</guid>
		<description><![CDATA[Periodically I need to copy the contents of a log to another domain for testing purposes.&#160; WordPress doesn’t make this particularly easy as it embeds the complete URL of the site in many places, including the options table, in the posts table for each post, and even in posts, such as when media is added.
There [...]]]></description>
			<content:encoded><![CDATA[<p>Periodically I need to copy the contents of a log to another domain for testing purposes.&#160; WordPress doesn’t make this particularly easy as it embeds the complete URL of the site in many places, including the options table, in the posts table for each post, and even in posts, such as when media is added.</p>
<p>There is no need to create the blog in the new database.  If you&#8217;ve already done that, I would recommend deleting the tables before continuing.</p>
<p>Before you move on, you’ll want to back up your blog.&#160; There are plenty of solutions for this, but a handy one that I’ve been using is <a title="WordPress Database Backup" href="http://wordpress.org/extend/plugins/wp-db-backup/" rel="nofollow">WordPress Database Backup</a> by Austin Matzko.</p>
<p>Now you can import the resulting backup file against the destination blog’s database.&#160; I use phpMyAdmin for this, so here are the steps for doing that:</p>
<ol>
<li>Log in to phpMyAdmin.</li>
<li>Select the destination blog’s database.</li>
<li>Click the <strong>Import</strong> tab.</li>
<li>Click the Browse button and find the <code>.sql</code> file that was the result of the backup operation.&#160; If your backup produces a <code>.zip</code> or <code>.gzip</code> file, that will work fine also.</li>
<li>Click the <strong>Go</strong> button.</li>
</ol>
<p>You now have your content over on the new site, but you still have work to do.&#160; You still need to change all references to the old domain to be the new domain.&#160; There are three SQL commands you need to execute to do this.&#160; To execute a SQL command, select the database in phpMyAdmin and click the <strong>SQL</strong> tab.&#160; Paste the following commands into the edit box and change old-domain and new-domain as appropriate.&#160; If you changed your table prefix, don’t forget to change the names of the tables as well.</p>
<p>First let&#8217;s fix the <code>wp_options</code> table.</p>
<p><code class="shadedblock">UPDATE wp_options SET option_value = replace(option_value, 'http://www.old-domain.com', 'http://www.new-domain.com') WHERE option_name = 'home' OR option_name = 'siteurl';</code></p>
<p>Now let&#8217;s fix the <code>guid</code> column in the <code>wp_posts</code> table.</p>
<p><code class="shadedblock">UPDATE wp_posts SET guid = replace(guid, 'http://www.old-domain.com','http://www.new-domain.com');</code></p>
<p>Finally let&#8217;s fix the content in the <code>wp_posts</code> table.</p>
<p><code class="shadedblock">UPDATE wp_posts SET post_content = replace(post_content, 'http://www.old-domain.com', 'http://www.new-domain.com');</code></p>
<p>The final step will be to copy any files that were uploaded, such as in the wp-content\files directory.</p>
<h4>Resources</h4>
<ul>
<li><a href="http://www.mydigitallife.info/2007/10/01/how-to-move-wordpress-blog-to-new-domain-or-location/" title="How to Move WordPress Blog to New Domain or Location" rel="nofollow">How to Move WordPress Blog to New Domain or Location</a></li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://dpotter.net/Technical/2009/11/copying-a-wordpress-blog-to-a-different-domain/feed/</wfw:commentRss>
		</item>
	</channel>
</rss>
