<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:atom="https://www.w3.org/2005/Atom" xmlns:sy="https://purl.org/rss/1.0/modules/syndication/" xmlns:dc="https://purl.org/dc/elements/1.1/" xmlns:content="https://purl.org/rss/1.0/modules/content/" xmlns:wfw="https://wellformedweb.org/CommentAPI/" xmlns:slash="https://purl.org/rss/1.0/modules/slash/"
  version="2.0">
  <channel>
    <title>Team Foundation Server</title>
    <atom:link
      href="https://docs.microsoft.com/archive/blogs/lakhminder/feed.xml"
      rel="self"
      type="application/rss+xml" />
    <link>https://docs.microsoft.com/archive/blogs/lakhminder/feed.xml</link>
    <description />
    <lastBuildDate>Wed, 17 Apr 2019 03:23:33 GMT</lastBuildDate>
    <language>en-US</language>
    <sy:updatePeriod>hourly</sy:updatePeriod>
    <sy:updateFrequency>1</sy:updateFrequency>
    <item>
      <title>Get TFS 2010 users in area paths</title>
      <link>https://docs.microsoft.com/archive/blogs/lakhminder/get-tfs-2010-users-in-area-paths</link>
      <pubDate>Wed, 14 Dec 2011 16:09:49 GMT</pubDate>
      <dc:creator><![CDATA[Lakhminder]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/lakhminder/2011/12/14/get-tfs-2010-users-in-area-paths/</guid>
      <description><![CDATA[&#160;  Checkout this new tool that I just uploaded to codeplex!!  This tool can get the “expanded”...]]></description>
      <content:encoded><![CDATA[<p>&#160;</p>  <p>Checkout <a href="https://gettfsareausers.codeplex.com/">this</a> new tool that I just uploaded to codeplex!!</p>  <p>This tool can get the “expanded” security group membership on all “Areas” for all team projects in a given collection.    <br /></p>  <p>This can be handy when you want to troubleshoot an orphan user issue in TFS. So an orphan user would be a user that has been removed from all server\project level security groups in TFS but still end up showing as a member of the Project Collection Valid Users group. One of the reasons why this could happen is because the user has a direct permission assigned to it in some Area in some Team Project in the collection. This is where this small tool can help you. It goes through each team project in a TPC, and for each Team Project it iterates through each defined Area and then it dumps out the security group membership for each area.   <br /></p>  <p><strong>Pre-requisite:     <br /></strong>Needs to be run on the TFS 2010 App Tier machine (because it has dependency on a TFS server side assembly)    <br /></p>  <p><strong>Usage:      <br /></strong>GetAreas.exe “Collection Uri”    <br /></p>  <p><strong>Example:      <br /></strong>GetAreas.exe “https://server:8080/tfs/DefaultCollection”    <br />Or     <br />GetAreas.exe https://server:8080/tfs/DefaultCollection &gt; Dump.txt</p>]]></content:encoded>
    </item>
    <item>
      <title>GetUsers Version 1.0 on codeplex</title>
      <link>https://docs.microsoft.com/archive/blogs/lakhminder/getusers-version-1-0-on-codeplex</link>
      <pubDate>Wed, 16 Nov 2011 14:04:12 GMT</pubDate>
      <dc:creator><![CDATA[Lakhminder]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/lakhminder/2011/11/16/getusers-version-1-0-on-codeplex/</guid>
      <description><![CDATA[&#160;  Check out this tool that I just published to https://gettfsusers.codeplex.com. ]]></description>
      <content:encoded><![CDATA[<p>&#160;</p>  <p>Check out this tool that I just published to <a href="https://gettfsusers.codeplex.com">https://gettfsusers.codeplex.com</a>. </p>]]></content:encoded>
    </item>
    <item>
      <title>Performing a WSS 2.0 migration upgrade to WSS 3.0 as part of the TFS 2010 migration upgrade experience</title>
      <link>https://docs.microsoft.com/archive/blogs/lakhminder/performing-a-wss-2-0-migration-upgrade-to-wss-3-0-as-part-of-the-tfs-2010-migration-upgrade-experience</link>
      <pubDate>Fri, 02 Sep 2011 16:33:54 GMT</pubDate>
      <dc:creator><![CDATA[Lakhminder]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/lakhminder/2011/09/02/performing-a-wss-2-0-migration-upgrade-to-wss-3-0-as-part-of-the-tfs-2010-migration-upgrade-experience/</guid>
      <description><![CDATA[&#160;  I am writing this post as I have got a lot of people who wanted a post on this scenario....]]></description>
      <content:encoded><![CDATA[<p>&#160;</p>  <p>I am writing this post as I have got a lot of people who wanted a post on this scenario.</p>  <p>&#160;</p>  <p>So here it goes. I will be referring you to the steps in my earlier post on performing a side-by-side upgrade from WSS 2.0 to WSS 3.0 for TFS 2008 posted <a href="https://blogs.msdn.com/b/lakhminder/archive/2008/07/08/upgrading-wss-2-0-to-wss-3-0-after-a-tfs-upgrade.aspx">here</a>.</p>  <p>Here is what you need to do:</p>  <p>#1 Run the pre-scan tool for WSS 3.0 on the WSS 2.0 machine</p>  <p>Download the WSS 3.0 Pre-Scan tool from the download center:   <br /><a href="https://www.microsoft.com/downloads/details.aspx?FamilyID=e8a00b1f-6f45-42cd-8e56-e62c20feb2f1&amp;DisplayLang=en">https://www.microsoft.com/downloads/details.aspx?FamilyID=e8a00b1f-6f45-42cd-8e56-e62c20feb2f1&amp;DisplayLang=en</a></p>  <p>Open a command prompt windows &amp; change to the folder where you have downloaded the pre-scan tool. Run the pre-scan tool as:   <br />PreScan /ALL</p>  <p>#2 Take a backup of the WSS 2.0 content database</p>  <p>#3 Restore the backup to the SQL machine for your TFS 2010 server</p>  <p>#4 Install and configure WSS 3.0 with SP2 on the TFS 2010 machine. You have to select advanced and server farm options during the installation process for WSS 3.0. Post installation you have to run the SharePoint Products and technology wizard to configure SharePoint. (follow guidance in step 7 &amp; 8 in <a title="https://blogs.msdn.com/b/lakhminder/archive/2008/07/08/upgrading-wss-2-0-to-wss-3-0-after-a-tfs-upgrade.aspx" href="https://blogs.msdn.com/b/lakhminder/archive/2008/07/08/upgrading-wss-2-0-to-wss-3-0-after-a-tfs-upgrade.aspx">https://blogs.msdn.com/b/lakhminder/archive/2008/07/08/upgrading-wss-2-0-to-wss-3-0-after-a-tfs-upgrade.aspx</a>)</p>  <p>#5 Extend the default web site with a temporary contentdb(step 9 in <a title="https://blogs.msdn.com/b/lakhminder/archive/2008/07/08/upgrading-wss-2-0-to-wss-3-0-after-a-tfs-upgrade.aspx" href="https://blogs.msdn.com/b/lakhminder/archive/2008/07/08/upgrading-wss-2-0-to-wss-3-0-after-a-tfs-upgrade.aspx">https://blogs.msdn.com/b/lakhminder/archive/2008/07/08/upgrading-wss-2-0-to-wss-3-0-after-a-tfs-upgrade.aspx</a>).</p>  <p>#6 Un-attach the temporary content db and attach the restored db from #3 above (This is covered in step 10 in <a title="https://blogs.msdn.com/b/lakhminder/archive/2008/07/08/upgrading-wss-2-0-to-wss-3-0-after-a-tfs-upgrade.aspx" href="https://blogs.msdn.com/b/lakhminder/archive/2008/07/08/upgrading-wss-2-0-to-wss-3-0-after-a-tfs-upgrade.aspx">https://blogs.msdn.com/b/lakhminder/archive/2008/07/08/upgrading-wss-2-0-to-wss-3-0-after-a-tfs-upgrade.aspx</a>)</p>  <p>That’s it, from this point on you can use the TFS 2010 upgrade wizard and include SharePoint as part of the upgrade experience.</p>]]></content:encoded>
    </item>
    <item>
      <title>TFS 2010 and Url Scan</title>
      <link>https://docs.microsoft.com/archive/blogs/lakhminder/tfs-2010-and-url-scan</link>
      <pubDate>Thu, 03 Feb 2011 16:58:42 GMT</pubDate>
      <dc:creator><![CDATA[Lakhminder]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/lakhminder/2011/02/03/tfs-2010-and-url-scan/</guid>
      <description><![CDATA[In case you are or planning to use URL Scan on top of IIS server which is part of your TFS...]]></description>
      <content:encoded><![CDATA[<p>In case you are or planning to use URL Scan on top of IIS server which is part of your TFS deployment. Here is a sample UrlScanConfig file that I have used (things in yellow deserve a look):</p> <p>&nbsp;</p> <p>[options]</p> <p><font style="background-color: #ffff00">UseAllowVerbs=0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ; If 1, use [AllowVerbs] section, else use the<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ; [DenyVerbs] section.&nbsp;&nbsp; The default is 1.</font></p> <p>UseAllowExtensions=0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ; If 1, use [AllowExtensions] section, else<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ; use the [DenyExtensions] section. The<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ; default is 0.</p> <p>NormalizeUrlBeforeScan=1&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ; If 1, canonicalize URL before processing.<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ; The default is 1.&nbsp; Note that setting this<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ; to 0 will make checks based on extensions,<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ; and the URL unreliable and is therefore not<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ; recommend other than for testing.</p> <p>VerifyNormalization=1&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ; If 1, canonicalize URL twice and reject<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ; request if a change occurs.&nbsp; The default<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ; is 1.</p> <p>AllowHighBitCharacters=0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ; If 1, allow high bit (ie. UTF8 or MBCS)<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ; characters in URL.&nbsp; The default is 0.</p> <p>AllowDotInPath=1&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ; If 1, allow dots that are not file<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ; extensions. The default is 0. Note that<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ; setting this property to 1 will make checks<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ; based on extensions unreliable and is<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ; therefore not recommended other than for<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ; testing.</p> <p>&nbsp;</p> <p><font style="background-color: #ffff00">RemoveServerHeader=0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ; If 1, remove the 'Server' header from<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ; response.&nbsp; The default is 0.</font></p> <p><font style="background-color: #ffff00">;**Note setting RemoveServerHeader to 1 will cause the Team Project Creation fail with 400 bad request error while uploading files to WSS document list libraries</font></p> <p>&nbsp;</p> <p>EnableLogging=1&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ; If 1, log UrlScan activity.&nbsp; The<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ; default is 1.&nbsp; Changes to this property<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ; will not take effect until UrlScan is<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ; restarted.</p> <p>PerProcessLogging=0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ; This property is deprecated for UrlScan<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ; 3.0 and later.&nbsp; UrlScan 3.0 and later can<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ; safely log output from multiple processes<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ; to the same log file.&nbsp; Changes to this<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ; property will not take effect until<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ; UrlScan is restarted.</p> <p>AllowLateScanning=0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ; If 1, then UrlScan will load as a low<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ; priority filter.&nbsp; The default is 0.&nbsp; Note<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ; that this setting should only be used in<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ; the case where there another installed<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ; filter is modifying the URL and you wish<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ; to have UrlScan apply its rules to the<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ; rewritten URL.&nbsp; Changes to this property<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ; will not take effect until UrlScan is<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ; restarted.</p> <p>PerDayLogging=1&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ; If 1, UrlScan will produce a new log each<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ; day with activity in the form<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ; 'UrlScan.010101.log'. If 0, UrlScan will<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ; log activity to urlscan.log.&nbsp; The default<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ; is 1.&nbsp; Changes to this setting will not<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ; take effect until UrlScan is restarted.</p> <p>UseFastPathReject=0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ; If 1, then UrlScan will not use the<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ; RejectResponseUrl.&nbsp; On IIS versions less<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ; than 6.0, this will also prevent IIS<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ; from writing rejected requests to the<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ; W3SVC log.&nbsp; UrlScan will log rejected<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ; requests regardless of this setting.&nbsp; The<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ; default is 0.</p> <p>LogLongUrls=0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ; This property is deprecated for UrlScan 3.0<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ; and later. UrlScan 3.0 and later will<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ; always include the complete URL in its log<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ; file.</p> <p>UnescapeQueryString=1&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ; If 1, UrlScan will perform two passes on<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ; each query string scan, once with the raw<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ; query string and once after unescaping it.<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ; If 0, UrlScan will only look at the raw<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ; query string as sent by the client.&nbsp; The<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ; default is 1. Note that if this property is<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ; set to 0, then checks based on the query<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ; string will be unreliable.</p> <p>;<br />; If UseFastPathReject is 0, then UrlScan will send<br />; rejected requests to the URL specified by RejectResponseUrl.<br />; If not specified, '/Rejected-by-UrlScan' will be used.<br />; Changes to this setting will not take effect until UrlScan<br />; is restarted.<br />;<br />; Note that setting "RejectResponseUrl=/~*" will put UrlScan into Logging<br />; Only Mode.&nbsp; In this mode, UrlScan will process all requests per the<br />; config settings, but it will only log the results and not actually<br />; reject the requests.&nbsp; This mode is useful for testing UrlScan settings<br />; on a production server without actually interrupting requests.<br />;</p> <p>RejectResponseUrl=</p> <p>;<br />; LoggingDirectory can be used to specify the directory where the<br />; log file will be created.&nbsp; This value should be the absolute path<br />; (ie. c:\some\path).&nbsp; If not specified, then UrlScan will create<br />; the log in the same directory where the UrlScan.dll file is located.<br />; Changes to this setting will not take effect until UrlScan is<br />; restarted.<br />;</p> <p>LoggingDirectory=Logs</p> <p>;<br />; If RemoveServerHeader is 0, then AlternateServerName can be<br />; used to specify a replacement for IIS's built in 'Server' header<br />;</p> <p>AlternateServerName=</p> <p>;<br />; UrlScan supports custom rules that can be applied in addition to the other<br />; checks and options specified in this configuration file.&nbsp; Rules should be<br />; listed in a comma separated string in the RuleList property.&nbsp; Each rule in<br />; the list corresponds to two sections in this configuration file, one<br />; containing the options for the rule, and one containing deny strings for<br />; the rule.<br />;<br />; Here is an example:<br />;<br />;&nbsp;&nbsp; [Options]<br />;&nbsp;&nbsp; RuleList=Rule1<br />;<br />;&nbsp;&nbsp; [Rule1]<br />;&nbsp;&nbsp; AppliesTo=.exe,.dll&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ; A comma separated list of file extensions to<br />;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ; which the rule applies.&nbsp; If not specified,<br />;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ; the rule will be applied to all requests.<br />;<br />;&nbsp;&nbsp; DenyDataSection=Rule1 Data ; The name of the section containing the<br />;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ; rule's deny strings<br />;<br />;&nbsp;&nbsp; ScanURL=0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ; If 1, the URL will be scanned for deny<br />;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ; strings. The default is 0.<br />;<br />;&nbsp;&nbsp; ScanAllRaw=0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ; If 1, then the raw request header data will<br />;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ; be scanned for deny strings.&nbsp; The default<br />;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ; is 0.<br />;<br />;&nbsp;&nbsp; ScanQueryString=0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ; If 1, the the query string will be scanned<br />;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ; for deny strings.&nbsp; The default is 0.&nbsp; Note<br />;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ; that if UnescapeQueryString=1 is set in the<br />;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ; [Options] section, then two scans will be<br />;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ; made of the query string, one with the raw<br />;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ; query string and one with the query string<br />;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ; unescaped.<br />;<br />;&nbsp;&nbsp; ScanHeaders=&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ; A comma separated list of request headers to<br />;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ; be scanned for deny strings.&nbsp; The default is<br />;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ; no headers.<br />;<br />;&nbsp;&nbsp; DenyUnescapedPercent=0&nbsp;&nbsp;&nbsp;&nbsp; ; If 1, UrlScan will scan the specified part<br />;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ; of the raw request for a % character that is<br />;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ; not used as an escape sequence.&nbsp; If found,<br />;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ; the request will be rejected.&nbsp; This check<br />;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ; can be used with ScanQueryString=1,<br />;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ; ScanAllRaw=1, or the list of ScanHeaders.<br />;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ; The default is 0.&nbsp; Note that if you want to<br />;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ; deny non-escaped % characters in the URL,<br />;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ; you can set VerifyNormalization=0 in the<br />;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ; [Options] section and then add % as a<br />;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ; [DenyUrlSequences] entry.<br />;<br />;&nbsp;&nbsp; [Rule1 data]<br />;&nbsp;&nbsp; string1<br />;&nbsp;&nbsp; string2<br />;</p> <p>RuleList=</p> <p>[RequestLimits]</p> <p>;<br />; The entries in this section impose limits on the length<br />; of allowed parts of requests reaching the server.<br />;<br />; It is possible to impose a limit on the length of the<br />; value of a specific request header by prepending "Max-" to the<br />; name of the header.&nbsp; For example, the following entry would<br />; impose a limit of 100 bytes to the value of the<br />; 'Content-Type' header:<br />;<br />;&nbsp;&nbsp; Max-Content-Type=100<br />;<br />; Any headers not listed in this section will not be checked for<br />; length limits.<br />;<br />; There are 3 special case limits:<br />;<br />;&nbsp;&nbsp; - MaxAllowedContentLength specifies the maximum allowed<br />;&nbsp;&nbsp;&nbsp;&nbsp; numeric value of the Content-Length request header.&nbsp; For<br />;&nbsp;&nbsp;&nbsp;&nbsp; example, setting this to 1000 would cause any request<br />;&nbsp;&nbsp;&nbsp;&nbsp; with a content length that exceeds 1000 to be rejected.<br />;&nbsp;&nbsp;&nbsp;&nbsp; The default is 30000000.<br />;<br />;&nbsp;&nbsp; - MaxUrl specifies the maximum length of the request URL,<br />;&nbsp;&nbsp;&nbsp;&nbsp; not including the query string. The default is 260 (which<br />;&nbsp;&nbsp;&nbsp;&nbsp; is equivalent to MAX_PATH).<br />;<br />;&nbsp;&nbsp; - MaxQueryString specifies the maximum length of the query<br />;&nbsp;&nbsp;&nbsp;&nbsp; string.&nbsp; The default is 2048.<br />;</p> <p>MaxAllowedContentLength=30000000<br />MaxUrl=260<br />MaxQueryString=2048</p> <p><font style="background-color: #ffff00">[AllowVerbs]</font></p> <p><font style="background-color: #ffff00">;<br />; The verbs (aka HTTP methods) listed here are those commonly<br />; processed by a typical IIS server.<br />;<br />; Note that these entries are effective if "UseAllowVerbs=1"<br />; is set in the [Options] section above.<br />;</font></p> <p><font style="background-color: #ffff00">GET<br />HEAD<br />POST<br />OPTIONS<br />SEARCH<br />PUT</font></p> <p>[DenyVerbs]</p> <p>;<br />; The verbs (aka HTTP methods) listed here are used for publishing<br />; content to an IIS server via WebDAV.<br />;<br />; Note that these entries are effective if "UseAllowVerbs=0"<br />; is set in the [Options] section above.<br />;</p> <p>PROPFIND<br />PROPPATCH<br />MKCOL<br />DELETE<br />COPY<br />MOVE<br />LOCK<br />UNLOCK</p> <p><br />[DenyHeaders]</p> <p>;<br />; The following request headers alter processing of a<br />; request by causing the server to process the request<br />; as if it were intended to be a WebDAV request, instead<br />; of a request to retrieve a resource.<br />;</p> <p>Translate:<br />If:<br />Lock-Token:<br />Transfer-Encoding:</p> <p>[AllowExtensions]</p> <p>;<br />; Extensions listed here are commonly used on a typical IIS server.<br />;<br />; Note that these entries are effective if "UseAllowExtensions=1"<br />; is set in the [Options] section above.<br />;</p> <p>.htm<br />.html<br />.txt<br />.jpg<br />.jpeg<br />.gif</p> <p>[DenyExtensions]</p> <p>;<br />; Extensions listed here either run code directly on the server,<br />; are processed as scripts, or are static files that are<br />; generally not intended to be served out.<br />;<br />; Note that these entries are effective if "UseAllowExtensions=0"<br />; is set in the [Options] section above.<br />;<br />; Also note that ASP scripts are denied with the below<br />; settings.&nbsp; If you wish to enable ASP, remove the<br />; following extensions from this list:<br />;&nbsp;&nbsp;&nbsp; .asp<br />;&nbsp;&nbsp;&nbsp; .cer<br />;&nbsp;&nbsp;&nbsp; .cdx<br />;&nbsp;&nbsp;&nbsp; .asa<br />;</p> <p>; Deny executables that could run on the server<br />.exe<br />.bat<br />.cmd<br />.com</p> <p>; Deny infrequently used scripts<br />.htw&nbsp;&nbsp;&nbsp;&nbsp; ; Maps to webhits.dll, part of Index Server<br />.ida&nbsp;&nbsp;&nbsp;&nbsp; ; Maps to idq.dll, part of Index Server<br />.idq&nbsp;&nbsp;&nbsp;&nbsp; ; Maps to idq.dll, part of Index Server<br />.htr&nbsp;&nbsp;&nbsp;&nbsp; ; Maps to ism.dll, a legacy administrative tool<br />.idc&nbsp;&nbsp;&nbsp;&nbsp; ; Maps to httpodbc.dll, a legacy database access tool<br />.shtm&nbsp;&nbsp;&nbsp; ; Maps to ssinc.dll, for Server Side Includes<br />.shtml&nbsp;&nbsp; ; Maps to ssinc.dll, for Server Side Includes<br />.stm&nbsp;&nbsp;&nbsp;&nbsp; ; Maps to ssinc.dll, for Server Side Includes<br />.printer ; Maps to msw3prt.dll, for Internet Printing Services</p> <p>; Deny various static files<br />.ini&nbsp;&nbsp;&nbsp;&nbsp; ; Configuration files<br />.log&nbsp;&nbsp;&nbsp;&nbsp; ; Log files<br />.pol&nbsp;&nbsp;&nbsp;&nbsp; ; Policy files<br />.dat&nbsp;&nbsp;&nbsp;&nbsp; ; Configuration files<br />.config&nbsp; ; Configuration files</p> <p>[AlwaysAllowedUrls]<br />;<br />; URLs listed here will always be explicitly allowed by UrlScan<br />; and will bypass all UrlScan checks.&nbsp; URLs must be listed<br />; with a leading '/' character.&nbsp; For example:<br />;<br />;&nbsp;&nbsp; /SampleURL.htm<br />;</p> <p>[DenyUrlSequences]<br />;<br />; If any character sequences listed here appear in the URL for<br />; any request, that request will be rejected.<br />;</p> <p>..&nbsp; ; Don't allow directory traversals<br />./&nbsp; ; Don't allow trailing dot on a directory name<br />\&nbsp;&nbsp; ; Don't allow backslashes in URL<br />:&nbsp;&nbsp; ; Don't allow alternate stream access<br />%&nbsp;&nbsp; ; Don't allow escaping after normalization<br />&amp;&nbsp;&nbsp; ; Don't allow multiple CGI processes to run on a single request</p> <p>[AlwaysAllowedQueryStrings]<br />;<br />; Query strings listed here will always be explicitly allowed by<br />; UrlScan and will bypass all query string based checks.<br />;</p> <p><br />[DenyQueryStringSequences]<br />;<br />; If any character sequences listed here appear in the query<br />; string for any request, that request will be rejected.<br />;</p> <p>&lt;&nbsp;&nbsp; ; Commonly used by script injection attacks<br />&gt;&nbsp;&nbsp; ; Commonly used by script injection attacks</p>]]></content:encoded>
    </item>
    <item>
      <title>TFS 2010: Delete alerts for all users</title>
      <link>https://docs.microsoft.com/archive/blogs/lakhminder/tfs-2010-delete-alerts-for-all-users</link>
      <pubDate>Thu, 18 Nov 2010 11:49:36 GMT</pubDate>
      <dc:creator><![CDATA[Lakhminder]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/lakhminder/2010/11/18/tfs-2010-delete-alerts-for-all-users/</guid>
      <description><![CDATA[Run the following query against the collection db: use Tfs_DefaultCollection --Select * from...]]></description>
      <content:encoded><![CDATA[<p>Run the following query against the collection db:</p> <p>use Tfs_DefaultCollection</p> <p>--Select * from tbl_EventSubscription</p> <p>Select 'bissubscribe /unsubscribe /id ' + CAST(id as varchar(255))+ ' /collection <a href="https://TFS2:8080/tfs/ProjectCollectionName'">https://TFS2:8080/tfs/ProjectCollectionName'</a><br />from dbo.tbl_EventSubscription<br />where ID&gt;1<br /></p> <p>&nbsp;</p> <p>Copy the o/p of the above sql , open notepad, paste &amp; save the file as a batch file.</p> <p>&nbsp;</p> <p>Open elevated command prompt &amp; change to %TFSInstallDir%\Tools folder and run the batch file from there.</p> <p>&nbsp;</p> <p>That’s it all alerts should be gone now.</p>]]></content:encoded>
    </item>
    <item>
      <title>Create TFS 2010 Reports for upgraded Team projects.</title>
      <link>https://docs.microsoft.com/archive/blogs/lakhminder/create-tfs-2010-reports-for-upgraded-team-projects</link>
      <pubDate>Wed, 29 Sep 2010 18:03:44 GMT</pubDate>
      <dc:creator><![CDATA[Lakhminder]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/lakhminder/2010/09/29/create-tfs-2010-reports-for-upgraded-team-projects/</guid>
      <description><![CDATA[&nbsp; Step #1: Export the MSF Agile\CMMI 5.0 process templates to a folder. In my examples the...]]></description>
      <content:encoded><![CDATA[<p>&nbsp; <p><b>Step #1: </b><b>Export the MSF Agile\CMMI 5.0 process templates to a folder. </b>In my examples the process template is downloaded in the following folders: <p>C:\MSF for Agile Software Development v5.0 <p>C:\MSF for CMMI Process Improvement v5.0 <p>Instructions to download process templates are available <a href="https://msdn.microsoft.com/en-us/library/ff452587.aspx">here</a>. <p><b>Step #2: Prepare the Reports Manager Site to host the new reports for the team project</b> <p>Example: <p>For a team project name A, browse the reports uri which would host the reports for the team project A. An example of this uri would be: <p>General Syntax: <p>https://&lt;reportservername&gt;/Reports/TfsReports/&lt;CollectionName&gt;/A <p>Example: <p>https://localhost/reports/tfsReports/defaultcollection/A <p><b><i>Note: For Server 2008\2008 R2, you would need to browse the reports site in an elevated IE browser window.</i></b> <p>Create a new folder, by clicking on “New Folder” option, in the https://localhost/reports/tfsReports/defaultcollection/A site and call it “Old Reports”.  <p><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/07/16/metablogapi/1581.clip_image001_2.jpg" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-01-07-16-metablogapi/1581.clip_5F00_image001_5F00_2.jpg"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="clip_image001" border="0" alt="clip_image001" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/07/16/metablogapi/2086.clip_image001_thumb.jpg" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-01-07-16-metablogapi/2086.clip_5F00_image001_5F00_thumb.jpg" width="441" height="175" /></a> <p>Move the existing rdl files to the newly created folder. You can click on “Show details” option. Doing so will enable you to select multiple reports &amp; move them to the “Old Reports” folder in a single operation. Click “Hide Details” after moving the reports. The reports site for the team project A would look like this: <p><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/07/16/metablogapi/5314.clip_image002_2.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-01-07-16-metablogapi/5314.clip_5F00_image002_5F00_2.png"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="clip_image002" border="0" alt="clip_image002" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/07/16/metablogapi/4336.clip_image002_thumb.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-01-07-16-metablogapi/4336.clip_5F00_image002_5F00_thumb.png" width="443" height="157" /></a> <p><b></b> <p><b>Step #3 Upload new reports</b> <p><b>To add reports</b> <p>1. Click <b>Start</b>, right-click Visual Studio, and then click <b>Run as administrator</b>. <p>2. Create a file, and copy and paste the following code into it: <p><a name="CodeSpippet1"></a>&lt;?xml version="1.0" encoding="utf-8"?&gt;  <p>&lt;Project xmlns="ProjectCreationSettingsFileSchema.xsd"&gt;  <p>&lt;TFSName&gt;CollectionURI&lt;/TFSName&gt;  <p>&lt;LogFolder&gt;LogFolderName&lt;/LogFolder&gt;  <p>&lt;ProjectName&gt;TeamProjectName&lt;/ProjectName&gt;  <p>&lt;AddFeaturesToExistingProject&gt;true&lt;/AddFeaturesToExistingProject&gt;  <p>&lt;ProjectReportsEnabled&gt;true&lt;/ProjectReportsEnabled&gt;  <p>&lt;ProjectReportsForceUpload&gt;true&lt;/ProjectReportsForceUpload&gt;  <p>&lt;ProjectSiteEnabled&gt;false&lt;/ProjectSiteEnabled&gt;  <p>&lt;ProcessTemplateName&gt;ProcessTemplate&lt;/ProcessTemplateName&gt; <p>&lt;/Project&gt;  <p>3. Replace the placeholder attributes with values that meet your project criteria. <p>4. To upload the most recent versions of the reports that are provided in the process template, specify true for the <b>ProjectReportsForceUpload</b> tag. <p><a name="CodeSpippet2"></a>&lt;ProjectReportsForceUpload&gt;true&lt;/ProjectReportsForceUpload&gt;  <p>5. Save the file as an XML file.  <p>6. Run the File.BatchNewTeamProject command, and specify the file that you saved in the previous step. <p>7. To verify that the reports are available, from Team Explorer, expand your team project node, expand <a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/07/16/metablogapi/5710.clip_image003_2.gif" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-01-07-16-metablogapi/5710.clip_5F00_image003_5F00_2.gif"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="clip_image003" border="0" alt="clip_image003" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/07/16/metablogapi/8030.clip_image003_thumb.gif" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-01-07-16-metablogapi/8030.clip_5F00_image003_5F00_thumb.gif" width="16" height="16" /></a> <b>Reports</b>, and then expand <b>Bugs</b>,<b> Build</b>,<b> Project Management</b>, or <b>Test</b>.&nbsp; <p>8. Double-click a report that you want to view. <p><b>To run the team project batch file command</b> <p>1. On the <b>View</b> menu, click <b>Team Explorer</b>. <p>2. On the <b>View</b> menu, point to <b>Other Windows</b>, and then click <b>Command Window</b>. <p>3. In the Command Prompt window, type the following command, specifying the path and file name of the file that you saved earlier in this topic. For example, type the following command: <p><a name="CodeSpippet3"></a>File.BatchNewTeamProject C:\File.xml <p>4. To determine the outcome of running the command, view the contents of the log file. This file is written to the location that you specified for LogFolderPathName in the File.xml file.  <p>Review the messages in the log file to determine whether the command was successful. If error messages occur, correct the parameters, and rerun the command. <p><b>Post deployment Issues:</b> <p><b></b> <p><b>Issue#1: Reports will throw error about missing columns or datasets.</b> <p>Fix:  <p>1. Create new team projects with MSF Agile 5.0 &amp; MSF CMMI 5.0 based templates. <p>2. Rebuild the warehouse dbs from Tfs Admin Console-&gt;Application Tier-&gt;Reporting-&gt;Start Rebuild option: <p><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/07/16/metablogapi/2260.clip_image005_2.jpg" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-01-07-16-metablogapi/2260.clip_5F00_image005_5F00_2.jpg"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="clip_image005" border="0" alt="clip_image005" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/07/16/metablogapi/2185.clip_image005_thumb.jpg" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-01-07-16-metablogapi/2185.clip_5F00_image005_5F00_thumb.jpg" width="392" height="264" /></a> <p>3. Verify reports to check for any outstanding errors. </p></p></p></p></p></p></p></p></p></p></p></p></p></p></p></p></p></p></p></p></p></p></p></p></p></p></p></p></p></p></p></p></p></p></p></p></p></p></p></p></p></p></p></p></p></p></p></p></p></p></p></p></p></p></p>]]></content:encoded>
    </item>
    <item>
      <title>Enable TFS 2010 Style dashboard and Excel Reports on MSF Agile 4.2 or MSF CMMI 4.2 site collections</title>
      <link>https://docs.microsoft.com/archive/blogs/lakhminder/enable-tfs-2010-style-dashboard-and-excel-reports-on-msf-agile-4-2-or-msf-cmmi-4-2-site-collections</link>
      <pubDate>Wed, 29 Sep 2010 17:58:04 GMT</pubDate>
      <dc:creator><![CDATA[Lakhminder]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/lakhminder/2010/09/29/enable-tfs-2010-style-dashboard-and-excel-reports-on-msf-agile-4-2-or-msf-cmmi-4-2-site-collections/</guid>
      <description><![CDATA[Assumptions: - TFS 2010 is integrated with MOSS 2007\SharePoint Server 2010 Ent Edition  - MOSS 2007...]]></description>
      <content:encoded><![CDATA[<p><b>Assumptions:</b> <p>- TFS 2010 is integrated with MOSS 2007\SharePoint Server 2010 Ent Edition  <p>- MOSS 2007 has Excel Calculation Services + Single Sign Configured according to the guidance available <a href="https://msdn.microsoft.com/en-us/library/ee462863%28VS.100%29.aspx">here</a>. <p>- SharePoint Server 2010 has Excel Services + Secure Store Service configured according to the guidance available <a href="https://blogs.msdn.com/b/team_foundation/archive/2010/03/06/configuring-sharepoint-server-2010-beta-for-dashboard-compatibility-with-tfs-2010-beta2-rc.aspx">here</a>. <p><b></b> <p><b></b> <p><b>Permissions: </b> <p>The user must be a site collection administrator <p><b></b> <p><b><br /></b> <p><b></b> <p><b>Enable TFS 2010 features for Agile 4.2 site collection:</b> <p><i></i> <p><i>Before enabling the features the site collection would appear as:</i> <p><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/07/16/metablogapi/1104.clip_image002_2.jpg" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-01-07-16-metablogapi/1104.clip_5F00_image002_5F00_2.jpg"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="clip_image002" border="0" alt="clip_image002" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/07/16/metablogapi/2185.clip_image002_thumb.jpg" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-01-07-16-metablogapi/2185.clip_5F00_image002_5F00_thumb.jpg" width="312" height="248" /></a><b></b> <p><b><br /></b> <p><b></b> <p><i>After enabling the TFS 2010 features the site collection would appear as (note the new items in the quick launch menu):</i> <p><b></b> <p><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/07/16/metablogapi/1425.clip_image004_2.jpg" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-01-07-16-metablogapi/1425.clip_5F00_image004_5F00_2.jpg"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="clip_image004" border="0" alt="clip_image004" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/07/16/metablogapi/4744.clip_image004_thumb.jpg" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-01-07-16-metablogapi/4744.clip_5F00_image004_5F00_thumb.jpg" width="319" height="251" /></a><b></b> <p><b></b> <p><b></b> <p><b><br /></b> <p><b></b> <p><i>You can clean up the old TFs 2008 style quick launch links for Reports &amp; make the site collection appear as:<br /></i> <p><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/07/16/metablogapi/4276.clip_image006_2.jpg" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-01-07-16-metablogapi/4276.clip_5F00_image006_5F00_2.jpg"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="clip_image006" border="0" alt="clip_image006" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/07/16/metablogapi/4263.clip_image006_thumb.jpg" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-01-07-16-metablogapi/4263.clip_5F00_image006_5F00_thumb.jpg" width="326" height="256" /></a><b></b> <p><b><br /></b> <p><b></b> <p><b>Steps to enable TFS 2010 features on the site collection:</b> <p><b>Step# 1: </b>Browse the team portal in a IE <p><b>Step# 2: </b>Go to <b>Site Actions</b>-&gt;<b>Site Settings</b> <p><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/07/16/metablogapi/0550.clip_image007_2.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-01-07-16-metablogapi/0550.clip_5F00_image007_5F00_2.png"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="clip_image007" border="0" alt="clip_image007" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/07/16/metablogapi/5353.clip_image007_thumb.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-01-07-16-metablogapi/5353.clip_5F00_image007_5F00_thumb.png" width="244" height="130" /></a> <p><b>Step# 3:</b> In the <b>Site Settings</b> page, under <b>Site Collection Administrator</b>, click <b>Site Collection Features</b>. <p><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/07/16/metablogapi/1464.clip_image008_2.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-01-07-16-metablogapi/1464.clip_5F00_image008_5F00_2.png"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="clip_image008" border="0" alt="clip_image008" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/07/16/metablogapi/2134.clip_image008_thumb.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-01-07-16-metablogapi/2134.clip_5F00_image008_5F00_thumb.png" width="173" height="244" /></a> <h5>Step# 4: On the Features page, find the feature with the name of “Visual Studio Team Foundation Server Web Part Collection” and click the Activate button. Return to the Site Settings page.</h5> <p><b></b> <p><b><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/07/16/metablogapi/1563.clip_image010_2.jpg" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-01-07-16-metablogapi/1563.clip_5F00_image010_5F00_2.jpg"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="clip_image010" border="0" alt="clip_image010" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/07/16/metablogapi/8738.clip_image010_thumb.jpg" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-01-07-16-metablogapi/8738.clip_5F00_image010_5F00_thumb.jpg" width="492" height="102" /></a></b><b></b> <p><b></b> <p><b>Step# 5: </b>On the <b>Site Settings</b> page, under <b>Site Actions</b> click <b>Manage site features</b> <p><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/07/16/metablogapi/4617.clip_image011_2.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-01-07-16-metablogapi/4617.clip_5F00_image011_5F00_2.png"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="clip_image011" border="0" alt="clip_image011" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/07/16/metablogapi/0728.clip_image011_thumb.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-01-07-16-metablogapi/0728.clip_5F00_image011_5F00_thumb.png" width="118" height="157" /></a><b></b> <p><b>Step# 6: </b>Find the feature with the name <b>“Agile Dashboards with Excel Reporting” </b>and click <b>Activate</b>. <p><b><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/07/16/metablogapi/2465.clip_image013_2.jpg" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-01-07-16-metablogapi/2465.clip_5F00_image013_5F00_2.jpg"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="clip_image013" border="0" alt="clip_image013" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/07/16/metablogapi/3443.clip_image013_thumb.jpg" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-01-07-16-metablogapi/3443.clip_5F00_image013_5F00_thumb.jpg" width="516" height="131" /></a></b><b></b> <p><b></b> <p><b>Step# 7: </b>Return to the home page for the site collection and verify that you have the quick launch links for TSWA portal, Excel Reports &amp; the new TFS 2010 dashboards. <p><b><br /></b> <p><b></b> <p><b>Enable TFS 2010 features for Agile 4.2 site collection:</b> <p><b></b> <p>Steps to enable TFS 2010 style features on a CMMI 4.2 site collection are the same except for Step#6 where you would activate the feature with the name <b>“CMMI Dashboards with Excel Reporting”.</b></p></p></p></p></p></p></p></p></p></p></p></p></p></p></p></p></p></p></p></p></p></p></p></p></p></p></p></p></p></p></p></p></p></p></p></p></p></p></p></p></p></p></p></p></p></p></p></p>]]></content:encoded>
    </item>
    <item>
      <title>TFS 2010: Enable Test Case Management for upgraded Team Projects</title>
      <link>https://docs.microsoft.com/archive/blogs/lakhminder/tfs-2010-enable-test-case-management-for-upgraded-team-projects</link>
      <pubDate>Wed, 29 Sep 2010 17:56:23 GMT</pubDate>
      <dc:creator><![CDATA[Lakhminder]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/lakhminder/2010/09/29/tfs-2010-enable-test-case-management-for-upgraded-team-projects/</guid>
      <description><![CDATA[Error Snapshot: (This error will occur when we use the test manger to connect to a TFS 2008 team...]]></description>
      <content:encoded><![CDATA[<p><b>Error Snapshot: (This error will occur when we use the test manger to connect to a TFS 2008 team project in the upgraded collection)</b>  <p><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/07/16/metablogapi/4101.clip_image002_2.jpg" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-01-07-16-metablogapi/4101.clip_5F00_image002_5F00_2.jpg"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="clip_image002" border="0" alt="clip_image002" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/07/16/metablogapi/1376.clip_image002_thumb.jpg" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-01-07-16-metablogapi/1376.clip_5F00_image002_5F00_thumb.jpg" width="546" height="388" /></a><b></b>  <p><b></b> <p><b><br /></b> <p><b></b> <p><b>SOLUTION</b>  <p><b>=================</b>  <p><b>At a high level:</b>  <p>1. You must add the new work item types, test case and shared steps, to your upgraded team project to use Microsoft Test Manager.  <p>2. You must add link types and categories that are provided with version 5.0 of the MSF process templates. You must customize existing work item types to have the new fields appear on the work item forms.  <p>3. You must also upload a mapping file that specifies the work item type to support automatic creation of bugs or code defects by Microsoft Test Manager.  <p>The <a href="https://msdn.microsoft.com/en-us/library/dd236909.aspx">witadmin</a> and <a href="https://msdn.microsoft.com/en-us/library/ff398070.aspx">tcm</a> tools used in commands are available in one of the two folder paths depending on x86 or x64 OS:  <p><b>** x86 Path ** </b> <p><i>C:\Program Files\Microsoft Visual Studio 10.0\Common7\IDE&gt;</i>  <p><b>** x64 Path **</b>  <p><i>C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE&gt;</i>  <p><b>Steps:</b>  <p><b>Step #1</b> Take backups of the TFS Configuration, Collection &amp; warehouse db.  <p><b>Step #2</b> Export the MSF Agile\CMMI 5.0 process templates to a folder. In my examples the process template is downloaded in the following folders:  <p>C:\MSF for Agile Software Development v5.0  <p>C:\MSF for CMMI Process Improvement v5.0  <p>Instructions to download process templates are available <a href="https://msdn.microsoft.com/en-us/library/ff452587.aspx">here</a>.  <p><b>Step #3</b> Get the list of existing link types:  <p>C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE&gt;witadmin.exe listlinktypes /collection:https://localhost:8080/tfs/DefaultCollection &gt; c:\LinkTypes.txt  <p><b>Step #4</b> If the <i>LinkTypes.txt </i>file does not contain the following type then proceed to #5:  <p><i>Reference Name: Microsoft.VSTS.TestCase.SharedStepReferencedBy</i>  <p><i>Names: Test Case, Shared Steps</i>  <p><i>Topology: Dependency</i>  <p><i>Is Active: True</i>  <p>If the Test Case &amp; Shared Steps link types are already present you should take a backup of the existing link types for Test Case &amp; Shared Steps before proceeding to #5  <p><b>Step #5</b> This is a one-time operation &amp; it will add\upload the Shared Steps and Tested By Link Types to the collection:  <p>witadmin importlinktype /collection:https://localhost:8080/tfs/DefaultCollection /f:"C:\MSF for Agile Software Development v5.0\WorkItem Tracking\LinkTypes\TestedBy.xml"  <p>witadmin importlinktype /collection:https://localhost:8080/tfs/DefaultCollection /f:"C:\MSF for Agile Software Development v5.0\WorkItem Tracking\LinkTypes\SharedStep.xml"  <p>You should run the following command to confirm that the link types have been uploaded to the collection:  <p>C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE&gt;witadmin.exe listlinktypes /collection:https://localhost:8080/tfs/DefaultCollection &gt; c:\LinkTypesVerify.txt  <p><b><i>Step #6 onwards need to be performed against each TFS 2008 team project in the collection for which TCM needs to be enabled</i></b>  <p><b>Step #6</b> Export the list of work item type definitions(witd in short) by running the following command:  <p>C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE&gt;witadmin listwitd /collection:https://localhost:8080/tfs/DefaultCollection /p:Agile001 &gt; c:\Agile001.txt  <p>You should see an output like:  <p>(For MSF Agile 4.2)  <p>Bug<br />Task<br />Quality of Service Requirement<br />Scenario<br />Risk  <p>(For MSF CMMI 4.2)  <p>Bug<br />Task<br />Issue<br />Change Request<br />Risk<br />Requirement<br />Review  <p>Ensure that the TestCase &amp; SharedStep witds are not listed as part of the output. If these witds are part of the output then you would need to follow the guidance available in the “Customizing an Existing Test Case Type of Work Item” section of this <a href="https://msdn.microsoft.com/en-us/library/ff452591.aspx#TestCase">article</a>.  <p>Proceed to Step# 7.  <p><b>Step #7</b> Add the TestCase &amp; Shared witds:  <p>witadmin importwitd /collection:https://localhost:8080/tfs/DefaultCollection /p:Agile001 /f:"C:\MSF for Agile Software Development v5.0\WorkItem Tracking\TypeDefinitions\TestCase.xml"  <p>witadmin importwitd /collection:https://localhost:8080/tfs/DefaultCollection /p:Agile001 /f:"C:\MSF for Agile Software Development v5.0\WorkItem Tracking\TypeDefinitions\SharedStep.xml"  <p>When you run the above commands you might get an error message as following:  <p><b>ISSUE:</b>  <p><b>TF212018: Work item tracking schema validation error: TF26177: The field System.</b>  <p><b>AreaId cannot be renamed from 'AreaID' to 'Area ID'.</b>  <p><b></b> <p><b>RESOLUTION:</b> <a href="https://msdn.microsoft.com/en-us/library/ff452591.aspx#Conflicts">From</a>:  <p><i>When you import types of work items, an error message might indicate a naming conflict. This conflict occurs more frequently in deployments that were upgraded from an earlier release of Team Foundation. The friendly name was renamed for several system and test case management fields before the final release of Visual Studio Team Foundation Server 2010. System fields that were renamed include System.AreaID, System.IterationID, System.HyperLinkCount, System.ExternalLinkCount, and System.AttachedFileCount.</i>  <p><i>You can resolve this error by renaming the field either in the XML definition for a work item type or by using the witadmin changefield command-line tool. For more information, see </i><a href="https://msdn.microsoft.com/en-us/library/dd236909.aspx"><i>Managing Work Item Fields [witadmin]</i></a><i>.</i>  <p>Review the attributes that are assigned to the field in the project collection. You can use the <strong>witadmin listfields</strong> command:  <p>witadmin listfields /collection:https://localhost:8080/tfs/DefaultCollection &gt; c:\ListFields.txt  <p>Look for the name attributes for the System.AreaID, System.IterationID, System.HyperLinkCount, System.ExternalLinkCount, and System.AttachedFileCount fields. An example taken from the c:\ListFields.txt file for the System.AreaId field:  <p>Field: System.AreaId<br />Name: AreaID &lt;-- Note: in TFS 2010 world this name would be “Area ID”<br />Type: Integer<br />Use: System Field<br />Indexed: False<br />Reportable As: None  <p>To resolve the <b>TF212018 </b>error run the following commands and type ‘y’ when prompted to confirm the change:  <p><b>(NOTE: These commands will need to be run just once at the collection level)</b>  <p><b><i>For TestCase</i></b>  <p>witadmin changefield /collection:https://localhost:8080/tfs/DefaultCollection /n:"System.ExternalLinkCount" /name:"External Link Count"  <p>witadmin changefield /collection:https://localhost:8080/tfs/DefaultCollection /n:"System.RelatedLinkCount" /name:"Related Link Count"  <p>witadmin changefield /collection:https://localhost:8080/tfs/DefaultCollection /n:"System.HyperLinkCount" /name:"Hyperlink Count"  <p>witadmin changefield /collection:https://localhost:8080/tfs/DefaultCollection /n:"System.AttachedFileCount" /name:"Attached File Count"  <p>witadmin changefield /collection:https://localhost:8080/tfs/DefaultCollection /n:"System.AreaId" /name:"Area ID"  <p><b><i>For SharedStep</i></b>  <p>witadmin changefield /collection:https://localhost:8080/tfs/DefaultCollection /n:"System.IterationId" /name:"Iteration ID"  <p>Sample output:  <p><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/07/16/metablogapi/4113.clip_image004_2.jpg" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-01-07-16-metablogapi/4113.clip_5F00_image004_5F00_2.jpg"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="clip_image004" border="0" alt="clip_image004" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/07/16/metablogapi/6114.clip_image004_thumb.jpg" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-01-07-16-metablogapi/6114.clip_5F00_image004_5F00_thumb.jpg" width="601" height="172" /></a>  <p>You should now be able to add the TestCase &amp; SharedSteps witds by running the command:  <p>witadmin importwitd /collection:https://localhost:8080/tfs/DefaultCollection /p:Agile001 /f:"C:\MSF for Agile Software Development v5.0\WorkItem Tracking\TypeDefinitions\TestCase.xml"  <p>witadmin importwitd /collection:https://localhost:8080/tfs/DefaultCollection /p:Agile001 /f:"C:\MSF for Agile Software Development v5.0\WorkItem Tracking\TypeDefinitions\SharedStep.xml"  <p>Proceed to Step# 8  <p><b>Step #8</b> Run the following command &amp; confirm that there are no catogeries are listed in the ExportCategories.xml file.  <p>C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE&gt;witadmin.exe exportcategories /collection:https://localhost:8080/tfs/DefaultCollection /p:Agile00 /f:c:\ExportCategories.xml  <table border="1" cellspacing="0" cellpadding="0"> <tbody> <tr> <td valign="top"> <p><b><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/07/16/metablogapi/2061.clip_image005_2.gif" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-01-07-16-metablogapi/2061.clip_5F00_image005_5F00_2.gif"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="clip_image005" border="0" alt="clip_image005" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/07/16/metablogapi/1586.clip_image005_thumb.gif" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-01-07-16-metablogapi/1586.clip_5F00_image005_5F00_thumb.gif" width="1" height="1" /></a></b><b>Note</b></p></td></tr> <tr> <td valign="top"> <p>Importing the categories XML file into a project will overwrite all existing categories. Categories that were previously defined but not specified in the file will be deleted.</p></td></tr></tbody></table> <p>Proceed to Step# 9  <p><b>Step #9 </b>Add Categories for Work Item Types by running the following command:  <p>witadmin importcategories /collection:https://localhost:8080/tfs/DefaultCollection /p:Agile001 /f:"C:\MSF for Agile Software Development v5.0\WorkItem Tracking\categories.xml"  <p>You should get the following error:  <p><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/07/16/metablogapi/4456.clip_image007_2.jpg" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-01-07-16-metablogapi/4456.clip_5F00_image007_5F00_2.jpg"><img style="border-right-width: 0px; margin: 10px 0px 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="clip_image007" border="0" alt="clip_image007" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/07/16/metablogapi/3051.clip_image007_thumb.jpg" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-01-07-16-metablogapi/3051.clip_5F00_image007_5F00_thumb.jpg" width="555" height="123" /></a>  <p>&nbsp; <p><b>ISSUE: (This is a MSF Agile Specific issue and **does not** happen with CMMI based team projects)</b>  <p><b>TF237059: The import of the category definition failed. In the type definition, category Requirement Category refers to a work item type that does not exist User Story.</b>  <p><b>RESOLUTION:</b>  <p>Open the C:\MSF for Agile Software Development v5.0\WorkItem Tracking\categories.xml  <p>Change:  <p>&lt;CATEGORY name="Requirement Category" refname="Microsoft.RequirementCategory"&gt;  <p>&lt;DEFAULTWORKITEMTYPE name="User Story" /&gt;  <p>&lt;/CATEGORY  <p><b></b> <p>To:  <p>&lt;CATEGORY name="Requirement Category" refname="Microsoft.RequirementCategory"&gt;  <p>&lt;DEFAULTWORKITEMTYPE name="Scenario" /&gt;  <p>&lt;/CATEGORY&gt;  <p><b></b> <p>Now you should be able to import the category by running the command:  <p>witadmin importcategories /collection:https://localhost:8080/tfs/DefaultCollection /p:Agile001 /f:"C:\MSF for Agile Software Development v5.0\WorkItem Tracking\categories.xml"  <p><b></b> <p><b></b> <p><b>Proceed to Step# 10</b>  <p><b><br /></b> <p><b></b> <p><b>Step# 10 Modify Work Item Type Definitions</b>  <p>Perform the following tasks:<br />- Modify the Bug Type Definition<br />- Modify the Scenario(for Agile) or Requirement(for CMMI) Type Definition  <p><b>Note: You should take backups of the existing bug and scenario\requirement type definitions before changing &amp; uploading them back to the team project. Upload operation will overwrite the existing type definitions.</b>  <p>To back up the existing bug and scenario\requirement type definitions  <p>Run the following commands:  <p>witadmin exportwitd /collection:https://localhost:8080/tfs/DefaultCollection /p:Agile001 /n:bug /f:"C:\MSF for Agile Software Development v5.0\MyBug.xml"  <p>For Agile team project run:  <p>witadmin exportwitd /collection:https://localhost:8080/tfs/DefaultCollection /p:Agile001 /n:scenario /f:"C:\MSF for Agile Software Development v5.0\MyScenario.xml"  <p>For CMMI team project run:  <p>witadmin exportwitd /collection:https://localhost:8080/tfs/DefaultCollection /p:CMMI001 /n:requirement /f:"C:\ MSF for CMMI Process Improvement v5.0\MyRequirement.xml"  <p>Make copies of the MyBug.xml &amp; MyScenario.xml\MyRequirement.xml  <p>To modify MyBug.xml:  <p>1. Open the C:\MSF for Agile Software Development v5.0\MyBug.xml file in VS  <p>2. Perform the changes documented in the “Modify Bug Type Definition” section in <a href="https://msdn.microsoft.com/en-us/library/ff452591.aspx#ModifyWIT">this</a> article and save the file.  <p>Note:  <p>ð <b>Skip the first step which talks about exporting the type. We have already covered it.</b>  <p>ð <b>Under the section "To modify the bug type definition", step 3 there is a missing "&lt;"<br />From: FIELD name="System Info" refname="Microsoft.VSTS.TCM.SystemInfo" type="HTML" &gt;<br />To : &lt;FIELD name="System Info" refname="Microsoft.VSTS.TCM.SystemInfo" type="HTML"&gt; </b><b></b> <p>ð <b>For the section where the article says delete or replace xml, a suggestion here would be to comment the section that needs to be removed instead of deleting it.</b><b></b>  <p>3. Run the following command to upload the changes:  <p>witadmin importwitd /collection:https://localhost:8080/tfs/DefaultCollection /p:Agile001 /f:"C:\MSF for Agile Software Development v5.0\MyBug.xml"  <p>To modify MyScenario or MyRequirement.xml file”:  <p>1. Open the C:\MSF for Agile Software Development v5.0\ MyScenario.xml file in VS  <p>2. Perform the changes documented in the “Modify the Scenario or Requirement Type Definition” section in <a href="https://msdn.microsoft.com/en-us/library/ff452591.aspx#ModifyWIT">this</a> article and save the file.<br />Note:  <p>ð <b>Skip the first step which talks about exporting the type. We have already covered it.</b>  <p>ð <b>For the section where the article says delete or replace xml, a suggestion here would be to comment the section that needs to be removed instead of deleting it.</b><b></b>  <p>3. Run the following command to upload the changes:  <p>witadmin importwitd /collection:https://localhost:8080/tfs/DefaultCollection /p:Agile001 /f:"C:\MSF for Agile Software Development v5.0\MyScenario.xml"  <p>To verify the changes:  <p>1. In Team Explorer , right-click your team project, and then click Refresh.  <p>2. Right-click Work Items, point to New Work Item, and then click Scenario.  <p>3. Verify that the new fields and changes to the work item form appear.  <p><b>Step #11 </b>Follow the instructions in the “Specifying the Bug Type to be Created in Microsoft Test Manager” section of the <a href="https://msdn.microsoft.com/en-us/library/ff452591.aspx#TCMBugFieldMapping">article</a>.  <p>Run the following command (I saved the bugfieldmappings.xml file to C:\MSF for Agile Software Development v5.0 folder):  <p>tcm bugfieldmapping /import /mappingfile:"C:\MSF for Agile Software Development v5.0\bugfieldmappings.xml" /collection:https://localhost:8080/tfs/DefaultCollection /teamproject:Agile001  <p>Now you should be able to launch the Test Manager &amp; start creating test cases for your TFS 2008 team project.  <p><b>Summary:</b>  <p><b>Run the following command once per Team Project Collection:</b>  <p>-- Import Link Types  <p>witadmin importlinktype /collection:https://localhost:8080/tfs/DefaultCollection /f:"C:\MSF for Agile Software Development v5.0\WorkItem Tracking\LinkTypes\TestedBy.xml"  <p>witadmin importlinktype /collection:https://localhost:8080/tfs/DefaultCollection /f:"C:\MSF for Agile Software Development v5.0\WorkItem Tracking\LinkTypes\SharedStep.xml"  <p>-- Fix Errors in Step #7  <p>For TestCase  <p>witadmin changefield /collection:https://localhost:8080/tfs/DefaultCollection /n:"System.ExternalLinkCount" /name:"External Link Count"  <p>witadmin changefield /collection:https://localhost:8080/tfs/DefaultCollection /n:"System.RelatedLinkCount" /name:"Related Link Count"  <p>witadmin changefield /collection:https://localhost:8080/tfs/DefaultCollection /n:"System.HyperLinkCount" /name:"Hyperlink Count"  <p>witadmin changefield /collection:https://localhost:8080/tfs/DefaultCollection /n:"System.AttachedFileCount" /name:"Attached File Count"  <p>witadmin changefield /collection:https://localhost:8080/tfs/DefaultCollection /n:"System.AreaId" /name:"Area ID"  <p>For SharedStep  <p>witadmin changefield /collection:https://localhost:8080/tfs/DefaultCollection /n:"System.IterationId" /name:"Iteration ID"  <p><b>Run the following command once per Team Project:</b>  <p><b>NOTE: These command have to be run against the xml files for the process template that corresponds to your team project. I have two team projects Agile001 and CMMI001 based on Agile and CMMI respectively. The folder paths referred in the file paths should be adjusted to </b><b>C:\MSF for Agile Software Development v5.0 and C:\MSF for CMMI Process Improvement v5.0 based on Agile or CMMI team projects.</b><b></b>  <p><b><i>**AGILE VERSION**</i></b>  <p>--ADD WIT TYPES  <p>witadmin importwitd /collection:https://localhost:8080/tfs/DefaultCollection /p:Agile001 /f:"C:\MSF for Agile Software Development v5.0\WorkItem Tracking\TypeDefinitions\TestCase.xml"  <p>witadmin importwitd /collection:https://localhost:8080/tfs/DefaultCollection /p:Agile001 /f:"C:\MSF for Agile Software Development v5.0\WorkItem Tracking\TypeDefinitions\SharedStep.xml"  <p>-- ADD CATEGORY TYPES  <p>witadmin importcategories /collection:https://localhost:8080/tfs/DefaultCollection /p:Agile001 /f:"C:\MSF for Agile Software Development v5.0\WorkItem Tracking\categories.xml"  <p>-- MODIFY THE BUG TYPE DEFINITION  <p>--First export the type<br />witadmin exportwitd /collection:https://localhost:8080/tfs/DefaultCollection /p:Agile001 /n:bug /f:"C:\MSF for Agile Software Development v5.0\MyBug.xml"  <p>--Make change to type in VS<br />--Import the changed type  <p>witadmin importwitd /collection:https://localhost:8080/tfs/DefaultCollection /p:Agile001 /f:"C:\MSF for Agile Software Development v5.0\MyBug.xml"  <p>--MODIFY the Scenario or Requirement Type Definition  <p>--First export the type  <p>witadmin exportwitd /collection:https://localhost:8080/tfs/DefaultCollection /p:Agile001 /n:scenario /f:"C:\MSF for Agile Software Development v5.0\MyScenario.xml"  <p>--Make change to type in VS  <p>--Import the changed type  <p>witadmin importwitd /collection:https://localhost:8080/tfs/DefaultCollection /p:Agile001 /f:"C:\MSF for Agile Software Development v5.0\MyScenario.xml"  <p>-- Add bugfieldmapping  <p>tcm bugfieldmapping /import /mappingfile:"C:\MSF for Agile Software Development v5.0\bugfieldmappings.xml" /collection:https://localhost:8080/tfs/DefaultCollection/teamproject:Agile001  <p><b><i>**CMMI VERSION**</i></b>  <p>--ADD WIT TYPES  <p>witadmin importwitd /collection:https://localhost:8080/tfs/DefaultCollection /p:CMMI001 /f:"C:\MSF for CMMI Process Improvement v5.0\WorkItem Tracking\TypeDefinitions\TestCase.xml"  <p>witadmin importwitd /collection:https://localhost:8080/tfs/DefaultCollection /p:CMMI001 /f:"C:\MSF for CMMI Process Improvement v5.0\WorkItem Tracking\TypeDefinitions\SharedStep.xml"  <p>-- ADD CATEGORY TYPES  <p>witadmin importcategories /collection:https://localhost:8080/tfs/DefaultCollection /p:CMMI001 /f:"C:\MSF for CMMI Process Improvement v5.0\WorkItem Tracking\categories.xml"  <p>-- MODIFY THE BUG TYPE DEFINITION  <p>--First export the type  <p>witadmin exportwitd /collection:https://localhost:8080/tfs/DefaultCollection /p:CMMI001 /n:bug /f:"C:\MSF for CMMI Process Improvement v5.0\MyBug.xml"  <p>--Make change to type in VS  <p>--Import the changed type  <p>witadmin importwitd /collection:https://localhost:8080/tfs/DefaultCollection /p:CMMI001 /f:"C:\MSF for CMMI Process Improvement v5.0\MyBug.xml"  <p>--MODIFY the Scenario or Requirement Type Definition  <p>--First export the type  <p>witadmin exportwitd /collection:https://localhost:8080/tfs/DefaultCollection /p:CMMI001 /n:requirement /f:"C:\MSF for CMMI Process Improvement v5.0\MyRequirement.xml"  <p>--Make change to type in VS  <p>--Import the changed type  <p>witadmin importwitd /collection:https://localhost:8080/tfs/DefaultCollection /p:CMMI001 /f:"C:\MSF for CMMI Process Improvement v5.0\MyRequirement.xml"  <p>-- Add bugfieldmapping  <p>tcm bugfieldmapping /import /mappingfile:"C:\MSF for CMMI Process Improvement v5.0\bugfieldmappings.xml" /collection:https://localhost:8080/tfs/DefaultCollection /teamproject:CMMI001  </p></p></p></p></p></p></p></p></p></p></p></p></p></p></p></p></p></p></p></p></p></p></p></p></p></p></p></p></p></p></p></p></p></p></p></p></p></p></p></p></p></p></p></p></p></p></p></p></p></p></p></p></p></p></p></p></p></p></p></p></p></p></p></p></p></p></p></p></p></p></p></p></p></p></p></p></p></p></p></p></p></p></p></p></p></p></p></p></p></p></p></p></p></p></p></p></p></p></p></p></p></p></p></p></p></p></p></p></p></p></p></p></p></p></p></p></p></p></p></p></p></p></p></p></p></p></p></p></p></p></p></p></p></p></p></p></p></p></p></p></p></p></p></p></p></p></p></p></p></p></p></p></p></p></p></p></p></p></p></p></p></p></p></p></p></p></p></p></p></p></p></p></p></p></p></p></p></p></p></p></p></p></p></p></p></p></p></p></p></p></p></p></p></p>]]></content:encoded>
    </item>
    <item>
      <title>TFS 2101: Setting up TSWA with host headers</title>
      <link>https://docs.microsoft.com/archive/blogs/lakhminder/tfs-2101-setting-up-tswa-with-host-headers</link>
      <pubDate>Thu, 06 May 2010 20:48:34 GMT</pubDate>
      <dc:creator><![CDATA[Lakhminder]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/lakhminder/2010/05/06/tfs-2101-setting-up-tswa-with-host-headers/</guid>
      <description><![CDATA[Here is what I did with my setup:  My TFS site was hosted on standard port 8080 on a member server...]]></description>
      <content:encoded><![CDATA[<p>Here is what I did with my setup:</p>  <p>My TFS site was hosted on standard port 8080 on a member server in my Internal testing contoso.com domain.</p>  <p>So I&#160; had created a DNS alias record called “MyTFS” for my TFS server whose NetBIOS names is tfs001.</p>  <p>Now I went into IIS &amp; dropped the default header (port 8080, all-unassigned) for the TFS web site.</p>  <p>I added a new header, port 80, MyTfs, all-unassigned for the TFS web site.</p>  <p>I did a IISReset /noforce. <strong><em>(Note: Make sure you are appending the /noforce switch, sometimse the command errors out. If that happens, keep running IISReset&#160; /noforce again until it succeeds. Without the noforce switch the new host header settings may not be preserved for the TFS site in IIS.)</em></strong></p>  <p>Then I went in the TFS Admin console &amp; updated my Notfication &amp; Server uris from:</p>  <p><a href="https://tfs001:8080/tfs">https://tfs001:8080/tfs</a></p>  <p>to</p>  <p><a href="https://mytfs/tfs">https://mytfs/tfs</a></p>  <p>This automatically changes my TSWA site uri to <a href="https://mytfs/tfs/web">https://mytfs/tfs/web</a>.</p>  <p>Now I edited the web.config file in the root of the TSWA site(which is the “web” folder in TFS install dir) in a text editor such notepad and changed the section:</p>  <p>&lt;tfServers&gt;</p>  <p>&#160;&#160;&#160;&#160;&#160; &lt;!-- &lt;add name=&quot;<a href="https://server:8080">https://server:8080</a>&quot; /&gt; --&gt;</p>  <p>&#160;&#160;&#160; &lt;/tfServers&gt;</p>  <p>&#160;</p>  <p>To:</p>  <p>&lt;tfServers&gt;</p>  <p>&lt;add name=&quot;<a href="https://mytfs/tfs">https://<i>mytfs/tfs</i></a>&quot; /&gt;</p>  <p> &lt;/tfServers&gt;</p>  <p>&#160;</p>  <p>I saved &amp; closed the web.config file.</p>  <p>Did an IISreset /noforce.</p>  <p>I am able to browse TSWA site in IE using <a href="https://myTFS/tfs/web">https://myTFS/tfs/web</a> and use TSWA for any Collection\Project.</p>]]></content:encoded>
    </item>
    <item>
      <title>TFS 2010: How to get the default reports back</title>
      <link>https://docs.microsoft.com/archive/blogs/lakhminder/tfs-2010-how-to-get-the-default-reports-back</link>
      <pubDate>Thu, 29 Apr 2010 15:50:40 GMT</pubDate>
      <dc:creator><![CDATA[Lakhminder]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/lakhminder/2010/04/29/tfs-2010-how-to-get-the-default-reports-back/</guid>
      <description><![CDATA[Scenario: I started with no RS or WSS in TFS 2010, but now I want these features  Terms: --- TPC=...]]></description>
      <content:encoded><![CDATA[<p><b>Scenario: I started with no RS or WSS in TFS 2010, but now I want these features</b></p>  <p>Terms: --- TPC= Team Project Collection, TP=Team Project, TFC=Team Foundation Client or Team Explorer&#160; ---</p>  <p>So we know that we can take out RS &amp; WSS from TFS 2010 on-demand. Suppose you have a server in which we used the TFS 2010 advanced configuration wizard to configure TFS minus RS &amp; WSS features. You had a TPC &amp; created a Team Project called Alpha over there. Obviously when you connect to this TP using TFC you will not see a Reports node.</p>  <p>Now we decided to enable reporting for our TFS 2010 instance &amp; we now want our TPC to have reports for our TPs.</p>  <p>So we use TfsMgmt.exe to wire TFS 2010 with an RS instance &amp; we went ahead configured RS &amp; SSAS. We also set the RS folder path in the RS properties for our TPCs to /TfsReports/CollectionName.</p>  <p>So now we go ahead create a new team project called Beta.</p>  <p>What we will see after connecting to both Alpha &amp; Beta team projects is that I now have a Reports node under each of them in TFC.(Very Cool!!)</p>  <p>However the Reports folder under the Alpha project is empty, but the Beta project (which was created after reporting was enabled for TFS 2010 &amp; the concerned TPC) has all the required reports under the Reports folder.</p>  <p>So this is similar to a situation where we have a TFS 2005/2008 deployment &amp; we loose our Reports dbs &amp; we now find that there are no reports for his our Team Projects. So we can use TfsUploadReports tool to get the default reports back. </p>  <p>Put simply we need reports for our Alpha Team Project. You can do this by following instruction which are now available at <a href="https://msdn.microsoft.com/en-us/library/ff462695(v=VS.100).aspx">https://msdn.microsoft.com/en-us/library/ff462695(v=VS.100).aspx</a>.&#160; (Awesome!!)</p>  <p>(A word of caution: please use VS to create the xml file as mentioned in the article, the XML code designer in VS can pick any syntactical errors which can easily happen if you create\edit xml in Notepad)</p>    <p><a href="https://www2.clustrmaps.com/counter/maps.php?url=https://blogs.msdn.com/lakhminder" id="clustrMapsLink"><img src="https://www2.clustrmaps.com/counter/index2.php?url=https://blogs.msdn.com/lakhminder" style="border:0px;" alt="Locations of visitors to this page" title="Locations of visitors to this page" id="clustrMapsImg" onerror="this.onerror=null; this.src='https://clustrmaps.com/images/clustrmaps-back-soon.jpg'; document.getElementById('clustrMapsLink').href='https://clustrmaps.com';" /> </a></p>]]></content:encoded>
    </item>
  </channel>
</rss>