<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.msdn.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Hakan Eskici</title><link>http://blogs.msdn.com/b/hakane/</link><description /><dc:language>en-US</dc:language><generator>Telligent Evolution Platform Developer Build (Build: 5.6.50428.7875)</generator><item><title>Sample Script to Enable New Features in Upgraded Team Projects (TFS 2010 RTM)</title><link>http://blogs.msdn.com/b/hakane/archive/2010/04/27/sample-script-to-enable-new-features-in-upgraded-team-projects-tfs-2010-rtm.aspx</link><pubDate>Tue, 27 Apr 2010 17:40:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10003339</guid><dc:creator>Hakan Eskici</dc:creator><slash:comments>8</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.msdn.com/b/hakane/rsscomments.aspx?WeblogPostID=10003339</wfw:commentRss><comments>http://blogs.msdn.com/b/hakane/archive/2010/04/27/sample-script-to-enable-new-features-in-upgraded-team-projects-tfs-2010-rtm.aspx#comments</comments><description>&lt;p&gt;&lt;font color="#ff0000"&gt;&lt;strong&gt;Important&lt;/strong&gt;: The instructions in this post only apply to the &lt;strong&gt;RTM &lt;/strong&gt;version of Team Foundation Server 2010. For older versions, see &lt;a href="http://blogs.msdn.com/hakane/archive/2010/03/11/sample-script-to-enable-new-features-in-upgraded-team-projects-tfs-2010-rc.aspx"&gt;RC&lt;/a&gt;&lt;/font&gt;&lt;font color="#ff0000"&gt;, &lt;a href="http://blogs.msdn.com/hakane/archive/2009/10/19/sample-script-to-enable-new-features-in-upgraded-team-projects-tfs-2010-beta2.aspx"&gt;Beta2&lt;/a&gt;, or &lt;a href="http://blogs.msdn.com/hakane/archive/2009/05/20/sample-script-to-enable-new-features-in-upgraded-team-projects-tfs-2010-beta1.aspx"&gt;Beta1&lt;/a&gt;.&lt;/font&gt;&lt;/p&gt;  &lt;h4&gt;Introduction&lt;/h4&gt;  &lt;p&gt;When you upgrade your existing Team Foundation Server to version 2010, upgraded team projects will work as before. However, you need to make some manual changes to these team projects if you want to enable the following features: &lt;/p&gt;  &lt;ul&gt;   &lt;li&gt;Test Case Management &lt;/li&gt;    &lt;li&gt;Agile Planning Workbooks &lt;/li&gt;    &lt;li&gt;Lab Management &lt;/li&gt;    &lt;li&gt;Dashboards &lt;/li&gt; &lt;/ul&gt;  &lt;p&gt;The guidance documents that explain how to update your upgraded Team Projects is now available at MSDN:&lt;/p&gt;  &lt;div style="border-bottom: #cccccc 1px solid; border-left: #cccccc 1px solid; background-color: #fff; border-top: #cccccc 1px solid; border-right: #cccccc 1px solid"&gt;   &lt;blockquote&gt;     &lt;table border="0"&gt;&lt;tbody&gt;         &lt;tr&gt;           &lt;td valign="top" width="150" align="left"&gt;&amp;#160;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="MSDN Library" border="0" alt="MSDN Library" src="http://blogs.msdn.com/blogfiles/hakane/WindowsLiveWriter/SampleScripttoEnableNewFeaturesinUpgrade_C03B/msdn_8.png" width="117" height="43" /&gt; &lt;/td&gt;            &lt;td&gt;&lt;strong&gt;               &lt;h3 style="color: #3f529c"&gt;Updating an Upgraded Team Project to Access New Features&lt;/h3&gt;             &lt;/strong&gt;              &lt;p&gt;&lt;a title="http://msdn.microsoft.com/en-us/library/ff432837(v=VS.100).aspx" href="http://msdn.microsoft.com/en-us/library/ff432837(v=VS.100).aspx"&gt;http://msdn.microsoft.com/en-us/library/ff432837(v=VS.100).aspx&lt;/a&gt;&lt;/p&gt;           &lt;/td&gt;         &lt;/tr&gt;       &lt;/tbody&gt;&lt;/table&gt;   &lt;/blockquote&gt; &lt;/div&gt;  &lt;p&gt;In addition to the official guidance documents, a sample script is also available to help you automate some of these steps if you were using a non-modified Agile 4.2 process template before the server upgrade.&lt;/p&gt;  &lt;h4&gt;Summary of Required Changes&lt;/h4&gt;  &lt;p&gt;Refer to the table below for a summary of the required changes to enable the new features for upgraded team projects. Note that these changes are only necessary for the team projects that existed before the upgrade. If you are creating new team projects, all of these features are enabled by default. &lt;/p&gt;  &lt;table border="1" cellspacing="0" cellpadding="2" width="606"&gt;&lt;tbody&gt;     &lt;tr&gt;       &lt;td valign="top" width="200"&gt;&lt;strong&gt;Feature&lt;/strong&gt;&lt;/td&gt;        &lt;td valign="top" width="404"&gt;&lt;strong&gt;Requirements&lt;/strong&gt;&lt;/td&gt;     &lt;/tr&gt;      &lt;tr&gt;       &lt;td valign="top" width="200"&gt;Test Case Management&lt;/td&gt;        &lt;td valign="top" width="404"&gt;         &lt;ul&gt;           &lt;li&gt;Add Test Case and Shared Step work item types (&lt;font color="#ff0000"&gt;*&lt;/font&gt;) &lt;/li&gt;            &lt;li&gt;Update existing Bug and Scenario work item types (&lt;font color="#ff0000"&gt;*&lt;/font&gt;) &lt;/li&gt;            &lt;li&gt;Add new link types (&lt;font color="#ff0000"&gt;*&lt;/font&gt;) &lt;/li&gt;            &lt;li&gt;Add work item categories (&lt;font color="#ff0000"&gt;*&lt;/font&gt;) &lt;/li&gt;         &lt;/ul&gt;       &lt;/td&gt;     &lt;/tr&gt;      &lt;tr&gt;       &lt;td valign="top" width="200"&gt;Agile Planning Workbooks&lt;/td&gt;        &lt;td valign="top" width="404"&gt;         &lt;ul&gt;           &lt;li&gt;Update existing Task and Scenario work item types (&lt;font color="#ff0000"&gt;*&lt;/font&gt;) &lt;/li&gt;            &lt;li&gt;Create iteration and product backlog queries &lt;/li&gt;            &lt;li&gt;Bind workbooks against the queries &lt;/li&gt;            &lt;li&gt;Modify workbook document properties &lt;/li&gt;         &lt;/ul&gt;       &lt;/td&gt;     &lt;/tr&gt;      &lt;tr&gt;       &lt;td valign="top" width="200"&gt;Lab Management&lt;/td&gt;        &lt;td valign="top" width="404"&gt;         &lt;ul&gt;           &lt;li&gt;Grant lab management permissions to user groups &lt;/li&gt;            &lt;li&gt;Provision lab resources &lt;/li&gt;         &lt;/ul&gt;       &lt;/td&gt;     &lt;/tr&gt;      &lt;tr&gt;       &lt;td valign="top" width="200"&gt;Reports&lt;/td&gt;        &lt;td valign="top" width="404"&gt;         &lt;ul&gt;           &lt;li&gt;Update your existing reports to work against the new warehouse &lt;/li&gt;         &lt;/ul&gt;       &lt;/td&gt;     &lt;/tr&gt;      &lt;tr&gt;       &lt;td valign="top" width="200"&gt;Dashboards&lt;/td&gt;        &lt;td valign="top" width="404"&gt;         &lt;ul&gt;           &lt;li&gt;Run the Team Project Batch File command &lt;/li&gt;         &lt;/ul&gt;       &lt;/td&gt;     &lt;/tr&gt;   &lt;/tbody&gt;&lt;/table&gt;  &lt;p&gt;(&lt;font color="#ff0000"&gt;*&lt;/font&gt;): You can use the sample script attached to this article to make these changes marked with (*) in the table above.&lt;/p&gt;  &lt;p&gt;You can use the sample script as is, if:&lt;/p&gt;  &lt;ul&gt;   &lt;li&gt;You are using the RTM (English) version of Team Foundation Server 2010 &lt;/li&gt;    &lt;li&gt;Your team project was created with the English language version of “MSF for Agile Software Development - v4.2” process template before you upgraded your Team Foundation Server &lt;/li&gt;    &lt;li&gt;No modifications have been made to the work item type definitions on your team project before or after the upgrade &lt;/li&gt;    &lt;li&gt;You are running the script on an English operating system that has Visual Studio Team Explorer 2010 RTM &lt;/li&gt; &lt;/ul&gt;  &lt;p&gt;You need to either modify the sample script, or create your own if: &lt;/p&gt;  &lt;ul&gt;   &lt;li&gt;Your team project was created with a process template other than “MSF for Agile Software Development v4.2” (English) &lt;/li&gt;    &lt;li&gt;You have made modifications to the out of box work item type definitions on your team project &lt;/li&gt;    &lt;li&gt;Your team project already has an existing Test Case work item type &lt;/li&gt;    &lt;li&gt;You want to use the existing “Repro Steps” field on your Bug work item type &lt;/li&gt;    &lt;li&gt;You are using a non-English language version of Team Foundation Server &lt;/li&gt; &lt;/ul&gt;  &lt;h4&gt;Sample Script&lt;/h4&gt;  &lt;p&gt;The attached ZIP file contains the script and updated MSF for Agile 4.2 work item type definitions. You must be a project collection administrator to run this script. The script requires the &lt;font face="Courier New"&gt;witadmin.exe&lt;/font&gt; utility which is installed by Team Explorer and Team Foundation Server. &lt;/p&gt;  &lt;p&gt;To use the script, download and extract it to a local directory such as C:\Upgrade. Before you run the script, open “&lt;font face="Courier New"&gt;EnableFeatures.bat&lt;/font&gt;” in a text editor and complete the configuration by specifying values for the following: &lt;/p&gt;  &lt;ul&gt;   &lt;li&gt;Team Foundation Server URL &lt;/li&gt;    &lt;li&gt;Name of the team project collection &lt;/li&gt;    &lt;li&gt;Name of the team project &lt;/li&gt;    &lt;li&gt;Path to &lt;font face="Courier New"&gt;witadmin.exe&lt;/font&gt; utility &lt;/li&gt;    &lt;li&gt;Set &lt;font face="Courier New"&gt;ConfigComplete = 1&lt;/font&gt; to indicate that you’ve completed the configuration &lt;/li&gt; &lt;/ul&gt;  &lt;p&gt;&lt;font color="#ff0000"&gt;&lt;strong&gt;Important&lt;/strong&gt;: This script will only work against “unmodified” team projects created with “MSF for Agile Software Development – v4.2” process templates on the RTM version of Team Foundation Server 2010.&lt;/font&gt;&lt;/p&gt;  &lt;h4&gt;What does the script do?&lt;/h4&gt;  &lt;p&gt;The script is a simple batch file that uses the witadmin.exe utility to make the following changes: &lt;/p&gt;  &lt;ul&gt;   &lt;li&gt;Saves a backup of your existing Bug, Task and Scenario work item types &lt;/li&gt;    &lt;li&gt;Adds new link types (Test Case / Shared Steps and Tests / Tested By) &lt;/li&gt;    &lt;li&gt;Adds new work item types (Test Case and Shared Step) &lt;/li&gt;    &lt;li&gt;Overwrites Bug, Task and Scenario work item types &lt;/li&gt;    &lt;li&gt;Adds work item categories &lt;/li&gt; &lt;/ul&gt;  &lt;h4&gt;Questions?&lt;/h4&gt;  &lt;p&gt;Take a look at the following blog post for frequently asked questions:&lt;/p&gt;  &lt;ul&gt;   &lt;li&gt;&lt;a title="FAQ on the Sample Script to Enable New Features in Upgraded Team Projects" href="http://blogs.msdn.com/hakane/archive/2009/05/20/faq-on-the-sample-script-to-enable-new-features-in-upgraded-team-projects.aspx"&gt;FAQ on the Sample Script to Enable New Features in Upgraded Team Projects&lt;/a&gt; &lt;/li&gt; &lt;/ul&gt;  &lt;table border="0" cellspacing="2" cellpadding="2" width="400"&gt;&lt;tbody&gt;     &lt;tr&gt;       &lt;td valign="top" width="60"&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Components-PostAttachments/00-10-00-33-39/SampleScript_2800_RTM_2900_.zip"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="Download the Sample Script" src="http://blogs.msdn.com/blogfiles/hakane/WindowsLiveWriter/SampleScripttoenablenewfeaturesinupgrade_7DE0/image_thumb.png" width="45" height="45" mce_src="http://blogs.msdn.com/blogfiles/hakane/WindowsLiveWriter/SampleScripttoenablenewfeaturesinupgrade_7DE0/image_thumb.png" /&gt;&lt;/a&gt; &lt;/td&gt;        &lt;td valign="top" width="340"&gt;&lt;a href="http://blogs.msdn.com/hakane/attachment/10003339.ashx"&gt;           &lt;br /&gt;&lt;strong&gt;Download the Sample Script&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;     &lt;/tr&gt;   &lt;/tbody&gt;&lt;/table&gt;  &lt;p&gt;For any other questions or comments, feel free to &lt;a href="http://blogs.msdn.com/hakane/contact.aspx"&gt;contact me&lt;/a&gt;.&lt;/p&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10003339" width="1" height="1"&gt;</description><enclosure url="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-components-postattachments/00-10-00-33-39/SampleScript_2800_RTM_2900_.zip" length="19398" type="application/x-zip-compressed" /><category domain="http://blogs.msdn.com/b/hakane/archive/tags/TFS/">TFS</category><category domain="http://blogs.msdn.com/b/hakane/archive/tags/VSTS2010/">VSTS2010</category><category domain="http://blogs.msdn.com/b/hakane/archive/tags/TFSUpgrade/">TFSUpgrade</category></item><item><title>Sample Script to Enable New Features in Upgraded Team Projects (TFS 2010 RC)</title><link>http://blogs.msdn.com/b/hakane/archive/2010/03/11/sample-script-to-enable-new-features-in-upgraded-team-projects-tfs-2010-rc.aspx</link><pubDate>Thu, 11 Mar 2010 18:05:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9977007</guid><dc:creator>Hakan Eskici</dc:creator><slash:comments>0</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.msdn.com/b/hakane/rsscomments.aspx?WeblogPostID=9977007</wfw:commentRss><comments>http://blogs.msdn.com/b/hakane/archive/2010/03/11/sample-script-to-enable-new-features-in-upgraded-team-projects-tfs-2010-rc.aspx#comments</comments><description>&lt;p&gt;&lt;font color="#ff0000"&gt;&lt;strong&gt;Important&lt;/strong&gt;: The instructions in this post only apply to the &lt;strong&gt;RC &lt;/strong&gt;version of Team Foundation Server 2010. For TFS 2010 &lt;strong&gt;Beta2&lt;/strong&gt;, see &lt;a href="http://blogs.msdn.com/hakane/archive/2009/10/19/sample-script-to-enable-new-features-in-upgraded-team-projects-tfs-2010-beta2.aspx"&gt;this post&lt;/a&gt;. For TFS 2010 &lt;strong&gt;Beta1&lt;/strong&gt;, see &lt;a href="http://blogs.msdn.com/hakane/archive/2009/05/20/sample-script-to-enable-new-features-in-upgraded-team-projects-tfs-2010-beta1.aspx"&gt;this post&lt;/a&gt;.&lt;/font&gt;&lt;/p&gt;  &lt;h2&gt;Introduction&lt;/h2&gt;  &lt;p&gt;When you upgrade your existing Team Foundation Server to version 2010, upgraded team projects will work as before. However, you need to make some changes to these team projects if you want to enable the following features: &lt;/p&gt;  &lt;ul&gt;   &lt;li&gt;Test Case Management &lt;/li&gt;    &lt;li&gt;Agile Planning Workbooks &lt;/li&gt;    &lt;li&gt;Lab Management &lt;/li&gt; &lt;/ul&gt;  &lt;p&gt;In this post, I’m providing a sample script to help you with many of the steps. For complete information about enabling these features, see the following article. Although it’s for Beta2, it is still applicable for RC:&lt;/p&gt;  &lt;ul&gt;   &lt;li&gt;&lt;a href="http://blogs.msdn.com/allclark/archive/2009/10/13/enabling-new-application-lifecycle-management-features-for-visual-studio-2010-beta-2-in-upgraded-team-projects.aspx"&gt;Enabling New Application Lifecycle Management Features for Visual Studio Team System 2010 Beta 2 in Upgraded Team Projects&lt;/a&gt; &lt;/li&gt; &lt;/ul&gt;  &lt;h2&gt;Required Changes&lt;/h2&gt;  &lt;p&gt;Refer to the table below for a summary of the required changes to enable the new features for upgraded team projects. Note that these changes are only necessary for the team projects that existed before the upgrade. If you are creating new team projects, all of these features are enabled by default. &lt;/p&gt;  &lt;table border="1" cellspacing="0" cellpadding="2" width="606"&gt;&lt;tbody&gt;     &lt;tr&gt;       &lt;td valign="top" width="200"&gt;&lt;strong&gt;Feature&lt;/strong&gt;&lt;/td&gt;        &lt;td valign="top" width="404"&gt;&lt;strong&gt;Requirements&lt;/strong&gt;&lt;/td&gt;     &lt;/tr&gt;      &lt;tr&gt;       &lt;td valign="top" width="200"&gt;Test Case Management&lt;/td&gt;        &lt;td valign="top" width="404"&gt;         &lt;ul&gt;           &lt;li&gt;Add Test Case and Shared Step work item types (*) &lt;/li&gt;            &lt;li&gt;Update existing Bug and Scenario work item types (*) &lt;/li&gt;            &lt;li&gt;Add new link types (*) &lt;/li&gt;            &lt;li&gt;Add work item categories (*) &lt;/li&gt;         &lt;/ul&gt;       &lt;/td&gt;     &lt;/tr&gt;      &lt;tr&gt;       &lt;td valign="top" width="200"&gt;Agile Planning Workbooks&lt;/td&gt;        &lt;td valign="top" width="404"&gt;         &lt;ul&gt;           &lt;li&gt;Update existing Task and Scenario work item types (*) &lt;/li&gt;            &lt;li&gt;Create iteration and product backlog queries &lt;/li&gt;            &lt;li&gt;Bind workbooks against the queries &lt;/li&gt;            &lt;li&gt;Modify workbook document properties &lt;/li&gt;         &lt;/ul&gt;       &lt;/td&gt;     &lt;/tr&gt;      &lt;tr&gt;       &lt;td valign="top" width="200"&gt;Lab Management&lt;/td&gt;        &lt;td valign="top" width="404"&gt;         &lt;ul&gt;           &lt;li&gt;Grant lab management permissions to user groups &lt;/li&gt;            &lt;li&gt;Provision lab resources &lt;/li&gt;         &lt;/ul&gt;       &lt;/td&gt;     &lt;/tr&gt;      &lt;tr&gt;       &lt;td valign="top" width="200"&gt;Reports&lt;/td&gt;        &lt;td valign="top" width="404"&gt;         &lt;ul&gt;           &lt;li&gt;Update your existing reports to work against the new warehouse &lt;/li&gt;         &lt;/ul&gt;       &lt;/td&gt;     &lt;/tr&gt;   &lt;/tbody&gt;&lt;/table&gt;  &lt;p&gt;(*): You can use the sample script attached to this article to make these changes marked with (*) in the table above. &lt;/p&gt;  &lt;p&gt;However, this sample script is designed to work if the following are true: &lt;/p&gt;  &lt;ul&gt;   &lt;li&gt;You are using the RC (English) version of Team Foundation Server 2010 &lt;/li&gt;    &lt;li&gt;Your team project was created with the English language version of “MSF for Agile Software Development - v4.2” process template before you upgraded your Team Foundation Server &lt;/li&gt;    &lt;li&gt;No modifications have been made to the work item type definitions on your team project before or after the upgrade &lt;/li&gt;    &lt;li&gt;You are running the script on an English operating system that has Visual Studio Team Explorer 2010 RC &lt;/li&gt; &lt;/ul&gt;  &lt;p&gt;   &lt;br /&gt;You need to either modify the sample script, or create your own if: &lt;/p&gt;  &lt;ul&gt;   &lt;li&gt;Your team project was created with a process template other than “MSF for Agile Software Development v4.2” (English) &lt;/li&gt;    &lt;li&gt;You have made modifications to the out of box work item type definitions on your team project &lt;/li&gt;    &lt;li&gt;Your team project already has an existing Test Case work item type &lt;/li&gt;    &lt;li&gt;You want to use the existing “Repro Steps” field on your Bug work item type &lt;/li&gt;    &lt;li&gt;You are using a non-English Team Foundation Server &lt;/li&gt; &lt;/ul&gt;  &lt;h2&gt;Sample Script&lt;/h2&gt;  &lt;p&gt;The attached ZIP file contains the script and updated MSF for Agile 4.2 work item type definitions. You must be a project collection administrator to run this script. The script requires the witadmin.exe utility which is installed by Team Explorer and Team Foundation Server. &lt;/p&gt;  &lt;p&gt;To use the script, download and extract it to a local directory such as C:\Upgrade. Before you run the script, open “EnableFeatures.bat” in a text editor and complete the configuration by specifying values for the following: &lt;/p&gt;  &lt;ul&gt;   &lt;li&gt;Team Foundation Server URL &lt;/li&gt;    &lt;li&gt;Name of the team project collection &lt;/li&gt;    &lt;li&gt;Name of the team project &lt;/li&gt;    &lt;li&gt;Path to witadmin.exe utility &lt;/li&gt;    &lt;li&gt;Set ConfigComplete = 1 to indicate that you’ve completed the configuration &lt;/li&gt; &lt;/ul&gt;  &lt;p&gt;   &lt;br /&gt;&lt;font color="#ff0000"&gt;&lt;strong&gt;Important&lt;/strong&gt;: This script will only work against “unmodified” team projects created with “MSF for Agile Software Development – v4.2” process templates on &lt;strong&gt;RC &lt;/strong&gt;version of Team Foundation Server 2010.&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;font color="#ff0000"&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;font color="#ff0000"&gt;&lt;/font&gt;&lt;/p&gt;  &lt;h2&gt;What does the script do?&lt;/h2&gt;  &lt;p&gt;The script is a simple batch file that uses the witadmin.exe utility to make the following changes: &lt;/p&gt;  &lt;ul&gt;   &lt;li&gt;Saves a backup of your existing Bug, Task and Scenario work item types &lt;/li&gt;    &lt;li&gt;Adds new link types (Test Case / Shared Steps and Tests / Tested By) &lt;/li&gt;    &lt;li&gt;Adds new work item types (Test Case and Shared Step) &lt;/li&gt;    &lt;li&gt;Overwrites Bug, Task and Scenario work item types &lt;/li&gt;    &lt;li&gt;Adds work item categories &lt;/li&gt; &lt;/ul&gt;  &lt;table border="0" cellspacing="2" cellpadding="2" width="400"&gt;&lt;tbody&gt;     &lt;tr&gt;       &lt;td valign="top" width="60"&gt;&lt;a href="http://blogs.msdn.com/hakane/attachment/9977007.ashx"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="Download the Sample Script" src="http://blogs.msdn.com/blogfiles/hakane/WindowsLiveWriter/SampleScripttoenablenewfeaturesinupgrade_7DE0/image_thumb.png" width="45" height="45" mce_src="http://blogs.msdn.com/blogfiles/hakane/WindowsLiveWriter/SampleScripttoenablenewfeaturesinupgrade_7DE0/image_thumb.png" /&gt;&lt;/a&gt; &lt;/td&gt;        &lt;td valign="top" width="340"&gt;&lt;a href="http://blogs.msdn.com/hakane/attachment/9977007.ashx"&gt;           &lt;br /&gt;&lt;strong&gt;Download the Sample Script&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;     &lt;/tr&gt;   &lt;/tbody&gt;&lt;/table&gt;  &lt;p&gt;If you have any questions about the script, feel free to &lt;a href="http://blogs.msdn.com/hakane/contact.aspx"&gt;contact me&lt;/a&gt;.&lt;/p&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9977007" width="1" height="1"&gt;</description><enclosure url="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-components-postattachments/00-09-97-70-07/SampleScript_2800_RC_2900_.zip" length="19390" type="application/x-zip-compressed" /></item><item><title>Team System Web Access 2008 SP1 Scalability Update</title><link>http://blogs.msdn.com/b/hakane/archive/2009/12/07/team-system-web-access-2008-sp1-scalability-update.aspx</link><pubDate>Mon, 07 Dec 2009 16:05:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9933520</guid><dc:creator>Hakan Eskici</dc:creator><slash:comments>8</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.msdn.com/b/hakane/rsscomments.aspx?WeblogPostID=9933520</wfw:commentRss><comments>http://blogs.msdn.com/b/hakane/archive/2009/12/07/team-system-web-access-2008-sp1-scalability-update.aspx#comments</comments><description>&lt;P&gt;We have just published updates to address the scalability issues in Team System Web Access 2008 power tool.&lt;/P&gt;
&lt;P&gt;The update consists of two parts that can be installed separately, but I strongly recommend installing both updates to get the most benefits for improved scalability:&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;1. Patch for referenced object model assemblies &lt;/STRONG&gt;&lt;/P&gt;
&lt;BLOCKQUOTE&gt;
&lt;P&gt;This update contains fixes in various assemblies used by Web Access, Team Explorer and Team Foundation Server.&lt;/P&gt;
&lt;P&gt;You can download it at:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;A href="http://code.msdn.microsoft.com/KB974402" mce_href="http://code.msdn.microsoft.com/KB974402"&gt;KB974402&lt;/A&gt; &lt;/LI&gt;&lt;/UL&gt;
&lt;P&gt;&lt;EM&gt;You need to install this patch to the server where Web Access 2008 power tool is running. &lt;STRONG&gt;Important&lt;/STRONG&gt;: Make sure you run the patch using an account different than the&amp;nbsp;service account that TFS runs as.&lt;/EM&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&lt;STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;2. Web Access 2008 power tool:&lt;/STRONG&gt;&lt;/P&gt;
&lt;BLOCKQUOTE&gt;
&lt;P&gt;This is a full release that contains the latest version of Web Access 2008 power tool with the scalability fixes. &lt;/P&gt;
&lt;P&gt;You can download it at:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;A href="http://go.microsoft.com/fwlink/?LinkID=136577" mce_href="http://go.microsoft.com/fwlink/?LinkID=136577"&gt;Team System Web Access 2008 SP1 Power Tool&lt;/A&gt; &lt;/LI&gt;&lt;/UL&gt;
&lt;P&gt;&lt;EM&gt;You need to uninstall any existing installations of Web Access 2008 before installing this.&lt;/EM&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&lt;EM&gt;&lt;/EM&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;What was the problem?&lt;/STRONG&gt;&lt;/P&gt;
&lt;BLOCKQUOTE&gt;
&lt;P&gt;Due to a couple of bugs in Web Access and TFS object model assemblies, certain objects in memory were not properly released when they are no longer used, which resulted in memory leaks. &lt;/P&gt;
&lt;P&gt;When Web Access 2008 was accessed by multiple people over a certain period of time, the memory consumption increased linearly to a point where Web Access application became unstable due to the fact that there’s no sufficient memory to handle new requests. In some cases, IIS might automatically force a app pool recycle due to the memory pressure, causing all logged in users to be kicked out with error messages saying the sessions have timed out. &lt;/P&gt;
&lt;P&gt;Along with that, you might have seen common error messages like “unable to create work item store” which are actually a manifestation of the underlying “out of memory” exceptions. &lt;/P&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&lt;STRONG&gt;What is the fix?&lt;/STRONG&gt;&lt;/P&gt;
&lt;BLOCKQUOTE&gt;
&lt;P&gt;This update fixes the known memory leaks in both Web Access and TFS object model assemblies so that the Web Access instance does not destabilize over time.&lt;/P&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&lt;STRONG&gt;What can I expect from this fix?&lt;/STRONG&gt;&lt;/P&gt;
&lt;BLOCKQUOTE&gt;
&lt;P&gt;The most important improvement is the &lt;STRONG&gt;stability of Web Access over time&lt;/STRONG&gt;. Previously -in theory- even a single user could cause scalability issues over a long period of time due to the nature of the memory leaks, and this is no longer the case.&lt;/P&gt;
&lt;P&gt;If you install both updates, you will see improvements with the stability of Web Access instance, especially if you have multiple people using it for long periods of time. In summary, the frequency of session timeout or “unable to create work item store” errors will decrease dramatically.&lt;/P&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&lt;STRONG&gt;How does this fix change the scalability limits of Web Access 2008?&lt;/STRONG&gt;&lt;/P&gt;
&lt;BLOCKQUOTE&gt;
&lt;P&gt;Although the number of concurrent users that Web Access can handle is somehow improved with this update, the biggest improvement is the stability over time as I explained in the previous section. That said, I’m planning to update the &lt;A href="http://go.microsoft.com/fwlink/?LinkID=139762" mce_href="http://go.microsoft.com/fwlink/?LinkID=139762"&gt;TSWA 2008 Scalability Limits Whitepaper&lt;/A&gt; soon so watch this blog for updates.&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9933520" width="1" height="1"&gt;</description></item><item><title>Web Access 2010 Beta 2 is broken on Windows 2008 R2</title><link>http://blogs.msdn.com/b/hakane/archive/2009/11/24/web-access-2010-beta-2-is-broken-on-windows-2008-r2.aspx</link><pubDate>Tue, 24 Nov 2009 13:25:21 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9927925</guid><dc:creator>Hakan Eskici</dc:creator><slash:comments>0</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.msdn.com/b/hakane/rsscomments.aspx?WeblogPostID=9927925</wfw:commentRss><comments>http://blogs.msdn.com/b/hakane/archive/2009/11/24/web-access-2010-beta-2-is-broken-on-windows-2008-r2.aspx#comments</comments><description>&lt;p&gt;&lt;strong&gt;Scenario&lt;/strong&gt;&lt;/p&gt;  &lt;p&gt;After installing Team Foundation Server 2010 Beta 2 on a Windows 2008 &lt;strong&gt;R2&lt;/strong&gt; server, when you navigate to Web Access site, you get the following error message:&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;div style="border-bottom: #cccccc 1px solid; border-left: #cccccc 1px solid; background-color: #ffffee; border-top: #cccccc 1px solid; border-right: #cccccc 1px solid"&gt;   &lt;blockquote&gt;     &lt;p&gt;&lt;strong&gt;Configuration Error&lt;/strong&gt;&lt;/p&gt;      &lt;p&gt;Parser Error Message: &lt;strong&gt;Could not load file or assembly 'System.Web.Extensions&lt;/strong&gt;, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified. &lt;/p&gt;   &lt;/blockquote&gt; &lt;/div&gt;  &lt;p&gt;&lt;strong&gt;&lt;/strong&gt;&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;Problem&lt;/strong&gt;&lt;/p&gt;  &lt;p&gt;Windows 2008 R2 includes NET Framework 3.5 as a Windows feature, which means NET Framework cannot be installed on that system using the regular installer. It needs to be enabled as a feature instead. Since TFS setup tries to install NET Framework 3.5 using the installer, it fails for this reason.&lt;/p&gt;  &lt;p&gt;Since NET 3.5 is not available after TFS installation, Web Access is broken.&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;Workaround&lt;/strong&gt;&lt;/p&gt;  &lt;p&gt;The workaround is to enable NET Framework 3.5 feature on Windows 2008 R2 using the Role Manager.&lt;/p&gt;  &lt;ul&gt;   &lt;li&gt;Open &lt;em&gt;Server Manage&lt;/em&gt;r &lt;/li&gt;    &lt;li&gt;Click the &lt;em&gt;Features&lt;/em&gt; node &lt;/li&gt;    &lt;li&gt;Click &lt;em&gt;Add Features&lt;/em&gt; &lt;/li&gt;    &lt;li&gt;Check “&lt;em&gt;.NET Framework 3.5.1 Features&lt;/em&gt;” (including all sub nodes) &lt;/li&gt;    &lt;li&gt;Click &lt;em&gt;Next, &lt;/em&gt;and click&lt;em&gt; Install&lt;/em&gt; to finish the installation &lt;/li&gt; &lt;/ul&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;Web Access will start to work when the NET Framework 3.5 is enabled.&lt;/p&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9927925" width="1" height="1"&gt;</description></item><item><title>Team Foundation Server 2010 Beta 2 Available</title><link>http://blogs.msdn.com/b/hakane/archive/2009/10/22/team-foundation-server-2010-beta-2-available.aspx</link><pubDate>Thu, 22 Oct 2009 13:16:14 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9911339</guid><dc:creator>Hakan Eskici</dc:creator><slash:comments>0</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.msdn.com/b/hakane/rsscomments.aspx?WeblogPostID=9911339</wfw:commentRss><comments>http://blogs.msdn.com/b/hakane/archive/2009/10/22/team-foundation-server-2010-beta-2-available.aspx#comments</comments><description>&lt;p&gt;We have just &lt;a href="http://blogs.msdn.com/somasegar/archive/2009/10/19/announcing-visual-studio-2010-and-net-fx-4-beta-2.aspx"&gt;announced&lt;/a&gt; the availability of Team Foundation Server 2010 Beta 2 along with the Ultimate, Premium and Professional editions of &lt;a href="http://www.microsoft.com/visualstudio/en-us/products/2010/default.mspx"&gt;Visual Studio 2010&lt;/a&gt;.&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;Download Links:&lt;/strong&gt;&lt;/p&gt;  &lt;ul&gt;   &lt;li&gt;&lt;a href="http://go.microsoft.com/fwlink/?LinkID=165580"&gt;Team Foundation Server 2010 Beta 2&lt;/a&gt; (ISO)&lt;/li&gt;    &lt;li&gt;&lt;a href="http://go.microsoft.com/fwlink/?LinkID=165583"&gt;Team Explorer 2010 Beta 2&lt;/a&gt; (ISO)&lt;/li&gt;    &lt;li&gt;&lt;a href="http://www.microsoft.com/downloads/details.aspx?displaylang=en&amp;amp;FamilyID=cf13ea45-d17b-4edc-8e6c-6c5b208ec54d"&gt;Compatibility Patch for Team Explorer 2008&lt;/a&gt;&lt;/li&gt; &lt;/ul&gt;  &lt;p&gt;&lt;strong&gt;Related Resources&lt;/strong&gt;&lt;/p&gt;  &lt;ul&gt;   &lt;li&gt;&lt;a href="http://blogs.msdn.com/bkrieger/archive/2009/10/21/team-foundation-server-2010-upgrade.aspx"&gt;Upgrading to Team Foundation Server 2010&lt;/a&gt;&lt;/li&gt;    &lt;li&gt;&lt;a href="http://blogs.msdn.com/allclark/archive/2009/10/13/enabling-new-application-lifecycle-management-features-for-visual-studio-2010-beta-2-in-upgraded-team-projects.aspx"&gt;Enabling New ALM Features for Visual Studio Team System 2010 Beta 2 in Upgraded Team Projects&lt;/a&gt; &lt;/li&gt;    &lt;li&gt;&lt;a href="http://blogs.msdn.com/teams_wit_tools/archive/2009/10/19/compatibility-matrix-for-2010-beta-2-team-foundation-server-to-team-explorer-2008-and-2005.aspx"&gt;Compatibility Notes for TFS and Visual Studio 2010, 2008 and 2005 versions&lt;/a&gt;&lt;/li&gt; &lt;/ul&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;Where is Web Access?&lt;/strong&gt;&lt;/p&gt;  &lt;p&gt;Web Access is integrated into Team Foundation Server and gets installed by default when you install Team Foundation Server.&lt;/p&gt;  &lt;p&gt;On a default configuration, Web Access is available at:&lt;/p&gt;  &lt;ul&gt;   &lt;li&gt;&lt;a href="http://server:8080/tfs/web"&gt;http://server:8080/tfs/web&lt;/a&gt;&lt;/li&gt; &lt;/ul&gt;  &lt;p&gt;&lt;strong&gt;&lt;/strong&gt;&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;Where is Work Item Only View (previously known as WIWA)?&lt;/strong&gt;&lt;/p&gt;  &lt;p&gt;WIOV now shares the same URL with full Web Access:&lt;/p&gt;  &lt;ul&gt;   &lt;li&gt;&lt;a href="http://server:8080/tfs/web"&gt;http://server:8080/tfs/web&lt;/a&gt;&lt;/li&gt; &lt;/ul&gt;  &lt;p&gt;There is a new permission to control access to full Web Access features. Anyone in the “Work Item Only View Users” group will have that permission denied, therefore they will see the Work Item Only View. Others will see full Web Access.&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;How can I install Web Access separately on its own server?&lt;/strong&gt;&lt;/p&gt;  &lt;p&gt;The recommended way is to install a “Application Tier Only” instance of TFS by pointing it to the same TFS database and using that instance just for Web Access. For example:&lt;/p&gt;  &lt;ul&gt;   &lt;li&gt;Server1: End users connect to this server from Team Explorer (Web Access is available but not used) &lt;/li&gt;    &lt;li&gt;Server2: Web Access users connect to this server from a Web browser (TFS Application Tier is available but not used) &lt;/li&gt; &lt;/ul&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9911339" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/b/hakane/archive/tags/Web+Access/">Web Access</category><category domain="http://blogs.msdn.com/b/hakane/archive/tags/TFS/">TFS</category><category domain="http://blogs.msdn.com/b/hakane/archive/tags/VSTS2010/">VSTS2010</category><category domain="http://blogs.msdn.com/b/hakane/archive/tags/TFSUpgrade/">TFSUpgrade</category></item><item><title>Sample Script to Enable New Features in Upgraded Team Projects (TFS 2010 Beta2)</title><link>http://blogs.msdn.com/b/hakane/archive/2009/10/19/sample-script-to-enable-new-features-in-upgraded-team-projects-tfs-2010-beta2.aspx</link><pubDate>Mon, 19 Oct 2009 20:40:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9909415</guid><dc:creator>Hakan Eskici</dc:creator><slash:comments>0</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.msdn.com/b/hakane/rsscomments.aspx?WeblogPostID=9909415</wfw:commentRss><comments>http://blogs.msdn.com/b/hakane/archive/2009/10/19/sample-script-to-enable-new-features-in-upgraded-team-projects-tfs-2010-beta2.aspx#comments</comments><description>&lt;p mce_keep="true"&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;&lt;font color="#ff0000"&gt;&lt;strong&gt;Important&lt;/strong&gt;: The instructions in this post only apply to the &lt;strong&gt;Beta2&lt;/strong&gt; version of Team Foundation Server 2010. For Beta1, see &lt;a href="http://blogs.msdn.com/hakane/archive/2009/05/20/sample-script-to-enable-new-features-in-upgraded-team-projects-tfs-2010-beta1.aspx"&gt;this post&lt;/a&gt;.&lt;/font&gt;&lt;/p&gt;  &lt;h2&gt;Introduction&lt;/h2&gt;  &lt;p&gt;When you upgrade your existing Team Foundation Server to version 2010, upgraded team projects will work as before. However, you need to make some changes to these team projects if you want to enable the following features: &lt;/p&gt;  &lt;ul&gt;   &lt;li&gt;Test Case Management &lt;/li&gt;    &lt;li&gt;Agile Planning Workbooks &lt;/li&gt;    &lt;li&gt;Lab Management &lt;/li&gt; &lt;/ul&gt;  &lt;p&gt;In this post, I’m providing a sample script to help you with many of the steps. For complete information about enabling these features, see the following article: &lt;/p&gt;  &lt;ul&gt;   &lt;li&gt;&lt;a href="http://blogs.msdn.com/allclark/archive/2009/10/13/enabling-new-application-lifecycle-management-features-for-visual-studio-2010-beta-2-in-upgraded-team-projects.aspx"&gt;Enabling New Application Lifecycle Management Features for Visual Studio Team System 2010 Beta 2 in Upgraded Team Projects&lt;/a&gt; &lt;/li&gt; &lt;/ul&gt;  &lt;h2&gt;Required Changes&lt;/h2&gt;  &lt;p&gt;Refer to the table below for a summary of the required changes to enable the new features for upgraded team projects. Note that these changes are only necessary for the team projects that existed before the upgrade. If you are creating new team projects, all of these features are enabled by default. &lt;/p&gt;  &lt;table border="1" cellspacing="0" cellpadding="2" width="606"&gt;&lt;tbody&gt;     &lt;tr&gt;       &lt;td valign="top" width="200"&gt;&lt;strong&gt;Feature&lt;/strong&gt;&lt;/td&gt;        &lt;td valign="top" width="404"&gt;&lt;strong&gt;Requirements&lt;/strong&gt;&lt;/td&gt;     &lt;/tr&gt;      &lt;tr&gt;       &lt;td valign="top" width="200"&gt;Test Case Management&lt;/td&gt;        &lt;td valign="top" width="404"&gt;         &lt;ul&gt;           &lt;li&gt;Add Test Case and Shared Step work item types (*) &lt;/li&gt;            &lt;li&gt;Update existing Bug and Scenario work item types (*) &lt;/li&gt;            &lt;li&gt;Add new link types (*) &lt;/li&gt;            &lt;li&gt;Add work item categories (*) &lt;/li&gt;         &lt;/ul&gt;       &lt;/td&gt;     &lt;/tr&gt;      &lt;tr&gt;       &lt;td valign="top" width="200"&gt;Agile Planning Workbooks&lt;/td&gt;        &lt;td valign="top" width="404"&gt;         &lt;ul&gt;           &lt;li&gt;Update existing Task and Scenario work item types (*) &lt;/li&gt;            &lt;li&gt;Create iteration and product backlog queries &lt;/li&gt;            &lt;li&gt;Bind workbooks against the queries &lt;/li&gt;            &lt;li&gt;Modify workbook document properties &lt;/li&gt;         &lt;/ul&gt;       &lt;/td&gt;     &lt;/tr&gt;      &lt;tr&gt;       &lt;td valign="top" width="200"&gt;Lab Management&lt;/td&gt;        &lt;td valign="top" width="404"&gt;         &lt;ul&gt;           &lt;li&gt;Grant lab management permissions to user groups &lt;/li&gt;            &lt;li&gt;Provision lab resources &lt;/li&gt;         &lt;/ul&gt;       &lt;/td&gt;     &lt;/tr&gt;      &lt;tr&gt;       &lt;td valign="top" width="200"&gt;Reports&lt;/td&gt;        &lt;td valign="top" width="404"&gt;         &lt;ul&gt;           &lt;li&gt;Update your existing reports to work against the new warehouse &lt;/li&gt;         &lt;/ul&gt;       &lt;/td&gt;     &lt;/tr&gt;   &lt;/tbody&gt;&lt;/table&gt;  &lt;p&gt;(*): You can use the sample script attached to this article to make these changes marked with (*) in the table above. &lt;/p&gt;  &lt;p&gt;However, this sample script is designed to work if the following are true: &lt;/p&gt;  &lt;ul&gt;   &lt;li&gt;You are using the Beta2 (English) version of Team Foundation Server 2010 &lt;/li&gt;    &lt;li&gt;Your team project was created with the English language version of “MSF for Agile Software Development - v4.2” process template before you upgraded your Team Foundation Server &lt;/li&gt;    &lt;li&gt;No modifications have been made to the work item type definitions on your team project before or after the upgrade &lt;/li&gt;    &lt;li&gt;You are running the script on an English operating system that has Visual Studio Team Explorer 2010 Beta2 &lt;/li&gt; &lt;/ul&gt;  &lt;p&gt;   &lt;br /&gt;You need to either modify the sample script, or create your own if: &lt;/p&gt;  &lt;ul&gt;   &lt;li&gt;Your team project was created with a process template other than “MSF for Agile Software Development v4.2” (English) &lt;/li&gt;    &lt;li&gt;You have made modifications to the out of box work item type definitions on your team project &lt;/li&gt;    &lt;li&gt;Your team project already has an existing Test Case work item type &lt;/li&gt;    &lt;li&gt;You want to use the existing “Repro Steps” field on your Bug work item type &lt;/li&gt;    &lt;li&gt;You are using a non-English Team Foundation Server &lt;/li&gt; &lt;/ul&gt;  &lt;h2&gt;Sample Script&lt;/h2&gt;  &lt;p&gt;The attached ZIP file contains the script and updated MSF for Agile 4.2 work item type definitions. You must be a project collection administrator to run this script. The script requires the witadmin.exe utility which is installed by Team Explorer and Team Foundation Server. &lt;/p&gt;  &lt;p&gt;To use the script, download and extract it to a local directory such as C:\Upgrade. Before you run the script, open “EnableFeatures.bat” in a text editor and complete the configuration by specifying values for the following: &lt;/p&gt;  &lt;ul&gt;   &lt;li&gt;Team Foundation Server URL &lt;/li&gt;    &lt;li&gt;Name of the team project collection &lt;/li&gt;    &lt;li&gt;Name of the team project &lt;/li&gt;    &lt;li&gt;Path to witadmin.exe utility &lt;/li&gt;    &lt;li&gt;Set ConfigComplete = 1 to indicate that you’ve completed the configuration &lt;/li&gt; &lt;/ul&gt;  &lt;p&gt;   &lt;br /&gt;&lt;font color="#ff0000"&gt;&lt;strong&gt;Important&lt;/strong&gt;: This script will only work against “unmodified” team projects created with “MSF for Agile Software Development – v4.2” process templates on &lt;strong&gt;Beta2&lt;/strong&gt; version of Team Foundation Server 2010.&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;font color="#ff0000"&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;font color="#ff0000"&gt;&lt;/font&gt;&lt;/p&gt;  &lt;h2&gt;What does the script do?&lt;/h2&gt;  &lt;p&gt;The script is a simple batch file that uses the witadmin.exe utility to make the following changes: &lt;/p&gt;  &lt;ul&gt;   &lt;li&gt;Saves a backup of your existing Bug, Task and Scenario work item types &lt;/li&gt;    &lt;li&gt;Adds new link types (Test Case / Shared Steps and Tests / Tested By) &lt;/li&gt;    &lt;li&gt;Adds new work item types (Test Case and Shared Step) &lt;/li&gt;    &lt;li&gt;Overwrites Bug, Task and Scenario work item types &lt;/li&gt;    &lt;li&gt;Adds work item categories &lt;/li&gt; &lt;/ul&gt;  &lt;table border="0" cellspacing="2" cellpadding="2" width="400"&gt;&lt;tbody&gt;     &lt;tr&gt;       &lt;td valign="top" width="60"&gt;&lt;a href="http://blogs.msdn.com/hakane/attachment/9909415.ashx"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="Download the Sample Script" src="http://blogs.msdn.com/blogfiles/hakane/WindowsLiveWriter/SampleScripttoenablenewfeaturesinupgrade_7DE0/image_thumb.png" width="45" height="45" mce_src="http://blogs.msdn.com/blogfiles/hakane/WindowsLiveWriter/SampleScripttoenablenewfeaturesinupgrade_7DE0/image_thumb.png" /&gt;&lt;/a&gt; &lt;/td&gt;        &lt;td valign="top" width="340"&gt;&lt;a href="http://blogs.msdn.com/hakane/attachment/9909415.ashx"&gt;           &lt;br /&gt;&lt;strong&gt;Download the Sample Script&lt;/strong&gt;&lt;/a&gt;&lt;/td&gt;     &lt;/tr&gt;   &lt;/tbody&gt;&lt;/table&gt;  &lt;p&gt;If you have any questions about the script, feel free to &lt;a href="http://blogs.msdn.com/hakane/contact.aspx"&gt;contact me&lt;/a&gt;.&lt;/p&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9909415" width="1" height="1"&gt;</description><enclosure url="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-components-postattachments/00-09-90-94-15/SampleScript_2800_Beta2_2900_.zip" length="19365" type="application/x-zip-compressed" /><category domain="http://blogs.msdn.com/b/hakane/archive/tags/VSTS2010/">VSTS2010</category><category domain="http://blogs.msdn.com/b/hakane/archive/tags/TFSUpgrade/">TFSUpgrade</category></item><item><title>Investigating HTTP 400 Bad Request Errors in Web Access</title><link>http://blogs.msdn.com/b/hakane/archive/2009/06/30/investigating-http-400-bad-request-errors-in-web-access.aspx</link><pubDate>Tue, 30 Jun 2009 18:49:18 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9809758</guid><dc:creator>Hakan Eskici</dc:creator><slash:comments>1</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.msdn.com/b/hakane/rsscomments.aspx?WeblogPostID=9809758</wfw:commentRss><comments>http://blogs.msdn.com/b/hakane/archive/2009/06/30/investigating-http-400-bad-request-errors-in-web-access.aspx#comments</comments><description>&lt;p&gt;Recently, one of our customers reported an issue with Web Access causing &lt;em&gt;some &lt;/em&gt;users to get HTTP 400 Bad Request errors.&lt;/p&gt;  &lt;p&gt;HTTP 400 errors usually indicate that the request sent by the browser cannot be understood by the Web server. I’d recommend that you use a HTTP debugging proxy such as &lt;a href="http://www.fiddler2.com" target="_blank"&gt;Fiddler&lt;/a&gt; to investigate such errors to see the underlying cause.&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;Header Too Long&lt;/strong&gt;&lt;/p&gt;  &lt;p&gt;If you see a &lt;em&gt;Header Too Long&lt;/em&gt; error in Fiddler logs, one of the common causes for this is that you have users that belong to many Active Directory groups, which increases the size of the authentication headers the browser sends to the Web Server. &lt;/p&gt;  &lt;p&gt;&lt;strong&gt;Workaround&lt;/strong&gt;&lt;/p&gt;  &lt;p&gt;The workaround is to increase the header size limit in IIS on the machine where you have Web Access installed:&lt;/p&gt;  &lt;ol&gt;   &lt;li&gt;Open Regedit&lt;/li&gt;    &lt;li&gt;Go to &lt;strong&gt;HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\HTTP\Parameters&lt;/strong&gt;&lt;/li&gt;    &lt;li&gt;Add a new DWORD value named &lt;strong&gt;MaxFieldValue&lt;/strong&gt;&lt;/li&gt;    &lt;li&gt;Enter &lt;strong&gt;32768&lt;/strong&gt; as a decimal value&lt;/li&gt;    &lt;li&gt;Add a new DWORD value named &lt;strong&gt;MaxRequestBytes&lt;/strong&gt;&lt;/li&gt;    &lt;li&gt;Enter &lt;strong&gt;500000&lt;/strong&gt; as a decimal value&lt;/li&gt;    &lt;li&gt;Restart the computer&lt;/li&gt; &lt;/ol&gt;  &lt;p&gt;This will increase the maximum accepted request sizes and should fix the &lt;em&gt;HTTP 400 Bad Request – Header Too Long&lt;/em&gt; error.&lt;/p&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9809758" width="1" height="1"&gt;</description></item><item><title>FAQ on the Sample Script to Enable New Features in Upgraded Team Projects</title><link>http://blogs.msdn.com/b/hakane/archive/2009/05/20/faq-on-the-sample-script-to-enable-new-features-in-upgraded-team-projects.aspx</link><pubDate>Wed, 20 May 2009 18:12:52 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9632338</guid><dc:creator>Hakan Eskici</dc:creator><slash:comments>3</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.msdn.com/b/hakane/rsscomments.aspx?WeblogPostID=9632338</wfw:commentRss><comments>http://blogs.msdn.com/b/hakane/archive/2009/05/20/faq-on-the-sample-script-to-enable-new-features-in-upgraded-team-projects.aspx#comments</comments><description>&lt;p&gt;As a follow up to my previous blog post that talks about the &lt;a href="http://blogs.msdn.com/hakane/archive/2009/05/20/sample-script-to-enable-new-features-in-upgraded-team-projects-tfs-2010-beta1.aspx"&gt;sample script to enable new features in upgraded team projects&lt;/a&gt;, I wanted to answer a couple of questions and go into a little bit more detail.&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;h2&gt;Frequently Asked Questions&lt;/h2&gt;  &lt;p&gt;&lt;strong&gt;Do I need to run this script on my Team Foundation Server machine?&lt;/strong&gt;&lt;/p&gt;  &lt;blockquote&gt;   &lt;p&gt;No, the script can be run on any machine where you either have Team Explorer 2010 or Team Foundation Server 2010 installed. Make sure you edit EnableFeatures.bat file to specify the path to the witadmin.exe utility as it might be on different locations depending on whether you have TFS or Team Explorer installed.&lt;/p&gt; &lt;/blockquote&gt;  &lt;p&gt;&lt;strong&gt;Can I use this script against team projects created with “MSF for CMMI Process Improvement” process template?&lt;/strong&gt;&lt;/p&gt;  &lt;blockquote&gt;   &lt;p&gt;No, the sample script is designed to work only for team projects created with “MSF for Agile Software Development – v4.2” process template and doesn’t have any modifications applied to its underlying work item type definitions.&lt;/p&gt; &lt;/blockquote&gt;  &lt;p&gt;&lt;strong&gt;How can I check if my team project is created with “MSF for Agile Software Development v4.2” process template?&lt;/strong&gt;&lt;/p&gt;  &lt;blockquote&gt;   &lt;p&gt;See the section “How to Check If Your Team Project is “Unmodified” below.&lt;/p&gt; &lt;/blockquote&gt;  &lt;p&gt;&lt;strong&gt;How can I check if my team project is “unmodified”?&lt;/strong&gt;&lt;/p&gt;  &lt;blockquote&gt;   &lt;p&gt;See the section “How to Check If Your Team Project is “Unmodified” below.&lt;/p&gt; &lt;/blockquote&gt;  &lt;p&gt;&lt;strong&gt;What if I realize that some modifications have been made to the underlying work item type definitions for my team project?&lt;/strong&gt;&lt;/p&gt;  &lt;blockquote&gt;   &lt;p&gt;See the section “What If My Team Project is “Modified” below.&lt;/p&gt; &lt;/blockquote&gt;  &lt;p&gt;&lt;strong&gt;How can I undo the changes that this script makes?&lt;/strong&gt;&lt;/p&gt;  &lt;blockquote&gt;   &lt;p&gt;&lt;em&gt;1. Restore backups of your Bug, Task and Scenario work item types&lt;/em&gt;&lt;/p&gt;    &lt;p&gt;You can find the backups of your Bug, Task and Scenario work item types in Backup\&amp;lt;ProjectName&amp;gt; directory. If there are multiple files, look for the ones that has the earliest date/time stamp. Import the backups back to your team project using &lt;font face="Courier New"&gt;witadmin importwitd&lt;/font&gt; command.&lt;/p&gt;    &lt;p&gt;&lt;em&gt;2. Delete the new work item types&lt;/em&gt;&lt;/p&gt;    &lt;p&gt;The script adds the Test Case and Shared Step work item types to your team project. You can delete these work item types by running &lt;font face="Courier New"&gt;witadmin destroywitd&lt;/font&gt; command.&lt;/p&gt;    &lt;p&gt;&lt;em&gt;3. Delete link types&lt;/em&gt;&lt;/p&gt;    &lt;p&gt;The script adds Test Case / Shared Steps and Tests / Tested By link types to your team project. You can delete these link types by running &lt;font face="Courier New"&gt;witadmin deletelinktype&lt;/font&gt; command.&lt;/p&gt; &lt;/blockquote&gt;  &lt;p&gt;&lt;strong&gt;&lt;/strong&gt;&lt;/p&gt;  &lt;h2&gt;What if my team project is “modified”?&lt;/h2&gt;  &lt;p&gt;See the next section to check if your project is “modified” or not. If you determine that your team project is modified, you have two options:&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;1. Run the sample script anyway&lt;/strong&gt;&lt;/p&gt;  &lt;blockquote&gt;   &lt;p&gt;This will overwrite your modifications and you will need to &lt;strong&gt;re-apply your modifications&lt;/strong&gt; to your work item type definitions after running the script.&lt;/p&gt; &lt;/blockquote&gt;  &lt;p&gt;&lt;strong&gt;2. Modify the script and files&lt;/strong&gt;&lt;/p&gt;  &lt;ol&gt;   &lt;li&gt;Examine the updated Bug, Task and Scenario work item type definitions under Agile5\TypeDefinitions directory provided with the sample script ZIP file to identify the changes to enable new features. &lt;/li&gt;    &lt;li&gt;Rename/backup the updated Bug, Task and Scenario work item type definitions under Agile5\TypeDefinitions directory &lt;/li&gt;    &lt;li&gt;Copy your own Bug, Task and Scenario work item type definitions to Agile5\TypeDefinitions directory and change the file names to UpdatedBug.xml, UpdatedTask.xml and UpdatedScenario.xml &lt;/li&gt;    &lt;li&gt;Apply the same changes you identified in #1 to your own Bug, Task and Scenario work item type definitions in Agile5\TypeDefinitions directory &lt;/li&gt;    &lt;li&gt;Run the script &lt;/li&gt; &lt;/ol&gt;  &lt;p&gt;&lt;strong&gt;3. Manually update your team projects by following the instructions in the guidance documents&lt;/strong&gt;&lt;/p&gt;  &lt;blockquote&gt;   &lt;p&gt;See &lt;a href="http://go.microsoft.com/fwlink/?LinkId=146019" target="_blank"&gt;Enabling New Features of Visual Studio Team System 2010 Beta 1 in Upgraded Projects&lt;/a&gt; for pointers to guidance documents that explain how to enable individual features.&lt;/p&gt; &lt;/blockquote&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;h2&gt;&lt;strong&gt;How to Check If Your Team Project is “Unmodified”&lt;/strong&gt;&lt;/h2&gt;  &lt;p&gt;This section explains how to check if your team project:&lt;/p&gt;  &lt;ul&gt;   &lt;li&gt;was created with “MSF for Agile Software Development – v4.2” process template &lt;/li&gt;    &lt;li&gt;has modifications that would complicate running the sample script to enable the new features &lt;/li&gt; &lt;/ul&gt;  &lt;p&gt;As a summary, you need to look at a couple of things:&lt;/p&gt;  &lt;ol&gt;   &lt;li&gt;Check the list of available work item types &lt;/li&gt;    &lt;li&gt;Check the visual layouts for existing work item types &lt;/li&gt;    &lt;li&gt;Check the work item type definition XML files &lt;/li&gt; &lt;/ol&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;For details about each step, see the sections below:&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;Step 1. Check the list of available work item types&lt;/strong&gt;&lt;/p&gt;  &lt;p&gt;Using Team Explorer, right click the “Work Items” node under your team project&lt;/p&gt;  &lt;p&gt;Hover over “Add Work Item”, make the sure the list matches:&lt;/p&gt;  &lt;ul&gt;   &lt;li&gt;Bug &lt;/li&gt;    &lt;li&gt;Quality of Service Requirement &lt;/li&gt;    &lt;li&gt;Risk &lt;/li&gt;    &lt;li&gt;Scenario &lt;/li&gt;    &lt;li&gt;Task &lt;/li&gt; &lt;/ul&gt;  &lt;p&gt;If you have a different list of work items, it means your team project is either not based on “MSF for Agile Software Development – v4.2” process template, or you have additional work item types imported to your team project. &lt;/p&gt;  &lt;p&gt;&lt;strong&gt;&lt;/strong&gt;&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;&lt;/strong&gt;&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;Step 2. Check the visual layouts for Bug, Task and Scenario work items&lt;/strong&gt;&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;Bug work item type&lt;/strong&gt;&lt;/p&gt;  &lt;p&gt;Create a new Bug for your team project, and make sure the &lt;em&gt;visual layout&lt;/em&gt; matches the screenshots below:&lt;/p&gt;  &lt;p&gt;Bug layout (click to zoom):&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/blogfiles/hakane/WindowsLiveWriter/FAQontheSampleScripttoEnableNewFeaturesi_FF33/image_2.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://blogs.msdn.com/blogfiles/hakane/WindowsLiveWriter/FAQontheSampleScripttoEnableNewFeaturesi_FF33/image_thumb.png" width="244" height="203" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;History tab on Bug (click to zoom):&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/blogfiles/hakane/WindowsLiveWriter/FAQontheSampleScripttoEnableNewFeaturesi_FF33/image_8.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://blogs.msdn.com/blogfiles/hakane/WindowsLiveWriter/FAQontheSampleScripttoEnableNewFeaturesi_FF33/image_thumb_3.png" width="244" height="122" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;Links Tab on Bug (click to zoom):&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/blogfiles/hakane/WindowsLiveWriter/FAQontheSampleScripttoEnableNewFeaturesi_FF33/image_10.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://blogs.msdn.com/blogfiles/hakane/WindowsLiveWriter/FAQontheSampleScripttoEnableNewFeaturesi_FF33/image_thumb_4.png" width="244" height="122" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;File Attachments Tab on Bug (click to zoom):&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/blogfiles/hakane/WindowsLiveWriter/FAQontheSampleScripttoEnableNewFeaturesi_FF33/image_12.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://blogs.msdn.com/blogfiles/hakane/WindowsLiveWriter/FAQontheSampleScripttoEnableNewFeaturesi_FF33/image_thumb_5.png" width="244" height="122" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;Details Tab on Bug (click to zoom):&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/blogfiles/hakane/WindowsLiveWriter/FAQontheSampleScripttoEnableNewFeaturesi_FF33/image_14.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://blogs.msdn.com/blogfiles/hakane/WindowsLiveWriter/FAQontheSampleScripttoEnableNewFeaturesi_FF33/image_thumb_6.png" width="244" height="122" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;Task work item type&lt;/strong&gt;&lt;/p&gt;  &lt;p&gt;Create a new Task for your team project, and make sure the &lt;em&gt;visual layout&lt;/em&gt; matches the screenshots below:&lt;/p&gt;  &lt;p&gt;&lt;/p&gt;  &lt;p&gt;&lt;/p&gt;  &lt;p&gt;&lt;/p&gt;  &lt;p&gt;Task layout (click to zoom):&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/blogfiles/hakane/WindowsLiveWriter/FAQontheSampleScripttoEnableNewFeaturesi_FF33/image_4.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://blogs.msdn.com/blogfiles/hakane/WindowsLiveWriter/FAQontheSampleScripttoEnableNewFeaturesi_FF33/image_thumb_1.png" width="244" height="203" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;History Tab on Task (click to zoom):&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/blogfiles/hakane/WindowsLiveWriter/FAQontheSampleScripttoEnableNewFeaturesi_FF33/image_16.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://blogs.msdn.com/blogfiles/hakane/WindowsLiveWriter/FAQontheSampleScripttoEnableNewFeaturesi_FF33/image_thumb_7.png" width="244" height="123" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;Links Tab on Task (click to zoom):&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/blogfiles/hakane/WindowsLiveWriter/FAQontheSampleScripttoEnableNewFeaturesi_FF33/image_18.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://blogs.msdn.com/blogfiles/hakane/WindowsLiveWriter/FAQontheSampleScripttoEnableNewFeaturesi_FF33/image_thumb_8.png" width="244" height="122" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;File Attachments Tab on Task (click to zoom):&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/blogfiles/hakane/WindowsLiveWriter/FAQontheSampleScripttoEnableNewFeaturesi_FF33/image_20.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://blogs.msdn.com/blogfiles/hakane/WindowsLiveWriter/FAQontheSampleScripttoEnableNewFeaturesi_FF33/image_thumb_9.png" width="244" height="123" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;Details Tab on Task (click to zoom):&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/blogfiles/hakane/WindowsLiveWriter/FAQontheSampleScripttoEnableNewFeaturesi_FF33/image_22.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://blogs.msdn.com/blogfiles/hakane/WindowsLiveWriter/FAQontheSampleScripttoEnableNewFeaturesi_FF33/image_thumb_10.png" width="244" height="122" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;&lt;/p&gt;  &lt;p&gt;&lt;/p&gt;  &lt;p&gt;&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;Scenario work item type&lt;/strong&gt;&lt;/p&gt;  &lt;p&gt;Create a new Scenario for your team project, and make sure the &lt;em&gt;visual layout&lt;/em&gt; matches the screenshots below:&lt;/p&gt;  &lt;p&gt;Scenario Layout (click to zoom):&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/blogfiles/hakane/WindowsLiveWriter/FAQontheSampleScripttoEnableNewFeaturesi_FF33/image_6.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://blogs.msdn.com/blogfiles/hakane/WindowsLiveWriter/FAQontheSampleScripttoEnableNewFeaturesi_FF33/image_thumb_2.png" width="244" height="203" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;History Tab on Scenario (click to zoom):&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/blogfiles/hakane/WindowsLiveWriter/FAQontheSampleScripttoEnableNewFeaturesi_FF33/image_24.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://blogs.msdn.com/blogfiles/hakane/WindowsLiveWriter/FAQontheSampleScripttoEnableNewFeaturesi_FF33/image_thumb_11.png" width="244" height="123" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;Links Tab on Scenario (click to zoom):&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/blogfiles/hakane/WindowsLiveWriter/FAQontheSampleScripttoEnableNewFeaturesi_FF33/image_26.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://blogs.msdn.com/blogfiles/hakane/WindowsLiveWriter/FAQontheSampleScripttoEnableNewFeaturesi_FF33/image_thumb_12.png" width="244" height="123" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;File Attachments Tab on Scenario (click to zoom):&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/blogfiles/hakane/WindowsLiveWriter/FAQontheSampleScripttoEnableNewFeaturesi_FF33/image_28.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://blogs.msdn.com/blogfiles/hakane/WindowsLiveWriter/FAQontheSampleScripttoEnableNewFeaturesi_FF33/image_thumb_13.png" width="244" height="123" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;Details Tab on Scenario (click to zoom):&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/blogfiles/hakane/WindowsLiveWriter/FAQontheSampleScripttoEnableNewFeaturesi_FF33/image_30.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://blogs.msdn.com/blogfiles/hakane/WindowsLiveWriter/FAQontheSampleScripttoEnableNewFeaturesi_FF33/image_thumb_14.png" width="244" height="122" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;If the visual layouts of your work items are different, it means the work item types on your team project has modifications.&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;Step 3. Check the work item type definition XMLs for Bug, Task and Scenario work items&lt;/strong&gt;&lt;/p&gt;  &lt;p&gt;Export the work item type definitions by running following commands from a computer that has the witadmin.exe utility:&lt;/p&gt;  &lt;blockquote&gt;   &lt;p&gt;&lt;font face="Courier New"&gt;witadmin exportwitd /s http://server:8080/tfs /p Project1 /n Bug /f Bug.xml&lt;/font&gt;&lt;/p&gt;    &lt;p&gt;&lt;font face="Courier New"&gt;witadmin exportwitd /s http://server:8080/tfs /p Project1 /n Task /f Task.xml&lt;/font&gt;&lt;/p&gt;    &lt;p&gt;&lt;font face="Courier New"&gt;witadmin exportwitd /s http://server:8080/tfs /p Project1 /n Scenario /f Scenario.xml&lt;/font&gt;&lt;/p&gt; &lt;/blockquote&gt;  &lt;p&gt;&lt;em&gt;Note: Replace the server URL (&lt;/em&gt;&lt;em&gt;http://server:8080/tfs&lt;/em&gt;&lt;em&gt;) and project name (Project1) with your own values.&lt;/em&gt;&lt;/p&gt;  &lt;p&gt;Compare the exported XML files against the ones included in the sample script ZIP file:&lt;/p&gt;  &lt;ul&gt;   &lt;li&gt;Agile5\TypeDefinitions\UpdatedBug.xml &lt;/li&gt;    &lt;li&gt;Agile5\TypeDefinitions\UpdatedTask.xml &lt;/li&gt;    &lt;li&gt;Agile5\TypeDefinitions\UpdatedScenario.xml &lt;/li&gt; &lt;/ul&gt;  &lt;p&gt;The only differences you see should be the newly added sections on updated work item type definitions for enabling new features. Such changes are enclosed between the following comments:&lt;/p&gt;  &lt;blockquote&gt;   &lt;p&gt;&lt;font face="Courier New"&gt;&amp;lt;!-- New fields/controls for Test Case Management –&amp;gt;        &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160; ...         &lt;br /&gt;&amp;lt;!-- End new fields/controls for Test Case Management –&amp;gt; &lt;/font&gt;&lt;/p&gt;    &lt;p&gt;&lt;font face="Courier New"&gt;&lt;/font&gt;&lt;/p&gt;    &lt;p&gt;&lt;font face="Courier New"&gt;&lt;/font&gt;&amp;#160;&lt;/p&gt;    &lt;p&gt;&lt;font face="Courier New"&gt;&amp;lt;!-- New fields/controls for Agile Planning Workbook –&amp;gt;        &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160; ...         &lt;br /&gt;&amp;lt;!-- End new fields/controls for Agile Planning Workbook --&amp;gt;&lt;/font&gt;&lt;/p&gt; &lt;/blockquote&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;Any questions or feedback? Just &lt;a href="http://blogs.msdn.com/hakane/contact.aspx"&gt;send me an email&lt;/a&gt;.&lt;/p&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9632338" width="1" height="1"&gt;</description></item><item><title>Sample Script to Enable New Features in Upgraded Team Projects (TFS 2010 Beta1)</title><link>http://blogs.msdn.com/b/hakane/archive/2009/05/20/sample-script-to-enable-new-features-in-upgraded-team-projects-tfs-2010-beta1.aspx</link><pubDate>Wed, 20 May 2009 14:45:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9632094</guid><dc:creator>Hakan Eskici</dc:creator><slash:comments>6</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.msdn.com/b/hakane/rsscomments.aspx?WeblogPostID=9632094</wfw:commentRss><comments>http://blogs.msdn.com/b/hakane/archive/2009/05/20/sample-script-to-enable-new-features-in-upgraded-team-projects-tfs-2010-beta1.aspx#comments</comments><description>&lt;H2&gt;Introduction&lt;/H2&gt;
&lt;P&gt;When you upgrade your existing Team Foundation Server to version 2010, upgraded team projects will work as before. However, you need to make some changes to these team projects if you want to enable the following features:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Test Case Management &lt;/LI&gt;
&lt;LI&gt;Agile Planning Workbooks &lt;/LI&gt;
&lt;LI&gt;Branch Visualization &lt;/LI&gt;
&lt;LI&gt;Lab Management &lt;/LI&gt;&lt;/UL&gt;
&lt;P&gt;In this post, I’m providing a sample script to help you with many of the steps. For complete information about enabling these features, see the following article:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;A href="http://go.microsoft.com/fwlink/?LinkId=146019" target=_blank&gt;Enabling New Features of Visual Studio Team System 2010 Beta 1 in Upgraded Projects&lt;/A&gt; &lt;/LI&gt;&lt;/UL&gt;
&lt;H2&gt;Required Changes&lt;/H2&gt;
&lt;P&gt;Refer to the table below for a summary of the required changes to enable the new features for upgraded team projects. Note that these changes are only necessary for the team projects that existed before the upgrade. If you are creating new team projects, all of these features are enabled by default.&lt;/P&gt;
&lt;TABLE border=1 cellSpacing=0 cellPadding=2 width=600&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD vAlign=top width=300&gt;&lt;STRONG&gt;Feature&lt;/STRONG&gt;&lt;/TD&gt;
&lt;TD vAlign=top width=300&gt;&lt;STRONG&gt;Requirements&lt;/STRONG&gt;&lt;/TD&gt;&lt;/TR&gt;
&lt;TR&gt;
&lt;TD vAlign=top width=300&gt;Test Case Management&lt;/TD&gt;
&lt;TD vAlign=top width=300&gt;
&lt;UL&gt;
&lt;LI&gt;Add Test Case and Shared Step work item types (*) &lt;/LI&gt;
&lt;LI&gt;Update existing Bug and Scenario work item types (*) &lt;/LI&gt;
&lt;LI&gt;Add new link types (*) &lt;/LI&gt;
&lt;LI&gt;Add work item categories (*) &lt;/LI&gt;&lt;/UL&gt;&lt;/TD&gt;&lt;/TR&gt;
&lt;TR&gt;
&lt;TD vAlign=top width=300&gt;Agile Planning Workbooks&lt;/TD&gt;
&lt;TD vAlign=top width=300&gt;
&lt;UL&gt;
&lt;LI&gt;Update existing Task and Scenario work item types (*) &lt;/LI&gt;
&lt;LI&gt;Create iteration and product backlog queries &lt;/LI&gt;
&lt;LI&gt;Bind workbooks against the queries &lt;/LI&gt;
&lt;LI&gt;Modify workbook document properties &lt;/LI&gt;&lt;/UL&gt;&lt;/TD&gt;&lt;/TR&gt;
&lt;TR&gt;
&lt;TD vAlign=top width=300&gt;Lab Management&lt;/TD&gt;
&lt;TD vAlign=top width=300&gt;
&lt;UL&gt;
&lt;LI&gt;Grant lab management permissions to user groups &lt;/LI&gt;
&lt;LI&gt;Provision lab resources &lt;/LI&gt;&lt;/UL&gt;&lt;/TD&gt;&lt;/TR&gt;
&lt;TR&gt;
&lt;TD vAlign=top width=300&gt;Reports&lt;/TD&gt;
&lt;TD vAlign=top width=300&gt;
&lt;UL&gt;
&lt;LI&gt;Update your existing reports to work against the new warehouse&lt;/LI&gt;&lt;/UL&gt;&lt;/TD&gt;&lt;/TR&gt;
&lt;TR&gt;
&lt;TD vAlign=top width=300&gt;Branch Visualization&lt;/TD&gt;
&lt;TD vAlign=top width=300&gt;
&lt;UL&gt;
&lt;LI&gt;Convert branches using source control explorer &lt;/LI&gt;&lt;/UL&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;
&lt;P&gt;(*): You can use the sample script attached to this article to make these changes marked with (*) in the table above. &lt;/P&gt;
&lt;P&gt;However, this sample script is designed to work if the following are true: &lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;You are using the Beta1 (English) version of Team Foundation Server 2010 &lt;/LI&gt;
&lt;LI&gt;Your team project was created with the English language version of “MSF for Agile Software Development - v4.2” process template before you upgraded your Team Foundation Server &lt;/LI&gt;
&lt;LI&gt;No modifications have been made to the work item type definitions on your team project before or after the upgrade &lt;/LI&gt;
&lt;LI&gt;You are running the script on an English operating system &lt;/LI&gt;&lt;/UL&gt;
&lt;P&gt;You need to either modify the sample script, or create your own if:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Your team project was created with a process template other than “MSF for Agile Software Development v4.2” (English) &lt;/LI&gt;
&lt;LI&gt;You have made modifications to the out of box work item type definitions on your team project &lt;/LI&gt;
&lt;LI&gt;Your team project already has an existing Test Case work item type &lt;/LI&gt;
&lt;LI&gt;You want to use the existing “Repro Steps” field on your Bug work item type &lt;/LI&gt;
&lt;LI&gt;You are using a non-English Team Foundation Server &lt;/LI&gt;&lt;/UL&gt;
&lt;H2&gt;Sample Script&lt;/H2&gt;
&lt;P&gt;The attached ZIP file contains the script and updated MSF for Agile 4.2 work item type definitions. You must be a project collection administrator to run this script. The script requires the witadmin.exe utility which is installed by Team Explorer and Team Foundation Server.&lt;/P&gt;
&lt;P&gt;To use the script, download and extract it to a local directory such as C:\Upgrade. Before you run the script, open “EnableFeatures.bat” in a text editor and complete the configuration by specifying values for the following: &lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Team Foundation Server URL &lt;/LI&gt;
&lt;LI&gt;Name of the team project collection &lt;/LI&gt;
&lt;LI&gt;Name of the team project &lt;/LI&gt;
&lt;LI&gt;Path to witadmin.exe utility &lt;/LI&gt;
&lt;LI&gt;Set ConfigComplete = 1 to indicate that you’ve completed this step &lt;/LI&gt;&lt;/UL&gt;
&lt;P&gt;&lt;FONT color=#ff0000&gt;&lt;STRONG&gt;Important&lt;/STRONG&gt;: This script will only work against “unmodified” team projects created with “MSF for Agile Software Development – v4.2” process templates on Beta1 version of Team Foundation Server 2010.&lt;/FONT&gt;&lt;/P&gt;
&lt;TABLE border=0 cellSpacing=2 cellPadding=2 width=400&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD vAlign=top width=60&gt;&lt;A href="http://blogs.msdn.com/hakane/attachment/9632094.ashx" mce_href="http://blogs.msdn.com/hakane/attachment/9632094.ashx"&gt;&lt;IMG style="BORDER-RIGHT-WIDTH: 0px; DISPLAY: inline; BORDER-TOP-WIDTH: 0px; BORDER-BOTTOM-WIDTH: 0px; BORDER-LEFT-WIDTH: 0px" title=image border=0 alt="Download the Sample Script" src="http://blogs.msdn.com/blogfiles/hakane/WindowsLiveWriter/SampleScripttoenablenewfeaturesinupgrade_7DE0/image_thumb.png" width=45 height=45 mce_src="http://blogs.msdn.com/blogfiles/hakane/WindowsLiveWriter/SampleScripttoenablenewfeaturesinupgrade_7DE0/image_thumb.png"&gt;&lt;/A&gt; &lt;/TD&gt;
&lt;TD vAlign=top width=340&gt;&lt;A href="http://blogs.msdn.com/hakane/attachment/9632094.ashx" mce_href="http://blogs.msdn.com/hakane/attachment/9632094.ashx"&gt;&lt;BR&gt;&lt;STRONG&gt;Download the Sample Script&lt;/STRONG&gt;&lt;/A&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;
&lt;H2&gt;&amp;nbsp;&lt;/H2&gt;
&lt;H2&gt;What does the script do?&lt;/H2&gt;
&lt;P&gt;The script is a simple batch file that uses the witadmin.exe utility to make the following changes:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Saves a backup of your existing Bug, Task and Scenario work item types &lt;/LI&gt;
&lt;LI&gt;Adds new link types (Test Case / Shared Steps and Tests / Tested By) &lt;/LI&gt;
&lt;LI&gt;Adds new work item types (Test Case and Shared Step) &lt;/LI&gt;
&lt;LI&gt;Overwrites Bug, Task and Scenario work item types &lt;/LI&gt;
&lt;LI&gt;Adds work item categories &lt;/LI&gt;&lt;/UL&gt;
&lt;H2&gt;Questions?&lt;/H2&gt;
&lt;P&gt;For answers to frequently asked questions such as how to determine whether your team project is “unmodified”, see my follow up blog post:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;A href="http://blogs.msdn.com/hakane/archive/2009/05/20/faq-on-the-sample-script-to-enable-new-features-in-upgraded-team-projects.aspx"&gt;&lt;STRONG&gt;FAQ on the Sample Script to Enable New Features in Upgraded Team Projects&lt;/STRONG&gt;&lt;/A&gt;&lt;/LI&gt;&lt;/UL&gt;
&lt;P&gt;If you have any questions about the script, feel free to &lt;A href="http://blogs.msdn.com/hakane/contact.aspx" mce_href="http://blogs.msdn.com/hakane/contact.aspx"&gt;contact me&lt;/A&gt;.&lt;/P&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9632094" width="1" height="1"&gt;</description><enclosure url="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-components-postattachments/00-09-63-20-94/SampleScript.zip" length="18889" type="application/x-zip-compressed" /></item><item><title>Enable Branch Visualization in Upgraded Team Projects (TFS 2010 Beta1)</title><link>http://blogs.msdn.com/b/hakane/archive/2009/05/19/enable-branch-visualization-in-upgraded-team-projects-tfs-2010-beta1.aspx</link><pubDate>Tue, 19 May 2009 23:29:51 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9629475</guid><dc:creator>Hakan Eskici</dc:creator><slash:comments>5</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.msdn.com/b/hakane/rsscomments.aspx?WeblogPostID=9629475</wfw:commentRss><comments>http://blogs.msdn.com/b/hakane/archive/2009/05/19/enable-branch-visualization-in-upgraded-team-projects-tfs-2010-beta1.aspx#comments</comments><description>&lt;p&gt;As part of the series on “enabling new features in upgraded team projects”; &lt;strong&gt;Jamie Cool&lt;/strong&gt;, our Lead Program Manager on Team Foundation Server team, talks about enabling branch visualization features in upgraded team projects:&lt;/p&gt;  &lt;div style="border-bottom: #cccccc 1px solid; border-left: #cccccc 1px solid; background-color: #ffffee; border-top: #cccccc 1px solid; border-right: #cccccc 1px solid"&gt;   &lt;blockquote&gt;     &lt;p&gt;In Team Foundation Server 2010, we have significantly enhanced the concept of a branch. We have added functionality to branches such as:&lt;/p&gt;      &lt;ol&gt;       &lt;li&gt;Branches can now be clearly identified in the source control explorer. &lt;/li&gt;        &lt;li&gt;You can now visualize your branch hierarchy and visually track your code changes as they move through your branches. &lt;/li&gt;        &lt;li&gt;You can assign branch operation security.&amp;#160; Ex. Who can create/delete a branch and who can merge a branch. &lt;/li&gt;        &lt;li&gt;Branches now have checks in place to discourage poor branching structures. &lt;/li&gt;     &lt;/ol&gt;      &lt;p&gt;In order to take advantage of these new features, you will need to convert your previously branched folders to fully fledged branches. The steps for doing this are as follows:&lt;/p&gt;      &lt;ol&gt;       &lt;li&gt;Identify the branch structure you are currently using. If you would like to change your branch structure, now may be a good time to do so, but it is not necessary. &lt;/li&gt;        &lt;li&gt;Identify the folder in your solution explorer mapped to your parent (top level) branch. &lt;/li&gt;        &lt;li&gt;Right click on that folder. On the context menu select “Branching and Merging” &amp;amp; then “Convert Folder to Branch”.&amp;#160; This will open a dialog for doing the conversion of a folder to a branch.&amp;#160; &lt;/li&gt;        &lt;li&gt;At the bottom of the dialog, check the “Recursively perform this conversion for all branched child folders”. &lt;/li&gt;        &lt;li&gt;Next click the “Convert” button. This will upgrade this folder to a branch. It will also walk the branch tree and convert all folders that have been branched from this folder. &lt;/li&gt;        &lt;li&gt;Your branches should now be shown with the branch icon in the source control explorer tree.&amp;#160; &lt;/li&gt;        &lt;li&gt;If you have any folders that had their relationship established via Baseless Merge, you will need to use the “Reparent Branch” option from the “Branching &amp;amp; Merging” context menu to establish the parent/child relationship in the branch hierarchy. &lt;/li&gt;        &lt;li&gt;Repeat these steps for all remaining branch trees in your solution. &lt;/li&gt;     &lt;/ol&gt;      &lt;p&gt;Now that you have completed this step, you should be able to take advantage of the powerful new branching features in Team Foundation Server 2010. You can now view your branch structure visually by selecting “Branching and Merging” and then “View Hierarchy” from the branch context menu. You can also choose to “Track Changes” from a work item’s context menu to see how the changeset associated with that work item has moved through your various branches.&amp;#160;&amp;#160;&amp;#160; &lt;/p&gt;      &lt;p&gt;You can check out the MSDN documentation on Branch Visualization to learn more about the capabilities available to you:&lt;/p&gt;      &lt;ul&gt;       &lt;li&gt;&lt;a href="http://msdn.microsoft.com/en-us/library/dd465202(VS.100).aspx"&gt;How to: View the Branch Hierarchy of a Team Project&lt;/a&gt; &lt;/li&gt;        &lt;li&gt;&lt;a href="http://msdn.microsoft.com/en-us/library/dd405662(VS.100).aspx"&gt;How to: View Where and When Changesets Have Been Merged&lt;/a&gt; &lt;/li&gt;     &lt;/ul&gt;      &lt;p&gt;       &lt;br /&gt;Enjoy!&lt;/p&gt;      &lt;p&gt;Jamie Cool&lt;/p&gt;   &lt;/blockquote&gt; &lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9629475" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/b/hakane/archive/tags/TFS/">TFS</category><category domain="http://blogs.msdn.com/b/hakane/archive/tags/VSTS2010/">VSTS2010</category><category domain="http://blogs.msdn.com/b/hakane/archive/tags/TFSUpgrade/">TFSUpgrade</category></item></channel></rss>