<?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>Mon, 18 May 2009 06:25:43 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8</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>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>2</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>0</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>2</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>
		<item>
		<title>Another Dell XPS M1330 tip: External Display Flicker</title>
		<link>http://feedproxy.google.com/~r/merill/~3/wzoiZ1k7Jns/</link>
		<comments>http://merill.net/2009/02/another-dell-xps-m1330-tip-external-display-flicker/#comments</comments>
		<pubDate>Mon, 16 Feb 2009 20:57:26 +0000</pubDate>
		<dc:creator>merill</dc:creator>
				<category><![CDATA[Tips]]></category>
		<category><![CDATA[dell]]></category>
		<category><![CDATA[display]]></category>
		<category><![CDATA[xps]]></category>

		<guid isPermaLink="false">http://merill.net/2009/02/another-dell-xps-m1330-tip-external-display-flicker/</guid>
		<description><![CDATA[Although five of us have exact same setup, I am the only one at work to experience the external display flickering. I tried everything from downloading all the latest updates from the dell site, mucking around with all the display options to no avail. I even plugged in my XPS to a couple of my [...]]]></description>
			<content:encoded><![CDATA[<p>Although five of us have exact same setup, I am the only one at work to experience the external display flickering. I tried everything from downloading all the latest updates from the dell site, mucking around with all the display options to no avail. I even plugged in my XPS to a couple of my colleagues displays (in high hopes of stealing it if it worked) but no, it had to flicker for my laptop. Whereas they would happy go about their merry day with a crystal clear and crisp display while I looked on enviously.</p>
<p>I finally got fed up today when the flickering worsened and asked Google again, “<a href="http://www.azlyrics.com/lyrics/shaggy/whymelord.html">why me?</a>” and Google replied “<a href="http://www.azlyrics.com/lyrics/michaeljackson/youarenotalone.html">You are not alone</a>”, the only problem was that I had to go through Google cache as Dell seems to have pulled the plug on this <a href="http://cc.msnscache.com/cache.aspx?q=dell+xps+m1330+external+display+flicker&amp;d=75534569378169&amp;mkt=en-AU&amp;setlang=en-AU&amp;w=ffce015f,4067330a">particular page</a>.</p>
<p>Thankfully Brandon (aka GadgetPhreak) had found a workaround and posted it way back in Dec 07, here’s what he says.</p>
<blockquote><p>I purchased an XPS M1330 configured as follows:</p>
<ul>
<li><b>SYSTEM COLOR: </b>Tuxedo Black</li>
<li><b>PROCESSOR: </b>Intel® Core™ 2 Duo Processor T7500 (2.2GHz/800Mhz FSB, 4MB Cache)</li>
<li><b>OPERATING SYSTEM: </b>Genuine Windows Vista™ Business Edition</li>
<li><b>LCD AND CAMERA: </b>Slim and Light LED Display with VGA Webcam</li>
<li><b>MEMORY: </b>3GB Shared Dual Channel DDR2 at 667MHz</li>
<li><b>HARD DRIVE: </b>Speed: 160GB SATA Hard Drive (7200RPM)</li>
<li><b>INTERNAL OPTICAL DRIVE: </b>CD/DVD burner (DVD+/-RW Drive)</li>
<li><b>VIDEO CARD: </b>128MB NVIDIA® GeForce™ 8400M GS</li>
<li><b>WIRELESS CARDS: </b>Intel Next-Gen Wireless-N Mini-card</li>
<li><b>BLUETOOTH AND WIRELESS USB: </b>Built-in Bluetooth capability (2.0 EDR)</li>
<li><b>BATTERY OPTIONS: </b>6 cell Primary Battery and 9 cell additional Lithium Ion Battery</li>
<li><b>SOUND OPTIONS: </b>ExpressCard Sound Blaster X-Fi® Xtreme Audio Sound Card</li>
<li><b>FINGERPRINT SCANNER: </b>Biometric Fingerprint Reader</li>
</ul>
<p>I attempted to connect it to the same external monitor used with my XPS 1210 (a 20&quot; Viewsonic VX2025wm LCD with a native resolution of 1680&#215;1050) and where I used to get a crisp, clean, flicker-free image with my M1210, I now get a lot of screen flicker.</p>
<p>I did some research and found someone running a similar type of LCD who had better luck with using an HDMI to DVI-D adapter and ran it into the DVI input on his monitor.&#160; However, that didn&#8217;t work for me.</p>
<p>In trouble shooting this I found something interesting, when I remove AC power to my laptop while connected to the Viewsonic, the flickering stops.&#160; When I reconnect it the flickering starts up again.&#160; This is true regardless of what resolution I am running on either the laptop or Viewsonic.&#160; I went through the advanced power settings and tried looking for differences for when the AC is plugged in vs. when it&#8217;s running on battery.&#160; I also tried re-installing video drivers, as well as the latest Nvidia drivers from Dell downloads.&#160; Nothing has resolved this yet.</p>
<p>Suggestions? </p>
<p>Thanks in advance,</p>
<p>Branden</p>
<p>&#160;</p>
</blockquote>
<p>And behold I pulled out my power cable and the flickering stopped! Now I’m off to customer support to see if I can get an HDMI to DVI cable <img src='http://merill.net/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save?linkurl=http%3A%2F%2Fmerill.net%2F2009%2F02%2Fanother-dell-xps-m1330-tip-external-display-flicker%2F&amp;linkname=Another%20Dell%20XPS%20M1330%20tip%3A%20External%20Display%20Flicker">Share/Save</a><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/merill?a=wzoiZ1k7Jns:eT7NHf8ZxS4:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/merill?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/merill?a=wzoiZ1k7Jns:eT7NHf8ZxS4:D7DqB2pKExk"><img src="http://feeds.feedburner.com/~ff/merill?i=wzoiZ1k7Jns:eT7NHf8ZxS4:D7DqB2pKExk" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/merill/~4/wzoiZ1k7Jns" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://merill.net/2009/02/another-dell-xps-m1330-tip-external-display-flicker/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://merill.net/2009/02/another-dell-xps-m1330-tip-external-display-flicker/</feedburner:origLink></item>
		<item>
		<title>Windows 7: New Keyboard Shortcuts</title>
		<link>http://feedproxy.google.com/~r/merill/~3/rrfjxkghqg4/</link>
		<comments>http://merill.net/2009/02/windows-7-new-keyboard-shortcuts/#comments</comments>
		<pubDate>Thu, 12 Feb 2009 20:39:26 +0000</pubDate>
		<dc:creator>merill</dc:creator>
				<category><![CDATA[Tips]]></category>
		<category><![CDATA[shortcuts]]></category>
		<category><![CDATA[windows 7]]></category>

		<guid isPermaLink="false">http://merill.net/2009/02/windows-7-new-keyboard-shortcuts/</guid>
		<description><![CDATA[There are quite a few new keyboard shortcuts in Windows 7 and some of them are a godsend when working on a multi-monitor setup. I can finally retire UltraMon just to get a keyboard shortcut for switching windows between monitors.
There are new shortcuts for maximizing, restoring and minimizing windows as well. I will now be [...]]]></description>
			<content:encoded><![CDATA[<p>There are quite a few new keyboard shortcuts in Windows 7 and some of them are a godsend when working on a multi-monitor setup. I can finally retire <a href="http://www.realtimesoft.com/ultramon/">UltraMon</a> just to get a keyboard shortcut for switching windows between monitors.</p>
<p>There are new shortcuts for maximizing, restoring and minimizing windows as well. I will now be retiring an old keyboard shortcut that I’ve been using since Windows 3.1 (if you didn’t know Alt+Space, X for maximizing and Alt+Space, R for restore and Alt+Space, N for minimize).</p>
<p>Here’s a full list of the new keyboard shortcuts from <a href="http://technet.microsoft.com/en-us/magazine/dd451012.aspx">TechNet</a>, I couldn’t get the <strong>Win+(+/-)</strong> Zoom working though.</p>
<p>Windows 7 beta 1 includes some handy new shortcut key combinations that allow you to navigate and manage the Windows workspace more efficiently. Here are 10 new Windows 7 shortcuts that will help you speed up your workflow (“Win” means the Windows Key):</p>
<p><strong>Win+Home: </strong>Clear all but the active window    <br /><strong>Win+Space: </strong>All windows become transparent so you can see through to the desktop    <br /><strong>Win+Up arrow:</strong> Maximize the active window    <br /><strong>Win+Down arrow: </strong>Minimize the active window or restore the window if it&#8217;s maximized    <br /><strong>Win+Left/Right arrows: </strong>Dock the active window to each side of the monitor    <br /><strong>Win+Shift+Left/Right arrows:</strong> If you&#8217;ve got dual monitors, this will move the active window to the adjacent monitor    <br /><strong>Win+T:</strong> Shift focus to and scroll through items on the taskbar    <br /><strong>Win+P: </strong>Adjust presentation settings for your display    <br /><strong>Win+(+/-):</strong> Zoom in/out    <br /><strong>Shift+Click a taskbar item: </strong>Open a new instance of that particular application</p>
<a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save?linkurl=http%3A%2F%2Fmerill.net%2F2009%2F02%2Fwindows-7-new-keyboard-shortcuts%2F&amp;linkname=Windows%207%3A%20New%20Keyboard%20Shortcuts">Share/Save</a><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/merill?a=rrfjxkghqg4:2ywDAwqxUP0:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/merill?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/merill?a=rrfjxkghqg4:2ywDAwqxUP0:D7DqB2pKExk"><img src="http://feeds.feedburner.com/~ff/merill?i=rrfjxkghqg4:2ywDAwqxUP0:D7DqB2pKExk" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/merill/~4/rrfjxkghqg4" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://merill.net/2009/02/windows-7-new-keyboard-shortcuts/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		<feedburner:origLink>http://merill.net/2009/02/windows-7-new-keyboard-shortcuts/</feedburner:origLink></item>
		<item>
		<title>Windows 7 beta and the beta nVidia Driver</title>
		<link>http://feedproxy.google.com/~r/merill/~3/H039fs4Dk_E/</link>
		<comments>http://merill.net/2009/02/windows-7-beta-and-the-beta-nvidia-driver/#comments</comments>
		<pubDate>Mon, 09 Feb 2009 21:59:58 +0000</pubDate>
		<dc:creator>merill</dc:creator>
				<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[nvidia]]></category>
		<category><![CDATA[windows 7]]></category>

		<guid isPermaLink="false">http://merill.net/2009/02/windows-7-beta-and-the-beta-nvidia-driver/</guid>
		<description><![CDATA[Two words: Don’t install
This is what nVidia says and you typically get it through Windows Update. I suffered with the title bar going missing and ugly black blocks on my desktop for a week before I figured that the nVidia beta drivers were to blame. It looks like others too are having the same problem.
It [...]]]></description>
			<content:encoded><![CDATA[<p>Two words: Don’t install</p>
<p>This is what <a href="http://www.nvidia.com/object/windows_7.html">nVidia says</a> and you typically get it through Windows Update. I suffered with the title bar going missing and ugly black blocks on my desktop for a week before I figured that the nVidia beta drivers were to blame. It looks like others too are having the <a href="http://stevencwong.spaces.live.com/Blog/cns!4320F28E64229E18!998.entry">same problem</a>.</p>
<p>It appears on Windows Update as: <em>NVIDIA driver update for NVIDIA GeForce 8400M GS (Prerelease – WDDM 1.1) Optional</em></p>
<p>If you already installed it you can either Rollback the Update:</p>
<ol>
<li>Start-&gt; type in ‘Device Manager’ and open it</li>
<li>Expand the Display adapters node</li>
<li>Double-click the NVIDIA node</li>
<li>On the Driver tab click ‘Roll Back Driver’</li>
</ol>
<p>Or you could uninstall the driver</p>
<ol>
<li>Start –&gt; type in ‘Programs’ and launch ‘Add or remove programs’</li>
<li>In the search box (top right) type in ‘nvidia’</li>
<li>Right-click and uninstall the ‘NVIDIA Drivers’ </li>
</ol>
<p>After one (sometimes two) re-boots you should be all set. </p>
<a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save?linkurl=http%3A%2F%2Fmerill.net%2F2009%2F02%2Fwindows-7-beta-and-the-beta-nvidia-driver%2F&amp;linkname=Windows%207%20beta%20and%20the%20beta%20nVidia%20Driver">Share/Save</a><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/merill?a=H039fs4Dk_E:STgWl7myEPo:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/merill?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/merill?a=H039fs4Dk_E:STgWl7myEPo:D7DqB2pKExk"><img src="http://feeds.feedburner.com/~ff/merill?i=H039fs4Dk_E:STgWl7myEPo:D7DqB2pKExk" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/merill/~4/H039fs4Dk_E" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://merill.net/2009/02/windows-7-beta-and-the-beta-nvidia-driver/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		<feedburner:origLink>http://merill.net/2009/02/windows-7-beta-and-the-beta-nvidia-driver/</feedburner:origLink></item>
	</channel>
</rss>
