<?xml version="1.0" encoding="utf-8"?>
<feed xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xml:lang="en-us" xmlns="http://www.w3.org/2005/Atom">
  <title>this.Pose() as Expert</title>
  <link rel="alternate" type="text/html" href="http://chrison.net/" />
  <link rel="self" href="http://chrison.net/SyndicationService.asmx/GetAtom" />
  <icon>favicon.ico</icon>
  <updated>2009-06-10T18:16:19.375+02:00</updated>
  <author>
    <name>Christoph Wille</name>
  </author>
  <subtitle />
  <id>http://chrison.net/</id>
  <generator uri="http://dasblog.info/" version="2.3.9074.18820">DasBlog</generator>
  <entry>
    <title>Note to Self - Command Processor / CompletionChar</title>
    <link rel="alternate" type="text/html" href="http://chrison.net/NoteToSelfCommandProcessorCompletionChar.aspx" />
    <id>http://chrison.net/PermaLink,guid,6772def6-858d-498a-8492-b8fb1a4951c1.aspx</id>
    <published>2009-06-09T10:29:22.984375+02:00</published>
    <updated>2009-06-09T10:29:22.984375+02:00</updated>
    <category term="this" label="this" scheme="http://chrison.net/CategoryView,category,this.aspx" />
    <author>
      <name>Christoph Wille</name>
    </author>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">
        <p>
        </p>
        <p>
Although I am reinstalling machines on such a regular basis, I keep forgetting enabling
tab completion for cmd.exe. Therefore I am putting a note to self in my blog...
</p>
        <p>
Where to define:
</p>
        <p>
          <img border="0" src="http://chrison.net/content/binary/commandprocessor_completionchar.png" />
        </p>
        <p>
How to do it automatically (copy / paste / save as .reg / double-click):
</p>
        <p>
          <font face="Courier New">Windows Registry Editor Version 5.00</font>
        </p>
        <p>
          <font face="Courier New">[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Command Processor]<br />
"CompletionChar"=dword:00000009</font>
        </p>
        <img width="0" height="0" src="http://chrison.net/aggbug.ashx?id=6772def6-858d-498a-8492-b8fb1a4951c1" />
      </div>
    </content>
  </entry>
  <entry>
    <title>File In Use - Are You Kidding Me?</title>
    <link rel="alternate" type="text/html" href="http://chrison.net/FileInUseAreYouKiddingMe.aspx" />
    <id>http://chrison.net/PermaLink,guid,a05a04f7-96ab-4433-8ba1-30961d335376.aspx</id>
    <published>2009-04-24T12:11:33.859+02:00</published>
    <updated>2009-04-24T12:14:15.75+02:00</updated>
    <category term="this" label="this" scheme="http://chrison.net/CategoryView,category,this.aspx" />
    <author>
      <name>Christoph Wille</name>
    </author>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">
        <p>
        </p>
        <p>
Downloaded SQL 2008 Trials to my local disk and wanted to move them to an external
harddisk:
</p>
        <p>
          <img border="0" src="http://chrison.net/content/binary/FileInUse_YouAreKidding.png" />
        </p>
        <p>
"The action can't be completed because the file is open in Microsoft SQL Server 2008"
- that leaves me slightly puzzled.
</p>
        <img width="0" height="0" src="http://chrison.net/aggbug.ashx?id=a05a04f7-96ab-4433-8ba1-30961d335376" />
      </div>
    </content>
  </entry>
  <entry>
    <title>Sharding in Subversion</title>
    <link rel="alternate" type="text/html" href="http://chrison.net/ShardingInSubversion.aspx" />
    <id>http://chrison.net/PermaLink,guid,64da7780-bd03-4e5b-add8-47ce5cc56c1c.aspx</id>
    <published>2009-04-19T08:34:11.937+02:00</published>
    <updated>2009-06-10T18:16:19.375+02:00</updated>
    <category term="Subversion" label="Subversion" scheme="http://chrison.net/CategoryView,category,Subversion.aspx" />
    <author>
      <name>Christoph Wille</name>
    </author>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">
        <p>
          <a href="http://subversion.tigris.org/svn_1.5_releasenotes.html#fsfs-sharding">Sharding</a> was
introduced for FSFS repositories in Subversion 1.5, but only now I moved
to a sharded repository (at time of this writing: Subversion 1.6.1). This meant -
as usual - a dump / create / load dance. Followed by the pack operation:
</p>
        <p>
          <font face="Courier New">svnadmin dump c:\subversion\sharpdevelop &gt; c:\sd.dump<br />
svnadmin create c:\subversion\sharpdevelop<br />
svnadmin load c:\subversion\sharpdevelop &lt; c:\sd.dump<br />
svnadmin pack c:\subversion\sharpdevelop</font>
        </p>
        <p>
Without svnadmin pack, you only get sharding. Executing svnadmin pack puts all the
shards together into a single file. This makes certain operations such as svnadmin
hotcopy way faster.
</p>
        <img width="0" height="0" src="http://chrison.net/aggbug.ashx?id=64da7780-bd03-4e5b-add8-47ce5cc56c1c" />
      </div>
    </content>
  </entry>
  <entry>
    <title>Novell Netware 6.5 SP8 in Virtual PC 2007</title>
    <link rel="alternate" type="text/html" href="http://chrison.net/NovellNetware65SP8InVirtualPC2007.aspx" />
    <id>http://chrison.net/PermaLink,guid,1ca23338-286d-4eb5-ae5a-3fc5bf3e7c08.aspx</id>
    <published>2009-04-17T12:52:28.6875+02:00</published>
    <updated>2009-04-17T12:52:28.6875+02:00</updated>
    <category term="Virtual PC" label="Virtual PC" scheme="http://chrison.net/CategoryView,category,VirtualPC.aspx" />
    <author>
      <name>Christoph Wille</name>
    </author>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">
        <p>
Don't ask why, but I needed an eDirectory setup - here is the proof (Novell Netware
running in VPC 2007 on Windows 7):
</p>
        <p>
          <img border="0" src="http://chrison.net/content/binary/netware65sp8_in_virtualpc2007.png" />
        </p>
        <p>
The only stumbling block is that the network card is not properly detected, but <a href="http://cvibes.net/computers/VirtualPC.html#nw65">this
trick still works</a>. The necessary driver is unsupported but lives in c:\nwserver\drivers\unsupdrv\
at this point of the installation process.
</p>
        <img width="0" height="0" src="http://chrison.net/aggbug.ashx?id=1ca23338-286d-4eb5-ae5a-3fc5bf3e7c08" />
      </div>
    </content>
  </entry>
  <entry>
    <title>Tech∙Days Defy All Challenges</title>
    <link rel="alternate" type="text/html" href="http://chrison.net/TechDaysDefyAllChallenges.aspx" />
    <id>http://chrison.net/PermaLink,guid,5367618d-6531-4358-9096-b814674770dd.aspx</id>
    <published>2009-04-01T21:32:23.515625+02:00</published>
    <updated>2009-04-01T21:32:23.515625+02:00</updated>
    <category term="this" label="this" scheme="http://chrison.net/CategoryView,category,this.aspx" />
    <category term="Training and Conferences" label="Training and Conferences" scheme="http://chrison.net/CategoryView,category,TrainingAndConferences.aspx" />
    <author>
      <name>Christoph Wille</name>
    </author>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">
        <p>
Wrapping up <a href="http://www.msfttechdays.com/">Tech∙Days</a> by posting the live
sessions I watched:
</p>
        <ul>
          <li>
DEV307 Starting Test Driven Development with Mock Objects    
</li>
          <li>
DEV320 Debugging managed code using WinDbg    
</li>
          <li>
OFC302 SharePoint Workflow for the Masses    
</li>
          <li>
OFC400 Enterprise SharePoint Workflow: Building and Managing a High-Performance Workflow
Environment    
</li>
          <li>
DEV300 ASP.NET Model-View-Controller: Separation of Concerns and Unit Testing    
</li>
          <li>
WIN300 Scripting the Microsoft .NET Framework Using Windows PowerShell    
</li>
          <li>
WEB401 In-depth MVC    
</li>
          <li>
DEV309 Automating Task and Other Productivity Improvements for Windows Presentation
Foundation Development 
</li>
        </ul>
        <img width="0" height="0" src="http://chrison.net/aggbug.ashx?id=5367618d-6531-4358-9096-b814674770dd" />
      </div>
    </content>
  </entry>
  <entry>
    <title>VSTS Error Message: A test can be opened only within a test project</title>
    <link rel="alternate" type="text/html" href="http://chrison.net/VSTSErrorMessageATestCanBeOpenedOnlyWithinATestProject.aspx" />
    <id>http://chrison.net/PermaLink,guid,5d2e2885-39cf-4d10-b447-c29a723eb6da.aspx</id>
    <published>2009-03-31T11:20:37.359+02:00</published>
    <updated>2009-03-31T11:23:55.296875+02:00</updated>
    <category term="Team System" label="Team System" scheme="http://chrison.net/CategoryView,category,TeamSystem.aspx" />
    <category term="Visual Studio" label="Visual Studio" scheme="http://chrison.net/CategoryView,category,VisualStudio.aspx" />
    <author>
      <name>Christoph Wille</name>
    </author>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">
        <p>
In a larger project, I got the following error message:
</p>
        <p>
          <img border="0" src="http://chrison.net/content/binary/vsts_cannot_load_orderdtest1.png" />
        </p>
        <p>
          <font face="Courier New">Visual Studio could not open the file "c:\TestAutomation\BuildVerificationTests.orderedtest"
because the file contains tests. A test can be opened only within a test project.
Add the file to a test project, add the test project to the open solution, and then
try again.</font>
        </p>
        <p>
Reason: The solution contains a service model (<a href="http://www.codeplex.com/servicefactory">Service
Factory</a>). Right-clicking and selecting Unload Project (on the service model) fixes
the problem with not being able to open the ordered test.
</p>
        <img width="0" height="0" src="http://chrison.net/aggbug.ashx?id=5d2e2885-39cf-4d10-b447-c29a723eb6da" />
      </div>
    </content>
  </entry>
  <entry>
    <title>TF42097: A work item could not be created due to a field error.</title>
    <link rel="alternate" type="text/html" href="http://chrison.net/TF42097AWorkItemCouldNotBeCreatedDueToAFieldError.aspx" />
    <id>http://chrison.net/PermaLink,guid,78ebfb41-8314-46b4-aab9-890c7dfaa58a.aspx</id>
    <published>2009-03-30T12:39:15.125+02:00</published>
    <updated>2009-03-30T12:39:15.125+02:00</updated>
    <category term="Team System" label="Team System" scheme="http://chrison.net/CategoryView,category,TeamSystem.aspx" />
    <category term="Visual Studio" label="Visual Studio" scheme="http://chrison.net/CategoryView,category,VisualStudio.aspx" />
    <author>
      <name>Christoph Wille</name>
    </author>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">
        <p>
If your Team Build informs you that "The following fields have incorrect values: ..."
you are most likely the victim of someone modifying the Bug work item type, adding
mandatory fields without default values. 
</p>
        <p>
Resolution: <em>&lt;SkipWorkItemCreation&gt;true&lt;/SkipWorkItemCreation&gt;</em></p>
        <img width="0" height="0" src="http://chrison.net/aggbug.ashx?id=78ebfb41-8314-46b4-aab9-890c7dfaa58a" />
      </div>
    </content>
  </entry>
  <entry>
    <title>SSIS Error of the Day - "Expected the TEXT token in data stream for bulk copy of text or image data."</title>
    <link rel="alternate" type="text/html" href="http://chrison.net/SSISErrorOfTheDayExpectedTheTEXTTokenInDataStreamForBulkCopyOfTextOrImageData.aspx" />
    <id>http://chrison.net/PermaLink,guid,41abc667-8feb-4e41-869f-58423f3c5b74.aspx</id>
    <published>2009-03-13T11:47:18.84375+01:00</published>
    <updated>2009-03-13T11:47:18.84375+01:00</updated>
    <category term="SQL Server" label="SQL Server" scheme="http://chrison.net/CategoryView,category,SQLServer.aspx" />
    <author>
      <name>Christoph Wille</name>
    </author>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">
        <p>
Importing table data is an easy enough task in SQL Server 2005 - but this week we
stumbled across this error message:
</p>
        <p>
          <font face="Courier New">Error 0xc0202009: Data Flow Task: SSIS Error Code DTS_E_OLEDBERROR. 
An OLE DB error has occurred. Error code: 0x80004005.<br />
An OLE DB record is available.  Source: "Microsoft SQL Native Client"  Hresult:
0x80004005  Description: "Expected the TEXT token in data stream for bulk copy
of text or image data.".<br />
 (SQL Server Import and Export Wizard)</font>
        </p>
        <p>
Funny thing is, there were only nvarchar(max) columns on the table, and no binary
columns whatsoever. A bit of searching and more staring at the table definition finally
pointed out us in the right direction - the target table has a computed field in it,
like so:
</p>
        <p>
[MyComputedColumn] AS<br />
 (<br />
  [dbo].[MyFunction](OtherColumnAsParameter)<br />
 ),
</p>
        <p>
Although we had told SSIS to &lt;ignore&gt; it, this error came up. The only work
around for SSIS: remove the computed field before doing the import.
</p>
        <p>
References:
</p>
        <p>
          <a href="http://www.eggheadcafe.com/conversation.aspx?messageid=30015415&amp;threadid=30015404">http://www.eggheadcafe.com/conversation.aspx?messageid=30015415&amp;threadid=30015404</a>
          <br />
          <a href="http://sqlug.be/forums/thread/821.aspx">http://sqlug.be/forums/thread/821.aspx</a>
        </p>
        <img width="0" height="0" src="http://chrison.net/aggbug.ashx?id=41abc667-8feb-4e41-869f-58423f3c5b74" />
      </div>
    </content>
  </entry>
  <entry>
    <title>TFS Alerts Editor - HowTo Make Alerts Stick (October 2008 Edition)</title>
    <link rel="alternate" type="text/html" href="http://chrison.net/TFSAlertsEditorHowToMakeAlertsStickOctober2008Edition.aspx" />
    <id>http://chrison.net/PermaLink,guid,e57ba5a6-626e-4b8b-9101-704bff5fb19a.aspx</id>
    <published>2009-03-13T11:38:47.421875+01:00</published>
    <updated>2009-03-13T11:38:47.421875+01:00</updated>
    <category term="Team System" label="Team System" scheme="http://chrison.net/CategoryView,category,TeamSystem.aspx" />
    <author>
      <name>Christoph Wille</name>
    </author>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">
        <p>
        </p>
        <p>
Adding an alert via the Team Foundation Power Tools Alerts Editor (October 2008) is
innocent enough:
</p>
        <p>
          <img border="0" src="http://chrison.net/content/binary/alertseditor1.png" />
        </p>
        <p>
If you close and reopen the Alerts Editors, the alert definiton is still there (in
the above screenshot for "A work item was assigned to me"). However, closing &amp;
reopening VS is a different thing - now your alert definition is gone - poof, vanished
mysteriously.
</p>
        <p>
It took a while and quite a bit of searching, but finally I found out why and made
a slight change:
</p>
        <p>
          <img border="0" src="http://chrison.net/content/binary/alertseditor2.png" />
        </p>
        <p>
The username that is pre-filled in in the "Send to:" field doesn't work - you have
to use your email address! That much for trusting defaults, but I'm more than happy
that it now works as advertised.
</p>
        <img width="0" height="0" src="http://chrison.net/aggbug.ashx?id=e57ba5a6-626e-4b8b-9101-704bff5fb19a" />
      </div>
    </content>
  </entry>
  <entry>
    <title>Latest ProSafe VPN Firewall Client on x64</title>
    <link rel="alternate" type="text/html" href="http://chrison.net/LatestProSafeVPNFirewallClientOnX64.aspx" />
    <id>http://chrison.net/PermaLink,guid,00384b7a-52d6-455e-bf51-7668159debb3.aspx</id>
    <published>2008-11-19T19:20:45.234+01:00</published>
    <updated>2008-11-19T19:23:23.203125+01:00</updated>
    <category term="Security" label="Security" scheme="http://chrison.net/CategoryView,category,Security.aspx" />
    <category term="this" label="this" scheme="http://chrison.net/CategoryView,category,this.aspx" />
    <category term="x64" label="x64" scheme="http://chrison.net/CategoryView,category,x64.aspx" />
    <author>
      <name>Christoph Wille</name>
    </author>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">
        <p>
        </p>
        <p>
No, this time it is not Microsoft - it is NetGear that is not providing an x64-capable
version of their software. The very latest VPN client software for a ProSafe router
(FVS338) doesn't work (install) on Vista x64: 
</p>
        <p>
          <img src="http://chrison.net/content/binary/netgearvpnclient_x64.png" border="0" />
        </p>
        <p>
I think it is needless to say that I am not amused. Who are you kidding in late 2008?
</p>
        <img width="0" height="0" src="http://chrison.net/aggbug.ashx?id=00384b7a-52d6-455e-bf51-7668159debb3" />
      </div>
    </content>
  </entry>
  <entry>
    <title>Windows 7 Sensor Development Kit inside VirtualBox</title>
    <link rel="alternate" type="text/html" href="http://chrison.net/Windows7SensorDevelopmentKitInsideVirtualBox.aspx" />
    <id>http://chrison.net/PermaLink,guid,83fd6006-51c8-4a4f-8e18-5d29f848c1b9.aspx</id>
    <published>2008-11-04T17:08:21.218+01:00</published>
    <updated>2008-11-04T17:16:17.53125+01:00</updated>
    <category term="this" label="this" scheme="http://chrison.net/CategoryView,category,this.aspx" />
    <category term="Training and Conferences" label="Training and Conferences" scheme="http://chrison.net/CategoryView,category,TrainingAndConferences.aspx" />
    <category term="Virtual PC" label="Virtual PC" scheme="http://chrison.net/CategoryView,category,VirtualPC.aspx" />
    <author>
      <name>Christoph Wille</name>
    </author>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">
        <p>
At PDC 2008 we got a nice Freescale JM badge board to test with Windows 7 and its
Sensor API. I definitely wanted to try it, but didn't have the luxury to re-pave a
machine just for this.
</p>
        <p>
VirtualPC doesn't support USB (a lack that annoys me immensely, not only now, but
also for Windows Mobile development), so I had to look for another option: <a href="http://www.virtualbox.org/">VirtualBox</a>.
It supports USB. I decided to give it a try (VMware was on my list too, but when I
saw their registration requirement for a trial version I balked).
</p>
        <p>
Installed the x64 version of VirtualBox, and inside it the 32 Bit version of Windows
7. First stumbling block - the virtual machine additions. In default mode, they refuse
to install on Windows 7 (too new). But you can help it see the "light":
</p>
        <p>
          <img src="http://chrison.net/content/binary/sensordev_vbox.png" border="0" />
        </p>
        <p>
The additions are required, otherwise no USB support (or easy network, but you could
work around that one via emulating a different NIC). 
</p>
        <p>
Next, plug in the sensor development kit badge and tell VirtualBox to route it into
the VM:
</p>
        <p>
          <img src="http://chrison.net/content/binary/sensordev_vbox_settings.png" border="0" />
        </p>
        <p>
The "CMX Systems USB HID sensor demo for HC9S08JM devices" is what you are looking
for. At least that's what Vista calls the device.
</p>
        <p>
Now all you need to do is boot up your Windows 7 VM again and install the SDK from
the supplied disc. Note that I achieved the best results by following the guideline at
the end of the document entitled "Sensor Development Kit Driver and Firmware.rtf",
to be found in the Documentation folder.
</p>
        <p>
When done, you can try the MSDN reader demo (nope, Marbles not going to work inside
a VM). As a proof, here is a screenshot of everything running in VirtualBox (yes,
the light sensor works):
</p>
        <p>
          <img src="http://chrison.net/content/binary/sensordev_vbox_running.jpg" border="0" />
        </p>
        <p>
By the way, there is a MSDN forum <a href="http://social.msdn.microsoft.com/Forums/en-US/windowssensorandlocationplatform/threads/">Development
with the Windows Sensor and Location Platform</a> just for this topic. If you don't
know what I was talking about, check out the session recording <a href="http://channel9.msdn.com/pdc2008/PC25/">Windows
7: The Sensor and Location Platform: Building Context-Aware Applications</a>.
</p>
        <img width="0" height="0" src="http://chrison.net/aggbug.ashx?id=83fd6006-51c8-4a4f-8e18-5d29f848c1b9" />
      </div>
    </content>
  </entry>
</feed>
