<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="wordpress/2.3.3" -->
<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/"
	>

<channel>
	<title>Makiwa &#187; Development</title>
	<link>http://www.makiwa.com</link>
	<description>Stuart Campbell's occasional musings about software development, etc.</description>
	<pubDate>Thu, 08 May 2008 11:04:13 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.3.3</generator>
	<language>en</language>
			<item>
		<title>IE Developer toolbar stops working</title>
		<link>http://www.makiwa.com/index.php/2008/05/08/ie-developer-toolbar-stops-working/</link>
		<comments>http://www.makiwa.com/index.php/2008/05/08/ie-developer-toolbar-stops-working/#comments</comments>
		<pubDate>Thu, 08 May 2008 11:04:13 +0000</pubDate>
		<dc:creator>Stu</dc:creator>
		
		<category><![CDATA[Development]]></category>

		<category><![CDATA[Web Dev]]></category>

		<guid isPermaLink="false">http://www.makiwa.com/index.php/2008/05/08/ie-developer-toolbar-stops-working/</guid>
		<description><![CDATA[I rely a lot on tools like the IE Developer toolbar. Recently after uninstalling IE 8 Beta 1 and returning to IE 7, the toolbar just stopped working. I could launch it, but all the options were greyed out.
It took me a while to fix this, yet the solution is embarrassingly simple. I found it [...]]]></description>
			<content:encoded><![CDATA[<p>I rely a lot on tools like the <a href="http://www.microsoft.com/downloads/details.aspx?familyid=E59C3964-672D-4511-BB3E-2D5E1DB91038&amp;displaylang=en" target="_blank">IE Developer toolbar</a>. Recently after uninstalling IE 8 Beta 1 and returning to IE 7, the toolbar just stopped working. I could launch it, but all the options were greyed out.</p>
<p>It took me a while to fix this, yet the solution is embarrassingly simple. I found it on the <a href="http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=2032139&amp;SiteID=1" target="_blank">Internet Explorer Web Development forum</a>.</p>
<p>1. Go to <strong>Tools | Internet Options | Programs</strong>, and choose <strong>Manage add-ons</strong>.</p>
<p><img style="border-top-width: 0px; border-left-width: 0px; border-bottom-width: 0px; border-right-width: 0px" height="523" alt="Tools | Internet Options | Programs" src="http://www.makiwa.com/wp-content/uploads/2008/05/image.png" width="417" border="0"> </p>
<p>2. Find <strong>IE Developer Toolbar BHO</strong> in the add-ons list and<strong> enable it</strong>. </p>
<p>&nbsp; <img style="border-right: 0px; border-top: 0px; border-left: 0px; border-bottom: 0px" height="484" alt="Manage add-ons" src="http://www.makiwa.com/wp-content/uploads/2008/05/image1.png" width="397" border="0"> </p>
<p>3. Finally, restart IE for the change to take effect. And debug in IE to your heart&#8217;s content&#8230;</p>
<p><img style="border-right: 0px; border-top: 0px; border-left: 0px; border-bottom: 0px" height="132" alt="IE Developer Toolbar" src="http://www.makiwa.com/wp-content/uploads/2008/05/image2.png" width="299" border="0"></p>
]]></content:encoded>
			<wfw:commentRss>http://www.makiwa.com/index.php/2008/05/08/ie-developer-toolbar-stops-working/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Consolas: try a new font for Visual Studio</title>
		<link>http://www.makiwa.com/index.php/2008/04/26/consolas-a-new-font-for-visual-studio/</link>
		<comments>http://www.makiwa.com/index.php/2008/04/26/consolas-a-new-font-for-visual-studio/#comments</comments>
		<pubDate>Sat, 26 Apr 2008 22:58:48 +0000</pubDate>
		<dc:creator>Stu</dc:creator>
		
		<category><![CDATA[Development]]></category>

		<category><![CDATA[Visual Studio]]></category>

		<guid isPermaLink="false">http://www.makiwa.com/index.php/2008/04/26/consolas-a-new-font-for-visual-studio/</guid>
		<description><![CDATA[I&#8217;ve just downloaded a new font for Visual Studio. It&#8217;s called Consolas and I think I like it. You can get it here.
According to the blurb:
Consolas is intended for use in programming environments and other circumstances where a monospaced font is specified. All characters have the same width, like old typewriters, making it a good [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve just downloaded a new font for Visual Studio. It&#8217;s called Consolas and I think I like it. You can <a href="http://www.microsoft.com/downloads/details.aspx?familyid=22E69AE4-7E40-4807-8A86-B3D36FAB68D3&amp;displaylang=en" target="_blank">get it here</a>.</p>
<p>According to the blurb:</p>
<blockquote><p>Consolas is intended for use in programming environments and other circumstances where a monospaced font is specified. All characters have the same width, like old typewriters, making it a good choice for personal and business correspondence. Optimizing the font specifically for ClearType allowed a design with proportions closer to normal text than traditional monospaced fonts like Courier. This allows for more comfortable reading of extended text on-screen.</p>
</blockquote>
<p>And it does what it says on the tin. I also like the fact that it is more compact so you can fit more code on the screen.</p>
<p>Here is trusty old Courier New 10pt:</p>
<p>&nbsp;<img style="border-top-width: 0px; border-left-width: 0px; border-bottom-width: 0px; border-right-width: 0px" height="294" alt="Courier New" src="http://www.makiwa.com/wp-content/uploads/2008/04/image2.png" width="414" border="0"></p>
<p>And here is the same text in Consolas 10pt :</p>
<p><img style="border-top-width: 0px; border-left-width: 0px; border-bottom-width: 0px; border-right-width: 0px" height="294" alt="Consolas" src="http://www.makiwa.com/wp-content/uploads/2008/04/image3.png" width="414" border="0"></p>
]]></content:encoded>
			<wfw:commentRss>http://www.makiwa.com/index.php/2008/04/26/consolas-a-new-font-for-visual-studio/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Vista hibernate problem</title>
		<link>http://www.makiwa.com/index.php/2008/04/13/vista-hibernate-problem/</link>
		<comments>http://www.makiwa.com/index.php/2008/04/13/vista-hibernate-problem/#comments</comments>
		<pubDate>Sun, 13 Apr 2008 08:45:18 +0000</pubDate>
		<dc:creator>Stu</dc:creator>
		
		<category><![CDATA[Development]]></category>

		<guid isPermaLink="false">http://www.makiwa.com/index.php/2008/04/13/vista-hibernate-problem/</guid>
		<description><![CDATA[Since installing Vista SP1 (even since the release candidate I think) my system would fail to hibernate.
It would look like it had hibernated, but the next time I booted I would get a &#8220;Windows did not shut down successfully&#8221;. And then it would boot normally as though it hadn&#8217;t been hibernated.
Anyway, found this thread and [...]]]></description>
			<content:encoded><![CDATA[<p>Since installing Vista SP1 (even since the release candidate I think) my system would fail to hibernate.</p>
<p>It would <em>look</em> like it had hibernated, but the next time I booted I would get a &#8220;Windows did not shut down successfully&#8221;. And then it would boot normally as though it hadn&#8217;t been hibernated.</p>
<p>Anyway, found <a href="http://forums.microsoft.com/TechNet/ShowPost.aspx?PostID=2953139&amp;SiteID=17" target="_blank">this thread</a> and thought I&#8217;d link it because it worked like a charm.</p>
<p>Hope it helps.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.makiwa.com/index.php/2008/04/13/vista-hibernate-problem/feed/</wfw:commentRss>
		</item>
		<item>
		<title>IE7 emulation in IE8 Beta 1 doesn&#8217;t do what it says on the tin</title>
		<link>http://www.makiwa.com/index.php/2008/03/06/ie7-emulation-in-ie8-beta-1-doesnt-do-what-it-says-on-the-tin/</link>
		<comments>http://www.makiwa.com/index.php/2008/03/06/ie7-emulation-in-ie8-beta-1-doesnt-do-what-it-says-on-the-tin/#comments</comments>
		<pubDate>Thu, 06 Mar 2008 13:38:48 +0000</pubDate>
		<dc:creator>Stu</dc:creator>
		
		<category><![CDATA[Development]]></category>

		<category><![CDATA[Web Dev]]></category>

		<guid isPermaLink="false">http://www.makiwa.com/index.php/2008/03/06/ie7-emulation-in-ie8-beta-1-doesnt-do-what-it-says-on-the-tin/</guid>
		<description><![CDATA[IE8 Beta 1 has some cool features, but, as I still need to develop for IE7, I only installed it over IE7 because it has an IE7 emulation mode. Problem is, that mode doesn&#8217;t quite work. 
Oh. Oh. Oh. See Gmail puke. Look Microsoft! Look!

What is going on with the left navigation? It&#8217;s usually more [...]]]></description>
			<content:encoded><![CDATA[<p>IE8 Beta 1 has some cool features, but, as I still need to develop for IE7, I only installed it over IE7 because it has an IE7 emulation mode. Problem is, that mode doesn&#8217;t quite work. </p>
<p>Oh. Oh. Oh. See Gmail puke. Look Microsoft! Look!</p>
<p><img style="border-right: 0px; border-top: 0px; margin: 0px 15px 0px 0px; border-left: 0px; border-bottom: 0px" border="0" alt="image" src="http://www.makiwa.com/wp-content/uploads/2008/03/image1.png" width="338" height="764"></p>
<p>What is going on with the left navigation? It&#8217;s usually more compact than that&#8230;and the chat widget has disappeared.</p>
<p>I&#8217;m not sure yet if it&#8217;s a rendering issue or whether the user agent isn&#8217;t being reported as IE7 and Google isn&#8217;t formatting it accordingly.</p>
<p>Either way, you can&#8217;t trust IE8 Beta 1 to emulate IE7 properly.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.makiwa.com/index.php/2008/03/06/ie7-emulation-in-ie8-beta-1-doesnt-do-what-it-says-on-the-tin/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Editing a project file as XML</title>
		<link>http://www.makiwa.com/index.php/2008/02/08/editing-a-project-file-as-xml/</link>
		<comments>http://www.makiwa.com/index.php/2008/02/08/editing-a-project-file-as-xml/#comments</comments>
		<pubDate>Fri, 08 Feb 2008 17:27:37 +0000</pubDate>
		<dc:creator>Stu</dc:creator>
		
		<category><![CDATA[Development]]></category>

		<category><![CDATA[Visual Studio]]></category>

		<guid isPermaLink="false">http://www.makiwa.com/index.php/2008/02/08/editing-a-project-file-as-xml/</guid>
		<description><![CDATA[I sometimes need to edit a *.csproj file as XML. However, there isn&#8217;t an option for doing so in Visual Studio. Or so I thought.
I often end up opening the *.csproj as a text file from explorer, but then of course, I lose all the Intellisense goodness.
Perhaps I&#8217;m slow but it wasn&#8217;t until today that [...]]]></description>
			<content:encoded><![CDATA[<p>I sometimes need to edit a *.csproj file as XML. However, there isn&#8217;t an option for doing so in Visual Studio. Or so I thought.</p>
<p>I often end up opening the *.csproj as a text file from explorer, but then of course, I lose all the Intellisense goodness.</p>
<p>Perhaps I&#8217;m slow but it wasn&#8217;t until today that found out how to do it in Visual Studio:</p>
<ol>
<li>Simply right-click the project and choose &quot;Unload Project&quot;.</li>
<li>Right-click the &quot;unavailable project&quot; and choose &quot;Edit {project filename}&quot;</li>
</ol>
<p><img style="margin: 0px 0px 0px 30px" height="208" alt="image" src="http://www.makiwa.com/wp-content/uploads/2008/02/image.png" width="285" /> </p>
<p>Once you&#8217;ve done that you get the joys of syntax highlighting and Intellisense.</p>
<p><img height="309" alt="image" src="http://www.makiwa.com/wp-content/uploads/2008/02/image1.png" width="246" /></p>
]]></content:encoded>
			<wfw:commentRss>http://www.makiwa.com/index.php/2008/02/08/editing-a-project-file-as-xml/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Error uninstalling VS 2008 Beta 2</title>
		<link>http://www.makiwa.com/index.php/2007/11/25/error-uninstalling-vs-2008-beta-2/</link>
		<comments>http://www.makiwa.com/index.php/2007/11/25/error-uninstalling-vs-2008-beta-2/#comments</comments>
		<pubDate>Sun, 25 Nov 2007 21:44:46 +0000</pubDate>
		<dc:creator>Stu</dc:creator>
		
		<category><![CDATA[Development]]></category>

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

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

		<category><![CDATA[Visual Studio]]></category>

		<guid isPermaLink="false">http://www.makiwa.com/index.php/2007/11/25/error-uninstalling-vs-2008-beta-2/</guid>
		<description><![CDATA[I&#8217;ve just had a bit of a pain uninstalling Visual Studio 2008 Beta 2 on Vista. I followed Scott Guthrie&#8217;s steps for uninstalling it, but when I tried to uninstall VS 2008 itself I got the following error:
Error 1325.&#8217;WebDesignerCore&#8217; is not a valid short file name.

 
Needless to say, a brief episode of profanity ensued. [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve just had a bit of a pain uninstalling Visual Studio 2008 Beta 2 on Vista. I followed <a href="http://weblogs.asp.net/scottgu/archive/2007/11/20/steps-to-uninstall-vs-2008-beta2-before-installing-the-vs-2008-final-release.aspx" target="_blank">Scott Guthrie&#8217;s steps for uninstalling it</a>, but when I tried to uninstall VS 2008 itself I got the following error:</p>
<blockquote><p>Error 1325.&#8217;WebDesignerCore&#8217; is not a valid short file name.</p>
</blockquote>
<p><font color="#777777"><a href="http://www.makiwa.com/wp-content/uploads/2007/11/vs2008beta2-uninstall-error.png"><img id="id" style="border-top-width: 0px; border-left-width: 0px; border-bottom-width: 0px; border-right-width: 0px" height="156" alt="vs2008beta2-uninstall-error" src="http://www.makiwa.com/wp-content/uploads/2007/11/vs2008beta2-uninstall-error_thumb.png" width="381" border="0" /></a> </font></p>
<p>Needless to say, a brief episode of profanity ensued. But fear not: after a bit of googling and struggling, I managed to sort it out. Hopefully, if you are having the same problem then this will help you.</p>
<ol>
<li>Open your temp folder. The easiest way is to hit Windows+R and type &quot;%temp%&quot; and hit OK.      <br /><a href="http://www.makiwa.com/wp-content/uploads/2007/11/image.png"><img style="border-top-width: 0px; border-left-width: 0px; border-bottom-width: 0px; margin: 10px 0px 15px; border-right-width: 0px" height="126" alt="image" src="http://www.makiwa.com/wp-content/uploads/2007/11/image_thumb.png" width="244" border="0" /></a> </li>
<li>In that folder look for files matching VSMsiLog*.txt. You are looking for the log file that was created when you installed VS2008 Beta 2. Check the Date Modified field if there are several - although I imagine there should only be one of these at this point. Open it in WordPad (Notepad seems to struggle with the size of this file - mine was 47 MB). </li>
<li>Search through the file for the term &quot;WebDesignerCore&quot; until you find a match that looks like a file path. In my case it was:<br />
<blockquote>
<p align="left"><font face="Courier New" size="2">MSI (s) (7C:48) [07:38:56:490]: PROPERTY CHANGE: Adding wcu_VWD.3643236F_FC70_11D3_A536_0090278A1BB8 property. Its value is <strong><em>&#8216;K:\WCU\WebDesignerCore\&#8217;</em></strong>.</font></p>
</blockquote>
<p> The VS uninstall script is looking here so if doesn&#8217;t exist it will fail. In my case it didn&#8217;t exist because K was the drive letter I used when I mounted the VS 2008 Beta 2 ISO image for installation and I had since unmounted it. </li>
<li>Put the original VS 2008 Beta 2 setup media in place so that that path exists. In my case I had to mount the ISO image (using <a href="http://www.daemon-tools.cc/dtcc/download.php?mode=ViewCategory&amp;catid=5" target="_blank">Daemon Tools</a>) and change the drive letter to K. </li>
<li>Now uninstall Visual Studio 2008 Beta 2! </li>
</ol>
<p>Good luck! <img src='http://www.makiwa.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://www.makiwa.com/index.php/2007/11/25/error-uninstalling-vs-2008-beta-2/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Blogging from the iPhone</title>
		<link>http://www.makiwa.com/index.php/2007/11/25/blogging-from-the-iphone/</link>
		<comments>http://www.makiwa.com/index.php/2007/11/25/blogging-from-the-iphone/#comments</comments>
		<pubDate>Sun, 25 Nov 2007 15:44:00 +0000</pubDate>
		<dc:creator>Stu</dc:creator>
		
		<category><![CDATA[Gadgets]]></category>

		<category><![CDATA[User Interfaces]]></category>

		<guid isPermaLink="false">http://www.makiwa.com/index.php/2007/11/25/blogging-from-the-iphone/</guid>
		<description><![CDATA[This is not easy if you have thumbs as big as mine! But the phone looks cool!
]]></description>
			<content:encoded><![CDATA[<p>This is not easy if you have thumbs as big as mine! But the phone looks cool!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.makiwa.com/index.php/2007/11/25/blogging-from-the-iphone/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Automating Subversion export on Windows</title>
		<link>http://www.makiwa.com/index.php/2007/11/15/automating-subversion-export-on-windows/</link>
		<comments>http://www.makiwa.com/index.php/2007/11/15/automating-subversion-export-on-windows/#comments</comments>
		<pubDate>Thu, 15 Nov 2007 18:25:23 +0000</pubDate>
		<dc:creator>Stu</dc:creator>
		
		<category><![CDATA[Development]]></category>

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

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

		<guid isPermaLink="false">http://www.makiwa.com/index.php/2007/11/15/automating-subversion-export-on-windows/</guid>
		<description><![CDATA[I was having problems using the a command line Subversion client on Windows XP to export from the repository. The problem was mainly my own stupidity but I&#8217;ll share the &#34;solution&#34; anyway.
The Subversion help describes the &#34;export&#34; command as follows:
export: Create an unversioned copy of a tree.      usage: 1. export [...]]]></description>
			<content:encoded><![CDATA[<p>I was having problems using the a command line Subversion client on Windows XP to export from the repository. The problem was mainly my own stupidity but I&#8217;ll share the &quot;solution&quot; anyway.</p>
<p>The Subversion help describes the &quot;export&quot; command as follows:</p>
<p><font face="Courier New">export: Create an unversioned copy of a tree.      <br />usage: 1. export [-r REV] URL[@PEGREV] [PATH]       <br />&#xA0;&#xA0;&#xA0;&#xA0;&#xA0;&#xA0; 2. export [-r REV] PATH1[@PEGREV] [PATH2]</font></p>
<p>I mistakenly assumed that URL or PATH1 was required before the first path parameter. Alas, this is not the case and it took me a while to work out what I was doing wrong.</p>
<p>To export the HEAD of a path from the repository to a path on the C: drive you would use something like the following:</p>
<p align="left"><font face="Courier New" size="2">svn export svn://server/path c:\path &#8211;username stu      <br /></font><font face="Courier New" size="2">&#8211;password pwd &#8211;force</font></p>
<p align="left">To export from the working copy to a path on the C: drive you would use something like the following:</p>
<p align="left"><font face="Courier New" size="2">svn export c:\workingcopy\path c:\path &#8211;username stu      <br />&#8211;password pwd &#8211;force</font></p>
<p align="left">Simple really. A bit like me.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.makiwa.com/index.php/2007/11/15/automating-subversion-export-on-windows/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Vista doesn&#8217;t connect to some websites</title>
		<link>http://www.makiwa.com/index.php/2007/09/02/vista-doesnt-connect-to-some-websites/</link>
		<comments>http://www.makiwa.com/index.php/2007/09/02/vista-doesnt-connect-to-some-websites/#comments</comments>
		<pubDate>Sun, 02 Sep 2007 11:09:57 +0000</pubDate>
		<dc:creator>Stu</dc:creator>
		
		<category><![CDATA[Longhorn]]></category>

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

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

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

		<guid isPermaLink="false">http://www.makiwa.com/index.php/2007/09/02/vista-doesn%e2%80%99t-connect-to-some-websites/</guid>
		<description><![CDATA[I recently re-installed Vista and had this weird problem where I could connect to some websites, but not others. I solved the problem by explicitly setting the DNS addresses to the ones used by the router. If you are having this problem this might work for you too.


In the online status page of the router [...]]]></description>
			<content:encoded><![CDATA[<p>I recently re-installed Vista and had this weird problem where I could connect to some websites, but not others. I solved the problem by explicitly setting the DNS addresses to the ones used by the router. If you are having this problem this might work for you too.
</p>
<ol>
<li>In the online status page of the router configuration screen you should see the Primary and Secondary DNS addresses.
</li>
</ol>
<p><img src="http://www.makiwa.com/wp-content/uploads/2007/09/090207_1101_Vistadoesnt13.png" alt=""/>
	</p>
<p>
Â </p>
<ol>
<li>To set those DNS settings up in Vista, go to Control Panel | &#8220;View network status and tasks&#8221;
</li>
</ol>
<p><img src="http://www.makiwa.com/wp-content/uploads/2007/09/090207_1101_Vistadoesnt23.png" alt=""/>
	</p>
<p>
Â </p>
<ol>
<li>Then click &#8220;Manage network connections&#8221;.
</li>
</ol>
<p><img src="http://www.makiwa.com/wp-content/uploads/2007/09/090207_1101_Vistadoesnt33.png" alt=""/>
	</p>
<p>
Â </p>
<ol>
<li>Select your network connection and choose Properties.
</li>
</ol>
<p><img src="http://www.makiwa.com/wp-content/uploads/2007/09/090207_1101_Vistadoesnt43.png" alt=""/>
	</p>
<p>
Â </p>
<ol>
<li>Select the IPv4 binding, and click Properties.
</li>
</ol>
<p><img src="http://www.makiwa.com/wp-content/uploads/2007/09/090207_1101_Vistadoesnt53.png" alt=""/>
	</p>
<p>
Â </p>
<ol>
<li>Finally, choose &#8220;Use the following DNS server addresses&#8221; and set the Preferred and Alternate servers to the Primary and Secondary ones obtained from the router in step 1, and press OK.
</li>
</ol>
<p><img src="http://www.makiwa.com/wp-content/uploads/2007/09/090207_1101_Vistadoesnt63.png" alt=""/>
	</p>
<p>Hope this helped.
</p>
<p>
Â </p>
]]></content:encoded>
			<wfw:commentRss>http://www.makiwa.com/index.php/2007/09/02/vista-doesnt-connect-to-some-websites/feed/</wfw:commentRss>
		</item>
		<item>
		<title>IE6, SSL and non-secure items</title>
		<link>http://www.makiwa.com/index.php/2007/08/03/ie6-ssl-and-non-secure-items/</link>
		<comments>http://www.makiwa.com/index.php/2007/08/03/ie6-ssl-and-non-secure-items/#comments</comments>
		<pubDate>Fri, 03 Aug 2007 18:12:52 +0000</pubDate>
		<dc:creator>Stu</dc:creator>
		
		<category><![CDATA[Development]]></category>

		<category><![CDATA[Web Dev]]></category>

		<guid isPermaLink="false">http://www.makiwa.com/index.php/2007/08/03/ie6-ssl-and-non-secure-items/</guid>
		<description><![CDATA[I'm working on a financial web app that's SSL-secured, and recently on page load, IE6 has been throwing up the mixed content prompt: "This page contains both secure and unsecure items".


	
This confused me because I searched through the app and couldn't find any URLs with the "http" scheme.

Using Fiddler2 I was able to decrypt the [...]]]></description>
			<content:encoded><![CDATA[<p>I'm working on a financial web app that's SSL-secured, and recently on page load, IE6 has been throwing up the mixed content prompt: "This page contains both secure and unsecure items".
</p>
<p><img src="http://www.makiwa.com/wp-content/uploads/2007/08/080307_1812_IE6SSLandno11.png" alt=""/>
	</p>
<p>This confused me because I searched through the app and couldn't find any URLs with the "http" scheme.
</p>
<p>Using <a href="http://www.fiddlertool.com/Fiddler2/">Fiddler2</a> I was able to decrypt the HTTPS traffic (which is quite cool) and I expected to find the request that was causing the problem.
</p>
<p><img src="http://www.makiwa.com/wp-content/uploads/2007/08/080307_1812_IE6SSLandno21.png" alt=""/>
	</p>
<p>If you have this problem, you may well find that Fiddler gives you the answer. Me â€“ not so lucky. I just got red herrings. It would stop on certain requests and I would think that was the culprit, then next time round it would stop on a different request.
</p>
<p>Finally, after much head-scratching and googling I came across the answer: I had IFRAME elements with no SRC attribute! See the Microsoft Knowledgebase article <a href="http://support.microsoft.com/default.aspx?scid=kb;en-us;261188">PRB: Security Warning Message Occurs When You Browse to a Page That Contains an IFRAME Through SSL</a>
	</p>
<p>If you set the SRC attribute dynamically, or modify the contents of the iframe on-the-fly, just make sure you assign an initial dummy or javascript SRC in the markup and you troubles will disappear. See the example blow:</p>
<div class="igBar"><span id="lhtml-2"><a href="#" onclick="javascript:showPlainTxt('html-2'); return false;">PLAIN TEXT</a></span></div>
<div class="syntax_hilite"><span class="langName">HTML:</span>
<div id="html-2">
<div class="html">
<ol>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #009900;"><a href="http://december.com/html/4/element/iframe.html"><span style="color: #000000; font-weight: bold;">&lt;iframe</span></a> <span style="color: #000066;">id</span>=<span style="color: #ff0000;">"myIframe"</span> <span style="color: #000066;">src</span>=<span style="color: #ff0000;">"javascript:false;"</span><span style="color: #000000; font-weight: bold;">&gt;</span></a></span><span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/iframe&gt;</span></span> </div>
</li>
</ol>
</div>
</div>
</div>
<p>
</p>
<p>I hope this helps.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.makiwa.com/index.php/2007/08/03/ie6-ssl-and-non-secure-items/feed/</wfw:commentRss>
		</item>
	</channel>
</rss>
