<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss 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/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0">

<channel>
	<title>merill.net</title>
	
	<link>http://merill.net</link>
	<description>Thinking in .NET</description>
	<lastBuildDate>Thu, 12 Nov 2009 19:15:34 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.5</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<image><link>http://www.merill.net</link><url>http://www.merill.net/themes/mads_simple/merill_netBETA.png</url><title>merill.net</title></image><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" href="http://www.merill.net" type="application/rss+xml" /><feedburner:emailServiceId>merill</feedburner:emailServiceId><feedburner:feedburnerHostname>http://feedburner.google.com</feedburner:feedburnerHostname><feedburner:browserFriendly>This is an XML content feed. It is intended to be viewed in a newsreader or syndicated to another site.</feedburner:browserFriendly><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com" /><item>
		<title>Google Wave Invites</title>
		<link>http://feedproxy.google.com/~r/merill/~3/B9YqAEIT8-U/</link>
		<comments>http://merill.net/2009/11/google-wave-invites/#comments</comments>
		<pubDate>Thu, 12 Nov 2009 00:42:11 +0000</pubDate>
		<dc:creator>merill</dc:creator>
				<category><![CDATA[Tips]]></category>
		<category><![CDATA[google]]></category>
		<category><![CDATA[wave]]></category>

		<guid isPermaLink="false">http://merill.net/2009/11/google-wave-invites/</guid>
		<description><![CDATA[UPDATE: No more invites. Sorry guys I&#8217;ve given away all my invites on a first-come first-serve basis. Cheers!
I’ve given away most of my invites over Twitter but there are a few remaining though. So if you’d like a wave invite drop me a mail or leave a comment with your email address.
One tip I’ve found [...]]]></description>
			<content:encoded><![CDATA[<p>UPDATE: No more invites. Sorry guys I&#8217;ve given away all my invites on a first-come first-serve basis. Cheers!</p>
<p>I’ve given away most of my invites over Twitter but there are a few remaining though. So if you’d like a wave invite drop me a mail or leave a comment with your email address.</p>
<p>One tip I’ve found useful on my first day is to see public waves using <strong>with:public</strong>. The list is like a fire hose so I usually add some criteria e.g. ‘sharepoint with:public’ to see all public sharepoint waves.</p>
<a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save?linkurl=http%3A%2F%2Fmerill.net%2F2009%2F11%2Fgoogle-wave-invites%2F&amp;linkname=Google%20Wave%20Invites">Share/Save</a><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/merill?a=B9YqAEIT8-U:rbl7o5UNSO8:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/merill?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/merill?a=B9YqAEIT8-U:rbl7o5UNSO8:D7DqB2pKExk"><img src="http://feeds.feedburner.com/~ff/merill?i=B9YqAEIT8-U:rbl7o5UNSO8:D7DqB2pKExk" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/merill/~4/B9YqAEIT8-U" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://merill.net/2009/11/google-wave-invites/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		<feedburner:origLink>http://merill.net/2009/11/google-wave-invites/</feedburner:origLink></item>
		<item>
		<title>Love This!</title>
		<link>http://feedproxy.google.com/~r/merill/~3/Zxgbnv10fJ8/</link>
		<comments>http://merill.net/2009/10/love-this/#comments</comments>
		<pubDate>Thu, 22 Oct 2009 06:36:02 +0000</pubDate>
		<dc:creator>merill</dc:creator>
				<category><![CDATA[.NET]]></category>
		<category><![CDATA[SharePoint]]></category>
		<category><![CDATA[visual studio]]></category>

		<guid isPermaLink="false">http://merill.net/2009/10/love-this/</guid>
		<description><![CDATA[
Share/Save]]></description>
			<content:encoded><![CDATA[<p><a href="http://merill.net/wp-content/uploads/2009/10/SharePointDev.png"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="SharePointDev" border="0" alt="SharePointDev" src="http://merill.net/wp-content/uploads/2009/10/SharePointDev_thumb.png" width="630" height="484" /></a></p>
<a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save?linkurl=http%3A%2F%2Fmerill.net%2F2009%2F10%2Flove-this%2F&amp;linkname=Love%20This%21">Share/Save</a><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/merill?a=Zxgbnv10fJ8:QJhFUQwE1I8:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/merill?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/merill?a=Zxgbnv10fJ8:QJhFUQwE1I8:D7DqB2pKExk"><img src="http://feeds.feedburner.com/~ff/merill?i=Zxgbnv10fJ8:QJhFUQwE1I8:D7DqB2pKExk" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/merill/~4/Zxgbnv10fJ8" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://merill.net/2009/10/love-this/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		<feedburner:origLink>http://merill.net/2009/10/love-this/</feedburner:origLink></item>
		<item>
		<title>WPF Checked ListBox</title>
		<link>http://feedproxy.google.com/~r/merill/~3/eS0nWq94iX8/</link>
		<comments>http://merill.net/2009/10/wpf-checked-listbox/#comments</comments>
		<pubDate>Wed, 14 Oct 2009 23:44:16 +0000</pubDate>
		<dc:creator>merill</dc:creator>
				<category><![CDATA[WPF]]></category>
		<category><![CDATA[checked]]></category>
		<category><![CDATA[listbox]]></category>

		<guid isPermaLink="false">http://merill.net/2009/10/wpf-checked-listbox/</guid>
		<description><![CDATA[WPF currently does not have a checked list box out of the box so you’ll need to roll your own. Unfortunately most of the examples that come up on Google involve creating a usercontrol and writing some code.
Here’s one quick way that does not not involve writing any additional code.
Step 1: Start off by creating [...]]]></description>
			<content:encoded><![CDATA[<p>WPF currently does not have a checked list box out of the box so you’ll need to roll your own. Unfortunately most of the examples that come up on Google involve creating a usercontrol and writing some code.</p>
<p>Here’s one quick way that does not not involve writing any additional code.</p>
<p>Step 1: Start off by creating a class that will represent each checked list item in the list box. Obviously if you already have your data item all you need to ensure is that it has a boolean property to store the Checked/Unchecked flag.</p>
<pre class="csharpcode"><span class="kwrd">public</span> <span class="kwrd">class</span> CheckedListItem
{
    <span class="kwrd">public</span> <span class="kwrd">int</span> Id { get; set; }
    <span class="kwrd">public</span> <span class="kwrd">string</span> Name { get; set; }
    <span class="kwrd">public</span> <span class="kwrd">bool</span> IsChecked { get; set; }
}</pre>
<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>&#160;</p>
<p>Step 2: Create the list item that will be bound to the list box. I called my list AvailablePresentationObjects.</p>
<div id="codeSnippetWrapper">
<pre class="csharpcode"><span class="kwrd">public</span> List&lt;CheckedListItem&gt; AvailablePresentationObjects;</pre>
<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>
</div>
<p>Step 3: The last step is to create the actual checked list box. I created a list box and used the HierarchicalDataTemplate to hold the CheckBox. The Name and the IsChecked property are then bound to the checkbox.</p>
<pre class="csharpcode"><span class="kwrd">&lt;</span><span class="html">ListBox</span> <span class="attr">ItemsSource</span><span class="kwrd">=&quot;{Binding AvailablePresentationObjects}&quot;</span> <span class="kwrd">&gt;</span>
    <span class="kwrd">&lt;</span><span class="html">ListBox.ItemTemplate</span><span class="kwrd">&gt;</span>
        <span class="kwrd">&lt;</span><span class="html">HierarchicalDataTemplate</span><span class="kwrd">&gt;</span>
            <span class="kwrd">&lt;</span><span class="html">CheckBox</span> <span class="attr">Content</span><span class="kwrd">=&quot;{Binding Name}&quot;</span> <span class="attr">IsChecked</span><span class="kwrd">=&quot;{Binding IsChecked}&quot;</span><span class="kwrd">/&gt;</span>
        <span class="kwrd">&lt;/</span><span class="html">HierarchicalDataTemplate</span><span class="kwrd">&gt;</span>
    <span class="kwrd">&lt;/</span><span class="html">ListBox.ItemTemplate</span><span class="kwrd">&gt;</span>
<span class="kwrd">&lt;/</span><span class="html">ListBox</span><span class="kwrd">&gt;</span></pre>
<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>And walla!</p>
<p><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="WPF-CheckedListBox" border="0" alt="WPF-CheckedListBox" src="http://merill.net/wp-content/uploads/2009/10/WPFCheckedListBox.png" width="330" height="159" /> </p>
<p>Now the IsChecked property will reflect the value in the UI and vice versa. If you need real-time notification when someone checks/unchecks then you simply need to raise the PropertyChanged event in the CheckedListItem class.</p>
<a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save?linkurl=http%3A%2F%2Fmerill.net%2F2009%2F10%2Fwpf-checked-listbox%2F&amp;linkname=WPF%20Checked%20ListBox">Share/Save</a><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/merill?a=eS0nWq94iX8:fYf0TmuQ5gc:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/merill?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/merill?a=eS0nWq94iX8:fYf0TmuQ5gc:D7DqB2pKExk"><img src="http://feeds.feedburner.com/~ff/merill?i=eS0nWq94iX8:fYf0TmuQ5gc:D7DqB2pKExk" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/merill/~4/eS0nWq94iX8" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://merill.net/2009/10/wpf-checked-listbox/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		<feedburner:origLink>http://merill.net/2009/10/wpf-checked-listbox/</feedburner:origLink></item>
		<item>
		<title>The War is Over</title>
		<link>http://feedproxy.google.com/~r/merill/~3/dVRJGUsGLHc/</link>
		<comments>http://merill.net/2009/05/the-war-is-over/#comments</comments>
		<pubDate>Mon, 18 May 2009 06:25:43 +0000</pubDate>
		<dc:creator>merill</dc:creator>
				<category><![CDATA[Sri Lankan]]></category>
		<category><![CDATA[peace]]></category>

		<guid isPermaLink="false">http://merill.net/?p=582</guid>
		<description><![CDATA[Sri Lanka is finally rid of the terrorists, the war is over. I hope and pray that we have seen the end of senseless bloodshed.
Let&#8217;s build a better, peaceful Sri Lanka.
Share/Save]]></description>
			<content:encoded><![CDATA[<p>Sri Lanka is finally rid of the terrorists, the war is over. I hope and pray that we have seen the end of senseless bloodshed.</p>
<p>Let&#8217;s build a better, peaceful Sri Lanka.</p>
<a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save?linkurl=http%3A%2F%2Fmerill.net%2F2009%2F05%2Fthe-war-is-over%2F&amp;linkname=The%20War%20is%20Over">Share/Save</a><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/merill?a=dVRJGUsGLHc:TvEU3dT8Qis:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/merill?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/merill?a=dVRJGUsGLHc:TvEU3dT8Qis:D7DqB2pKExk"><img src="http://feeds.feedburner.com/~ff/merill?i=dVRJGUsGLHc:TvEU3dT8Qis:D7DqB2pKExk" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/merill/~4/dVRJGUsGLHc" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://merill.net/2009/05/the-war-is-over/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		<feedburner:origLink>http://merill.net/2009/05/the-war-is-over/</feedburner:origLink></item>
		<item>
		<title>Fixing the Silverlight caching issue</title>
		<link>http://feedproxy.google.com/~r/merill/~3/ZCToWACSs8s/</link>
		<comments>http://merill.net/2009/05/fixing-the-silverlight-caching-issue/#comments</comments>
		<pubDate>Mon, 18 May 2009 05:24:09 +0000</pubDate>
		<dc:creator>merill</dc:creator>
				<category><![CDATA[Tips]]></category>
		<category><![CDATA[silverlight]]></category>

		<guid isPermaLink="false">http://merill.net/?p=579</guid>
		<description><![CDATA[Fell into this trap today. I deployed an update of my silverlight project to the Sharepoint site but on some machines the browser continously kept loading the older version.
I racked my brain trying to figure out how to add ETags to a xap file and yet keep the deployment simple. The answer though is unbelievably [...]]]></description>
			<content:encoded><![CDATA[<p>Fell into this trap today. I deployed an update of my silverlight project to the Sharepoint site but on some machines the browser continously kept loading the older version.</p>
<p>I racked my brain trying to figure out how to add ETags to a xap file and yet keep the deployment simple. The answer though is unbelievably simple in this case. Update your AssemblyVersion when compiling. That&#8217;s it. IIS takes care of sending the update through to all the browsers.</p>
<p>BTW the <a href="http://silverlight.net/forums/">silverlight.net forums</a> are a gem for figuring out answers to silverlight problems.</p>
<a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save?linkurl=http%3A%2F%2Fmerill.net%2F2009%2F05%2Ffixing-the-silverlight-caching-issue%2F&amp;linkname=Fixing%20the%20Silverlight%20caching%20issue">Share/Save</a><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/merill?a=ZCToWACSs8s:WK8m20ODSoU:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/merill?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/merill?a=ZCToWACSs8s:WK8m20ODSoU:D7DqB2pKExk"><img src="http://feeds.feedburner.com/~ff/merill?i=ZCToWACSs8s:WK8m20ODSoU:D7DqB2pKExk" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/merill/~4/ZCToWACSs8s" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://merill.net/2009/05/fixing-the-silverlight-caching-issue/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		<feedburner:origLink>http://merill.net/2009/05/fixing-the-silverlight-caching-issue/</feedburner:origLink></item>
		<item>
		<title>Changing the default schema in Oracle</title>
		<link>http://feedproxy.google.com/~r/merill/~3/EgteUZaD94A/</link>
		<comments>http://merill.net/2009/04/changing-the-default-schema-in-oracle/#comments</comments>
		<pubDate>Tue, 28 Apr 2009 03:14:01 +0000</pubDate>
		<dc:creator>merill</dc:creator>
				<category><![CDATA[Tips]]></category>
		<category><![CDATA[oracle]]></category>
		<category><![CDATA[schema]]></category>
		<category><![CDATA[session]]></category>

		<guid isPermaLink="false">http://merill.net/2009/04/changing-the-default-schema-in-oracle/</guid>
		<description><![CDATA[The application I was working on assumed that the user would always be in the default schema. I ran into a snag when I had to connect to the staging environment where the read only user that I was provided with didn’t have all the objects in his schema.
The solution was to make a call [...]]]></description>
			<content:encoded><![CDATA[<p>The application I was working on assumed that the user would always be in the default schema. I ran into a snag when I had to connect to the staging environment where the read only user that I was provided with didn’t have all the objects in his schema.</p>
<p>The solution was to make a call to change the default schema using the ALTER SESSION call with this code.</p>
<div class="csharpcode">
<pre class="alt">        <span class="rem">/// &lt;summary&gt;</span></pre>
<pre>        <span class="rem">/// Sets the schema to use if one is configured.</span></pre>
<pre class="alt">        <span class="rem">/// &lt;/summary&gt;</span></pre>
<pre>        <span class="kwrd">public</span> <span class="kwrd">static</span> <span class="kwrd">void</span> SetSchema()</pre>
<pre class="alt">        {</pre>
<pre>            var schema = ConfigurationManager.AppSettings[<span class="str">&quot;SchemaName&quot;</span>];</pre>
<pre class="alt">            <span class="kwrd">if</span> (<span class="kwrd">string</span>.IsNullOrEmpty(schema)) <span class="kwrd">return</span>;</pre>
<pre>&#160;</pre>
<pre class="alt">&#160;</pre>
<pre>            <span class="kwrd">using</span> (var connection = GetConnection())</pre>
<pre class="alt">            {</pre>
<pre>                <span class="kwrd">using</span> (var command = <span class="kwrd">new</span> OracleCommand(<span class="str">&quot;alter session set current_schema=&quot;</span> + schema))</pre>
<pre class="alt">                {</pre>
<pre>                    connection.Open();</pre>
<pre class="alt">                    command.Connection = connection;</pre>
<pre>                    command.ExecuteNonQuery();</pre>
<pre class="alt">                }</pre>
<pre>            }</pre>
<pre class="alt">        }</pre>
</div>
<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>
<a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save?linkurl=http%3A%2F%2Fmerill.net%2F2009%2F04%2Fchanging-the-default-schema-in-oracle%2F&amp;linkname=Changing%20the%20default%20schema%20in%20Oracle">Share/Save</a><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/merill?a=EgteUZaD94A:qVtl57VP8-Q:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/merill?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/merill?a=EgteUZaD94A:qVtl57VP8-Q:D7DqB2pKExk"><img src="http://feeds.feedburner.com/~ff/merill?i=EgteUZaD94A:qVtl57VP8-Q:D7DqB2pKExk" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/merill/~4/EgteUZaD94A" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://merill.net/2009/04/changing-the-default-schema-in-oracle/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		<feedburner:origLink>http://merill.net/2009/04/changing-the-default-schema-in-oracle/</feedburner:origLink></item>
		<item>
		<title>Date Ranges in Log Parser for EventLogs</title>
		<link>http://feedproxy.google.com/~r/merill/~3/vf2LwehVKdM/</link>
		<comments>http://merill.net/2009/04/date-ranges-in-log-parser-for-eventlogs/#comments</comments>
		<pubDate>Mon, 27 Apr 2009 00:22:11 +0000</pubDate>
		<dc:creator>merill</dc:creator>
				<category><![CDATA[Tips]]></category>
		<category><![CDATA[date]]></category>
		<category><![CDATA[logparser]]></category>
		<category><![CDATA[range]]></category>
		<category><![CDATA[timestamp]]></category>

		<guid isPermaLink="false">http://merill.net/2009/04/date-ranges-in-log-parser-for-eventlogs/</guid>
		<description><![CDATA[If you need to trawl through your production server event logs. Here’s a quick tip for extracting just the entries for a given date range using LogParser. BTW Visual LogParser is a must have, it even downloads and automatically installs the latest version of LogParer from MS.
SELECT&#160; TimeGenerated, SourceName, ComputerName, Message FROM C:\Downloads\May09-ErrorLog\AppLog\*.evt   [...]]]></description>
			<content:encoded><![CDATA[<p>If you need to trawl through your production server event logs. Here’s a quick tip for extracting just the entries for a given date range using LogParser. BTW <a href="http://www.codeplex.com/visuallogparser">Visual LogParser</a> is a must have, it even downloads and automatically installs the latest version of LogParer from MS.</p>
<p><font size="2" face="Courier New">SELECT&#160; TimeGenerated, SourceName, ComputerName, Message FROM C:\Downloads\May09-ErrorLog\AppLog\*.evt      <br />WHERE TimeGenerated BETWEEN timestamp(&#8217;04/04/2009&#8242;, &#8216;dd/MM/yyyy&#8217;) and timestamp(&#8217;06/04/2009&#8242;, &#8216;dd/MM/yyyy&#8217;)      <br />ORDER BY TimeGenerated desc </font></p>
<a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save?linkurl=http%3A%2F%2Fmerill.net%2F2009%2F04%2Fdate-ranges-in-log-parser-for-eventlogs%2F&amp;linkname=Date%20Ranges%20in%20Log%20Parser%20for%20EventLogs">Share/Save</a><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/merill?a=vf2LwehVKdM:eroQD8trj-Q:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/merill?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/merill?a=vf2LwehVKdM:eroQD8trj-Q:D7DqB2pKExk"><img src="http://feeds.feedburner.com/~ff/merill?i=vf2LwehVKdM:eroQD8trj-Q:D7DqB2pKExk" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/merill/~4/vf2LwehVKdM" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://merill.net/2009/04/date-ranges-in-log-parser-for-eventlogs/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://merill.net/2009/04/date-ranges-in-log-parser-for-eventlogs/</feedburner:origLink></item>
		<item>
		<title>Making your portable hard disk work with the XBox 360</title>
		<link>http://feedproxy.google.com/~r/merill/~3/hDzR2-IN0Sw/</link>
		<comments>http://merill.net/2009/04/making-your-portable-hard-disk-work-with-the-xbox-360/#comments</comments>
		<pubDate>Mon, 20 Apr 2009 00:12:12 +0000</pubDate>
		<dc:creator>merill</dc:creator>
				<category><![CDATA[Tips]]></category>
		<category><![CDATA[format]]></category>
		<category><![CDATA[hard disc]]></category>
		<category><![CDATA[portable]]></category>
		<category><![CDATA[xbox 360]]></category>

		<guid isPermaLink="false">http://merill.net/2009/04/making-your-portable-hard-disk-work-with-the-xbox-360/</guid>
		<description><![CDATA[I like using my XBox as a media center. But when I plugged in a portable HDD to the 360 but it didn’t show up as a disc. Didn’t work on the Samsung home theatre as well. A quick google and I figured out the disc was formatted as NTFS (right-click Properties on your drive [...]]]></description>
			<content:encoded><![CDATA[<p>I like using my XBox as a media center. But when I plugged in a portable HDD to the 360 but it didn’t show up as a disc. Didn’t work on the Samsung home theatre as well. A quick google and I figured out the disc was formatted as NTFS (right-click Properties on your drive to check) on which is not supported by the 360. </p>
<p>Okay so backed up the data and when I try to format as FAT32 there is no such option on the Explorer ‘Format’ dialog. It’s either NTFS or exFAT, couldn’t figure out if the 360 supported exFAT (should have tried) so went about trying to format from the command line. Which does have a switch for FAT32.</p>
<p>Unfortunately format.exe complains that the partition is too big. What I should not have done was to try a quick format. </p>
<p>Instead I went about deleting the partition as mentioned by several sites. There’s a good one built into Windows (Disk Management) that you can get through from ‘Computer Management’. So right-clicked on the external disc and did a ‘Delete Volume’. And then right-clicked and created a new volume. [NOTE: I think the whole delete and create a new volume can be skipped if you already have the partition in NTFS).</p>
<p>Next tried the format.exe again. Still fails complaining that the disc is too big. At whim tried formatting without the /Q (quick format) option. Worked fine.</p>
<p>Here’s how you would go about it (replace Q: with the drive letter of your portable disc).</p>
<p><font face="Courier New">C:\&gt;<strong>format Q: /FS:FAT32</strong> </font></p>
<a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save?linkurl=http%3A%2F%2Fmerill.net%2F2009%2F04%2Fmaking-your-portable-hard-disk-work-with-the-xbox-360%2F&amp;linkname=Making%20your%20portable%20hard%20disk%20work%20with%20the%20XBox%20360">Share/Save</a><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/merill?a=hDzR2-IN0Sw:1vp0KcvT9xc:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/merill?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/merill?a=hDzR2-IN0Sw:1vp0KcvT9xc:D7DqB2pKExk"><img src="http://feeds.feedburner.com/~ff/merill?i=hDzR2-IN0Sw:1vp0KcvT9xc:D7DqB2pKExk" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/merill/~4/hDzR2-IN0Sw" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://merill.net/2009/04/making-your-portable-hard-disk-work-with-the-xbox-360/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://merill.net/2009/04/making-your-portable-hard-disk-work-with-the-xbox-360/</feedburner:origLink></item>
		<item>
		<title>Show Folder Tree in Windows 7 Explorer</title>
		<link>http://feedproxy.google.com/~r/merill/~3/H1TIwv1EMt4/</link>
		<comments>http://merill.net/2009/04/show-folder-tree-in-windows-7-explorer/#comments</comments>
		<pubDate>Mon, 13 Apr 2009 21:41:38 +0000</pubDate>
		<dc:creator>merill</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://merill.net/2009/04/show-folder-tree-in-windows-7-explorer/</guid>
		<description><![CDATA[I spend a lot of my time switching between folders in Windows explorer and the Windows 7 explorer has been driving me nuts lately. 
Win7 (or at least the build I have) by default does not auto expand the tree view when you navigate between folders.
The result being you don’t see the usually tree hierarchy [...]]]></description>
			<content:encoded><![CDATA[<p>I spend a lot of my time switching between folders in Windows explorer and the Windows 7 explorer has been driving me nuts lately. </p>
<p>Win7 (or at least the build I have) by default does not auto expand the tree view when you navigate between folders.</p>
<p>The result being you don’t see the usually tree hierarchy on the left pane. Which makes it quite painful if you want to go up a few levels or see the other parent folders.<a href="http://merill.net/wp-content/uploads/2009/04/windows7explorer.png"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="Windows7-Explorer" border="0" alt="Windows7-Explorer" src="http://merill.net/wp-content/uploads/2009/04/windows7explorer-thumb.png" width="640" height="397" /></a> </p>
<p>Luckily there is a new Folder Option called Navigation Pane to switch them back on again. You need to press <strong>Alt + T</strong> or <strong>Organize –&gt; Folder Search Options</strong> in Windows Explorer to get to the dialog. <a href="http://merill.net/wp-content/uploads/2009/04/windows7folderoptions.png"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="Windows7-FolderOptions" border="0" alt="Windows7-FolderOptions" src="http://merill.net/wp-content/uploads/2009/04/windows7folderoptions-thumb.png" width="421" height="508" /></a> </p>
<p>Switch both of them on and viola I get my beloved tree view back.</p>
<p><a href="http://merill.net/wp-content/uploads/2009/04/windows7explorerexpanded.png"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="Windows7-Explorer-Expanded" border="0" alt="Windows7-Explorer-Expanded" src="http://merill.net/wp-content/uploads/2009/04/windows7explorerexpanded-thumb.png" width="640" height="395" /></a>&#160;</p>
<p> PS- Most of my <a href="http://www.uniqueworld.net">UW</a> <a href="http://www.sharepointblogs.com/radi/">colleagues</a> <a href="http://fernandof.wordpress.com/">use</a> <a href="http://www.ghisler.com/">other</a> <a href="http://www.gpsoft.com.au/Index.html">explorers</a> and didn’t have to feel this pain.   </p>
<a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save?linkurl=http%3A%2F%2Fmerill.net%2F2009%2F04%2Fshow-folder-tree-in-windows-7-explorer%2F&amp;linkname=Show%20Folder%20Tree%20in%20Windows%207%20Explorer">Share/Save</a><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/merill?a=H1TIwv1EMt4:1bfLvL_ulVc:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/merill?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/merill?a=H1TIwv1EMt4:1bfLvL_ulVc:D7DqB2pKExk"><img src="http://feeds.feedburner.com/~ff/merill?i=H1TIwv1EMt4:1bfLvL_ulVc:D7DqB2pKExk" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/merill/~4/H1TIwv1EMt4" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://merill.net/2009/04/show-folder-tree-in-windows-7-explorer/feed/</wfw:commentRss>
		<slash:comments>12</slash:comments>
		<feedburner:origLink>http://merill.net/2009/04/show-folder-tree-in-windows-7-explorer/</feedburner:origLink></item>
		<item>
		<title>Microsoft .NET Framework 3.5 SP1 breaks Microsoft CCF (Customer Care Framework)</title>
		<link>http://feedproxy.google.com/~r/merill/~3/e1ESiVUU0VY/</link>
		<comments>http://merill.net/2009/02/microsoft-net-framework-35-sp1-breaks-microsoft-ccf-customer-care-framework/#comments</comments>
		<pubDate>Thu, 26 Feb 2009 02:27:32 +0000</pubDate>
		<dc:creator>merill</dc:creator>
				<category><![CDATA[Tips]]></category>
		<category><![CDATA[ccf]]></category>
		<category><![CDATA[service pack]]></category>
		<category><![CDATA[wcf]]></category>

		<guid isPermaLink="false">http://merill.net/2009/02/microsoft-net-framework-35-sp1-breaks-microsoft-ccf-customer-care-framework/</guid>
		<description><![CDATA[So your seeing this exception in your WCF client application after installing SP1 on .NET Framework 3.5 
System.ServiceModel.Security.MessageSecurityException occurred Message=&#34;The HTTP request is unauthorized with client authentication scheme &#8216;Negotiate&#8217;. The authentication header received from the server was &#8216;Negotiate 
As described in this bug report Microsoft classifies this as a known issue, with the bug being [...]]]></description>
			<content:encoded><![CDATA[<p>So your seeing this exception in your WCF client application after installing SP1 on .NET Framework 3.5 </p>
<p><em>System.ServiceModel.Security.MessageSecurityException occurred Message=&quot;The HTTP request is unauthorized with client authentication scheme &#8216;Negotiate&#8217;. The authentication header received from the server was &#8216;Negotiate </em></p>
<p>As described in this <a href="https://connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx?FeedbackID=364077">bug report</a> Microsoft classifies this as a known issue, with the bug being resolved as ‘By Design’.</p>
<p>Your fix is to add an identity element to the WCF endpoint like this.</p>
<div>
<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, &#39;Courier New&#39;, courier, monospace; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"><span style="color: #0000ff">&lt;</span><span style="color: #800000">identity</span><span style="color: #0000ff">&gt;</span>
    <span style="color: #0000ff">&lt;</span><span style="color: #800000">userPrincipalName</span> <span style="color: #ff0000">value</span><span style="color: #0000ff">=&quot;WcfServiceAccount@domain&quot;</span> <span style="color: #0000ff">/&gt;</span>
<span style="color: #0000ff">&lt;/</span><span style="color: #800000">identity</span><span style="color: #0000ff">&gt;</span></pre>
</div>
<p>But the problem with CCF is that the url for some of the endpoints are read through code from a database and set through the proxy class. Now when you do this the identity from the config file does not flow through resulting in the same exception you see above.</p>
<p>One option is to uninstall the service pack on the client. This is not as easy as it seems because the the 3.5 service pack also updates assemblies in the 2.0 and 3.0 frameworks to their SP2 levels.</p>
<p>To get back to pre 3.5 SP1 you need to uninstall all the frameworks and re-install them again avoiding the 3.5 SP1. The exact steps to do this is outlined <a href="http://blogs.msdn.com/astebner/archive/2008/08/01/8803442.aspx">here</a> by Microsoft engineer, Aaron Stebner. </p>
<p>But what if you don’t have the luxury of walking all your end-users through the uninstall? A suggested fix from Microsoft (targeting CCF) is as follows:</p>
<ol>
<li>Set up a cNAME in DNS for the servername you are using in database urls.</li>
<li>Use setspn -a HOST/CNAME domain\apppooluser</li>
<li>Change all the database urls to this CNAME</li>
<li>Do an iisreset</li>
<li>Test</li>
</ol>
<p>For example if the database urls are <a href="http://ccfserver/">http://ccfserver/</a>&#8230;..</p>
<ol>
<li>Create a&#160; CNAME CCFALIAS in DNS</li>
<li>setspn -a HOST/CCFALIAS ccf\aspuser</li>
<li>Change all database urls to ccfalias</li>
<li>iisreset</li>
<li>Test if you reach /urls with this alias from web servers and from clients</li>
</ol>
<p>Be careful not to set HOST/CCFSERVER spn for aspuser. Note we are setting HOST/CCFALIAS spn which is CNAME for ccfserver in DNS. If by mistake you set host/ccfserver it can wreak havoc&#160; for Kerberos.</p>
<a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save?linkurl=http%3A%2F%2Fmerill.net%2F2009%2F02%2Fmicrosoft-net-framework-35-sp1-breaks-microsoft-ccf-customer-care-framework%2F&amp;linkname=Microsoft%20.NET%20Framework%203.5%20SP1%20breaks%20Microsoft%20CCF%20%28Customer%20Care%20Framework%29">Share/Save</a><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/merill?a=e1ESiVUU0VY:2EGBWMfbkqE:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/merill?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/merill?a=e1ESiVUU0VY:2EGBWMfbkqE:D7DqB2pKExk"><img src="http://feeds.feedburner.com/~ff/merill?i=e1ESiVUU0VY:2EGBWMfbkqE:D7DqB2pKExk" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/merill/~4/e1ESiVUU0VY" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://merill.net/2009/02/microsoft-net-framework-35-sp1-breaks-microsoft-ccf-customer-care-framework/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		<feedburner:origLink>http://merill.net/2009/02/microsoft-net-framework-35-sp1-breaks-microsoft-ccf-customer-care-framework/</feedburner:origLink></item>
	</channel>
</rss>
