<?xml version="1.0" encoding="UTF-8"?>
<!--Generated by Squarespace Site Server v5.11.81 (http://www.squarespace.com/) on Wed, 15 Feb 2012 19:31:44 GMT--><rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd" xmlns:dc="http://purl.org/dc/elements/1.1/" version="2.0"><channel><title>Blog</title><link>http://ericphan.info/blog/</link><description></description><lastBuildDate>Mon, 23 Jan 2012 23:08:31 +0000</lastBuildDate><copyright></copyright><language>en-AU</language><generator>Squarespace Site Server v5.11.81 (http://www.squarespace.com/)</generator><item><title>CRM 2011 Outlook Client - Stuck in reboot loop installing SQL Express</title><category>CRM</category><category>CRM 2011</category><category>Stuff</category><dc:creator>Eric Phan</dc:creator><pubDate>Mon, 07 Nov 2011 22:43:25 +0000</pubDate><link>http://ericphan.info/blog/2011/11/8/crm-2011-outlook-client-stuck-in-reboot-loop-installing-sql.html</link><guid isPermaLink="false">534771:6139837:13631493</guid><description><![CDATA[<p>Ran into this issue today when trying to install the <a href="http://www.microsoft.com/download/en/details.aspx?id=27821" target="_blank">Microsoft Dynamics CRM 2011 for Microsoft Office Outlook</a> where the installer would constantly ask for a reboot when trying to install &ldquo;Microsoft SQL Server Express Edition 2008 (CRM)&rdquo;. No matter how many times you rebooted it would always ask to reboot again. Note: This only happens if you use the &ldquo;Offline&rdquo; functionality.</p>
<p><a href="http://ericphan.info/resource/Windows-Live-Writer-06026698e27d_84CE-?fileId=15018245"><img style="display: inline;" title="SNAGHTML26bc61" src="http://ericphan.info/resource/Windows-Live-Writer-06026698e27d_84CE-?fileId=15018246" alt="SNAGHTML26bc61" width="625" height="511" /></a></p>
<p>The solution to this is to manually install <a href="http://www.microsoft.com/sqlserver/en/us/editions/express.aspx" target="_blank">Microsoft SQL Server 2008 R2 Express</a> and call the instance &ldquo;CRM&rdquo;. This allows CRM to continue and skip over the installation of SQL Server Express.</p>
<p><a href="http://ericphan.info/resource/Windows-Live-Writer-06026698e27d_84CE-?fileId=15018247"><img style="display: inline;" title="SNAGHTML324320" src="http://ericphan.info/resource/Windows-Live-Writer-06026698e27d_84CE-?fileId=15018249" alt="SNAGHTML324320" width="820" height="615" /></a></p>
<p>Hope this helps others who get stuck with the install.</p>
]]></description><wfw:commentRss>http://ericphan.info/blog/rss-comments-entry-13631493.xml</wfw:commentRss></item><item><title>Use a custom TFS Work Item Query to keep track of what you&amp;rsquo;ve worked on today</title><category>Development</category><dc:creator>Eric Phan</dc:creator><pubDate>Thu, 22 Sep 2011 23:39:20 +0000</pubDate><link>http://ericphan.info/blog/2011/9/22/use-a-custom-tfs-work-item-query-to-keep-track-of-what-yours.html</link><guid isPermaLink="false">534771:6139837:12952870</guid><description><![CDATA[<p>At SSW we need to record timesheets for all the work that we do. Normally keeping track of what you’ve worked on is difficult and you end up writing “Worked on web stuff”</p>  <p>If you use TFS you can easily keep track of the Work Items that you’ve completed today</p>  <p><a href="http://ericphan.info/resource/Windows-Live-Writer-Use-a-custom-TFS-Work-Item-Query-to-keep_86B0-?fileId=14296441"><img style="margin: 0px; display: inline" title="SNAGHTML550b2d" alt="SNAGHTML550b2d" src="http://ericphan.info/resource/Windows-Live-Writer-Use-a-custom-TFS-Work-Item-Query-to-keep_86B0-?fileId=14296443" width="810" height="483" /></a></p>  <p>You can then just copy and paste the results into your timesheets</p>]]></description><wfw:commentRss>http://ericphan.info/blog/rss-comments-entry-12952870.xml</wfw:commentRss></item><item><title>Trimming down the size of your Outlook OST</title><category>OST</category><category>Outlook</category><category>Stuff</category><dc:creator>Eric Phan</dc:creator><pubDate>Tue, 14 Jun 2011 06:35:00 +0000</pubDate><link>http://ericphan.info/blog/2011/6/14/trimming-down-the-size-of-your-outlook-ost.html</link><guid isPermaLink="false">534771:6139837:11787920</guid><description><![CDATA[<p>Recently my Outlook 2010 OST grew to over 4GB of space which made Outlook slow. </p>  <p><a href="http://ericphan.info/resource/Windows-Live-Writer-Trimming-down-the-size-of-your-Outlook-O_DF15-?fileId=12699037" mce_href="http://ericphan.info/resource/Windows-Live-Writer-Trimming-down-the-size-of-your-Outlook-O_DF15-?fileId=12699037" rel="lightbox"><img style="display: inline" mce_style="display: inline;" title="image" alt="image" src="http://ericphan.info/resource/Windows-Live-Writer-Trimming-down-the-size-of-your-Outlook-O_DF15-?fileId=12699038" mce_src="http://ericphan.info/resource/Windows-Live-Writer-Trimming-down-the-size-of-your-Outlook-O_DF15-?fileId=12699038" width="480" height="22"></a></p>  <p>One of the biggest reasons why it’s this large is <a href="http://rules.ssw.com.au/Communication/RulesToBetterEmail/Pages/DontUseAutoArchive.aspx" mce_href="http://rules.ssw.com.au/Communication/RulesToBetterEmail/Pages/DontUseAutoArchive.aspx" rel="nofollow" target="_blank">SSW’s policy against auto-archiving</a> and never permanently deleting anything. As a result my Deleted Items folder was actually 2.1 GB!</p>  <p><a href="http://ericphan.info/resource/Windows-Live-Writer-Trimming-down-the-size-of-your-Outlook-O_DF15-?fileId=12699039" mce_href="http://ericphan.info/resource/Windows-Live-Writer-Trimming-down-the-size-of-your-Outlook-O_DF15-?fileId=12699039" rel="lightbox"><img style="display: inline" mce_style="display: inline;" title="SNAGHTML16e2d93" alt="SNAGHTML16e2d93" src="http://ericphan.info/resource/Windows-Live-Writer-Trimming-down-the-size-of-your-Outlook-O_DF15-?fileId=12699040" mce_src="http://ericphan.info/resource/Windows-Live-Writer-Trimming-down-the-size-of-your-Outlook-O_DF15-?fileId=12699040" width="408" height="348"></a></p>  <p>Now, I don’t actually need all of those items as they do span back about 4 years. So the goal is to only bring down the current year’s deleted items.</p>
]]></description><wfw:commentRss>http://ericphan.info/blog/rss-comments-entry-11787920.xml</wfw:commentRss></item><item><title>Adding configurable parameters to a Custom TFS 2010 Build Template &amp; Remote Compiling Source Code on Unix</title><category>Build Server</category><category>Continuous Integration</category><category>Development</category><category>TFS</category><category>Unix</category><category>Workflow</category><dc:creator>Eric Phan</dc:creator><pubDate>Tue, 31 May 2011 03:06:23 +0000</pubDate><link>http://ericphan.info/blog/2011/5/31/adding-configurable-parameters-to-a-custom-tfs-2010-build-te.html</link><guid isPermaLink="false">534771:6139837:11625002</guid><description><![CDATA[<p>I&rsquo;m currently working at a client that requires some source code to compile in Unix - as their major systems are Unix based with new development being done in .NET. The great thing about the project is that they <span style="text-decoration: line-through;">have</span>&nbsp;are trying to consolidate everything into TFS as the single source of truth (it&#8217;s mostly there).</p>
<p>To get the unix stuff going I&rsquo;ve customized the DefaultTemplate.xaml and added an extra InvokeProcess that calls a PowerShell script to copy files to Unix using <a class="offsite-link-inline" href="http://www.nber.org/pscp.html" target="_blank">Pscp </a>(for secure remote copy), compile code using <a class="offsite-link-inline" href="http://the.earth.li/~sgtatham/putty/0.53b/htmldoc/Chapter7.html" target="_blank">Plink </a>(allows remote command execution over SSH) and finally copy the Unix binaries back to the build server.</p>
<p><a rel="lightbox" href="http://ericphan.info/resource/Windows-Live-Writer-c6879c085525_B082-?fileId=12466082"><img style="background-image: none; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border: 0px;" title="image" src="http://ericphan.info/resource/Windows-Live-Writer-c6879c085525_B082-?fileId=12466087" border="0" alt="image" width="426" height="712" /></a></p>
<p>The PowerShell script takes in a number of arguments like remote server details, remote paths, usernames etc. So obviously we don&rsquo;t want these being set via the arguments property for the InvokeProcess activity because:</p>
<ul>
<li>Need to check out and modify the build template and checkin</li>
<li>The build workflow isn&#8217;t exactly the nicest thing to modify&nbsp;</li>
<li>Can&rsquo;t reuse the template for other environments (UAT and Production)</li>
<li>Can&#8217;t quickly make changes and queue a new build</li>
</ul>
<p>What you should do instead is to define new Arguments for your template.</p>
]]></description><wfw:commentRss>http://ericphan.info/blog/rss-comments-entry-11625002.xml</wfw:commentRss></item><item><title>Customizing Work Items in TFS 2010</title><category>Development</category><category>Process Template</category><category>TFS</category><category>WIT</category><dc:creator>Eric Phan</dc:creator><pubDate>Wed, 25 May 2011 02:32:07 +0000</pubDate><link>http://ericphan.info/blog/2011/5/25/customizing-work-items-in-tfs-2010.html</link><guid isPermaLink="false">534771:6139837:11567736</guid><description><![CDATA[<p>The Team Foundation Server Power Tools allow you to edit templates online or offline. In the online mode, changes you make are instantly visible when you save the changes so be careful. I would advise creating a dummy Team Project to do the customizations on first before rolling the changes out to actual Team Projects. The offline mode works by saving the work item definitions locally as XML and making changes to the XML file. You will need to import the XML to the Team Project to deploy the changes.</hp>  <p>So let’s take a look at adding a the following fields to Product Backlog Item WIT of the Scrum 1.0 template:</p>  <ul>   <li>Deployed in Version</li>    <li>Actual Hours</li>    <li>Estimated Hours</li> </ul>  <p><strong>Note</strong>: I know Actual/Estimates aren’t part of Scrum, but the higher-ups like to track it. It’s “Scrum-But” :)</p>  <p><b>1. </b><b>Tools | Process Editor | Work Item Types | Open WIT From Server</b></p>  <p><a href="http://ericphan.info/resource/Windows-Live-Writer-33aaf02a390a_AE75-?fileId=12378874" rel="lightbox"><img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="clip_image001" border="0" alt="clip_image001" src="http://ericphan.info/resource/Windows-Live-Writer-33aaf02a390a_AE75-?fileId=12378876" width="817" height="191" /></a></p>
]]></description><wfw:commentRss>http://ericphan.info/blog/rss-comments-entry-11567736.xml</wfw:commentRss></item><item><title>Customizing Process Templates and Work Items in Visual Studio 2010</title><category>Development</category><category>Process Template</category><category>TFS</category><category>WIT</category><dc:creator>Eric Phan</dc:creator><pubDate>Tue, 24 May 2011 16:30:00 +0000</pubDate><link>http://ericphan.info/blog/2011/5/25/customizing-process-templates-and-work-items-in-visual-studi.html</link><guid isPermaLink="false">534771:6139837:11567689</guid><description><![CDATA[<p>One of the best features of Team Foundation Server 2010 is the ability to customize and create your own Process Templates, Work Items and Fields. The first thing you’ll need is to install the <a href="http://visualstudiogallery.msdn.microsoft.com/c255a1e4-04ba-4f68-8f4e-cd473d6b971f">Team Foundation Server Power Tools</a>. This will give you a menu under <b>Tools | Process Editor</b> to customize the templates</p>  <p><a href="http://ericphan.info/resource/Windows-Live-Writer-Customizing-Process-Templates-and-Work-I_AD9B-?fileId=12378776" rel="lightbox"><img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="clip_image001" border="0" alt="clip_image001" src="http://ericphan.info/resource/Windows-Live-Writer-Customizing-Process-Templates-and-Work-I_AD9B-?fileId=12378777" width="607" height="194" /></a></p>  <p>From here you can start modifying the Work Item Types (WIT) in existing Team Projects or create new WITs.</p>  <p>The most frequent requests I get from TFS users is to:</p>  <ul>   <li>Add additional fields to a work item like “Deployed in Version”, “Actual Hours”, “Estimated Hours” or “Client” </li>    <li>Add additional steps in the workflow to capture progression through the life cycle e.g. In Testing, In UAT </li>    <li>Add new reports e.g. SLA metrics, Changelogs </li> </ul>  <p>I will cover doing each in a series of posts.</p>
]]></description><wfw:commentRss>http://ericphan.info/blog/rss-comments-entry-11567689.xml</wfw:commentRss></item><item><title>RE: Microsoft ASP.NET - Too many options</title><category>ASP.NET</category><category>Development</category><category>Microsoft</category><dc:creator>Eric Phan</dc:creator><pubDate>Fri, 06 May 2011 02:00:29 +0000</pubDate><link>http://ericphan.info/blog/2011/5/6/re-microsoft-aspnet-too-many-options.html</link><guid isPermaLink="false">534771:6139837:11376909</guid><description><![CDATA[<p>Repsonding to <a class="offsite-link-inline" href="blog.gfader.com" target="_blank">Peter Gfader&#8217;s</a> blog post about <a class="offsite-link-inline" href="http://blog.gfader.com/2011/05/microsoft-aspnet-too-many-options.html" target="_blank">Microsoft ASP.NET - Too many options</a></p>
<p><strong><span style="color: #262626;">I see WebMatrix as an entry level tool</span></strong><span style="color: #262626;"> to get people who don&rsquo;t necessary have a development background a quick way to build and customize websites (using the templates and editors) on the Microsoft platform. It lowers the barriers to entry because you have one lightweight tool (7MB + about 20 MB of dependencies) that can edit web pages and manage your SQL. <strong>If the user wants to do more than they will need to step up to the visual studio offerings like if they wanted debugging support</strong>. I think of it as a step up from Notepad :)</span></p>
<p><span style="color: #262626;">Not sure whether the express editions of Visual Studio were downloaded and used much as the site is a bit confusing with sightly too many product skus, and maybe this is why they made Web Matrix &ndash; to drive adoption of Microsoft Web technology for users who don&rsquo;t want to pay.</span></p>
<p><span style="color: #262626;">Too many &ldquo;Express&rdquo; offerings </span><a href="http://www.microsoft.com/express/Downloads/">http://www.microsoft.com/express/Downloads/</a></p>
<ul>
<li><span style="color: #262626;">Visual Basic 2010 Express</span></li>
<li><span style="color: #262626;">Visual C# 2010 Express</span></li>
<li><span style="color: #262626;">Visual C++ 2010 Express</span></li>
<li><span style="color: #262626;">Visual Web Developer 2010 Express </span></li>
<li><span style="color: #262626;">All - Offline Install ISO image file</span></li>
<li><span style="color: #262626;">Windows Phone Developer Tools</span></li>
<li><span style="color: #262626;">Microsoft Captions Language Interface Pack</span></li>
</ul>
<p><span style="color: #262626;">Peter is right in that Microsoft tends to suffer from too many offerings (e.g. LINQ 2 SQL &amp; EF, Microsoft Dynamics CRM/Great Plains/Axapta/Navision/SL) and a consolidation of the tools would make sense.</span></p>
<p><span style="color: #262626;"><a class="offsite-link-inline" href="http://www.physorg.com/news127404469.html" target="_blank">Too much choice is actually bad and can be mentally exhausting</a></span><span style="color: #262626;">&nbsp;</span></p>
]]></description><wfw:commentRss>http://ericphan.info/blog/rss-comments-entry-11376909.xml</wfw:commentRss></item><item><title>VSTO Addins break after Visual Studio 2010 SP1 install, can't find config file</title><category>Development</category><category>VSTO</category><category>Visual Studio 2010 SP1</category><dc:creator>Eric Phan</dc:creator><pubDate>Mon, 11 Apr 2011 07:36:00 +0000</pubDate><link>http://ericphan.info/blog/2011/4/11/vsto-addins-break-after-visual-studio-2010-sp1-install-cant.html</link><guid isPermaLink="false">534771:6139837:11114710</guid><description><![CDATA[<p>I ran into a breaking change with Visual Studio 2010 SP1 and VSTO at a client today. It seems there was a change that caused Office addins to look for their config files in the application&#8217;s folder instead of from the addin&#8217;s folder (e.g. Word.exe.config or Excel.exe.config). The result is all sorts of chaos with AppSettings, WCF service bindings and anything else that needs to be read from the app.config</p>
<p>The details are posted <a href="http://connect.microsoft.com/VisualStudio/feedback/details/653444/visual-studio-sp1-or-specifically-vsto-sp1-issue-with-config-file-location" target="_blank">here on connect - Visual Studio SP1 (or specifically VSTO sp1) Issue with config file location</a></p>
<p>The bug was caused by a change in the way VSTO 4.0 SP1 reads the Manifest value in the Windows Registry. Previously &#8220;<strong>[TARGETDIR]MyWordAddIn.vsto|vstolocal</strong>&#8220;&nbsp;was valid but the URI has changed in SP1</p>
<p><img src="http://ericphan.info/resource/registrykeys.jpg?fileId=11666916" border="0" alt="Registrykeys" width="600" height="200" /></p>
]]></description><wfw:commentRss>http://ericphan.info/blog/rss-comments-entry-11114710.xml</wfw:commentRss></item><item><title>The case of the Missing Team Project in VS 2010</title><category>Development</category><category>TFS</category><category>Team Projects</category><category>Visual Studio 2008</category><category>Visual Studio 2010</category><dc:creator>Eric Phan</dc:creator><pubDate>Thu, 27 Jan 2011 21:00:00 +0000</pubDate><link>http://ericphan.info/blog/2011/1/28/the-case-of-the-missing-team-project-in-vs-2010.html</link><guid isPermaLink="false">534771:6139837:10257479</guid><description><![CDATA[<p>Ran into a strange issue today when trying to upgrade a project from VS2008 to VS2010. We are running TFS 2010 and the Team Project appears fine in Team Explorer under VS2008 but is mysteriously missing from Team Explorer in VS2010. My windows account is also part of the Project Collection Administrators group.</p>  <p><a href="http://ericphan.info/resource/Windows-Live-Writer-Great-Extensions-for-Visual-Studio-2010_D35D-?fileId=10442325" rel="lightbox"><img style="background-image: none; border-bottom: 0px; border-left: 0px; margin: ; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="SNAGHTML3fab60" border="0" alt="SNAGHTML3fab60" src="http://ericphan.info/resource/Windows-Live-Writer-Great-Extensions-for-Visual-Studio-2010_D35D-?fileId=10442326" width="481" height="396" /></a></p>  <p><a href="http://ericphan.info/resource/Windows-Live-Writer-Great-Extensions-for-Visual-Studio-2010_D35D-?fileId=10442327" rel="lightbox"><img style="background-image: none; border-bottom: 0px; border-left: 0px; margin: ; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="SNAGHTML3c486f" border="0" alt="SNAGHTML3c486f" src="http://ericphan.info/resource/Windows-Live-Writer-Great-Extensions-for-Visual-Studio-2010_D35D-?fileId=10442328" width="643" height="402" /></a></p>
]]></description><wfw:commentRss>http://ericphan.info/blog/rss-comments-entry-10257479.xml</wfw:commentRss></item><item><title>TIP - Enable MVC 3 “Add | View…” to Orchard Code Generated Module projects</title><category>Development</category><category>MVC 3</category><category>Orchard</category><category>Razor</category><dc:creator>Eric Phan</dc:creator><pubDate>Sat, 22 Jan 2011 06:38:36 +0000</pubDate><link>http://ericphan.info/blog/2011/1/22/tip-enable-mvc-3-add-view-to-orchard-code-generated-module-p.html</link><guid isPermaLink="false">534771:6139837:10172361</guid><description><![CDATA[When you use the command line interface in Orchard to generate a module, it seems you cannot use the context menus to create views and you end up manually creating the *.cshtml files. That is when you right click on the project and select &#8220;Add&#8221; there&#8217;s no &#8220;View&#8230;&#8221; option.</p>

<p>This is because the project type isn&#8217;t being set correctly by the Orchard code generator.</p>
]]></description><wfw:commentRss>http://ericphan.info/blog/rss-comments-entry-10172361.xml</wfw:commentRss></item></channel></rss>
