<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Girish Pillai's Blog</title>
	<atom:link href="http://girishp.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://girishp.wordpress.com</link>
	<description>Girish's Techno blog on exciting Microsoft Technologies</description>
	<lastBuildDate>Sat, 08 Oct 2011 01:58:58 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='girishp.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>Girish Pillai's Blog</title>
		<link>http://girishp.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://girishp.wordpress.com/osd.xml" title="Girish Pillai&#039;s Blog" />
	<atom:link rel='hub' href='http://girishp.wordpress.com/?pushpress=hub'/>
		<item>
		<title>Excel Dashboards on Project Portal for TFS 2010 &#8220;failed to refresh&#8221;</title>
		<link>http://girishp.wordpress.com/2011/10/08/excel-dashboards-on-project-portal-for-tfs-2010-failed-to-refresh/</link>
		<comments>http://girishp.wordpress.com/2011/10/08/excel-dashboards-on-project-portal-for-tfs-2010-failed-to-refresh/#comments</comments>
		<pubDate>Sat, 08 Oct 2011 01:58:55 +0000</pubDate>
		<dc:creator>girishp</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">https://girishp.wordpress.com/2011/10/08/excel-dashboards-on-project-portal-for-tfs-2010-failed-to-refresh/</guid>
		<description><![CDATA[&#160; I had this nagging problem on one instance where the Excel dashboards on a TFS 2010 instance would not bring up the data. Here is how I fixed it (hopefully) someone else will benefit. There could be more than one reason for this error to manifest. In my case the following is what I [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=girishp.wordpress.com&amp;blog=7422429&amp;post=271&amp;subd=girishp&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>&#160;</p>
<p>I had this nagging problem on one instance where the Excel dashboards on a TFS 2010 instance would not bring up the data. </p>
<p><a href="http://girishp.files.wordpress.com/2011/10/image.png"><img style="background-image:none;padding-left:0;padding-right:0;display:inline;padding-top:0;border-width:0;" title="image" border="0" alt="image" src="http://girishp.files.wordpress.com/2011/10/image_thumb.png?w=498&#038;h=292" width="498" height="292" /></a></p>
<p>Here is how I fixed it (hopefully) someone else will benefit. There could be more than one reason for this error to manifest. In my case the following is what I did. </p>
<ol>
<li>Log into your SharePoint 2010 server with admin credentials </li>
<li>Open SharePoint Central Administration </li>
<li>Open Application Management </li>
<li>Click Manage Service Applications (under Service Applications) </li>
<li>Click Secure Store Service (not the proxy) </li>
<li>Check on the SSS “Target Application ID” </li>
<li>Then click on “Set Credentials”. </li>
<li>Make sure the “Windows User Name” and “Windows Password” are the correct ones. Usually it appears blank. In my case I set it to the domain TFSService account and password. </li>
<li>Restart the IIS Server and then go back to the Project portal and refresh OR launch the portal from the Team Project node in Team Explorer. </li>
<li>This fixed it. </li>
</ol>
<div style="display:inline;float:none;margin:0;padding:0;" id="scid:0767317B-992E-4b12-91E0-4F059A8CECA8:0db29b6d-2891-4831-ae35-44a6945cad84" class="wlWriterEditableSmartContent">Technorati Tags: <a href="http://technorati.com/tags/TFS+Dashboard+failed+to+refresh+TfsOlapReport" rel="tag">TFS Dashboard failed to refresh TfsOlapReport</a></div>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/girishp.wordpress.com/271/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/girishp.wordpress.com/271/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/girishp.wordpress.com/271/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/girishp.wordpress.com/271/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/girishp.wordpress.com/271/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/girishp.wordpress.com/271/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/girishp.wordpress.com/271/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/girishp.wordpress.com/271/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/girishp.wordpress.com/271/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/girishp.wordpress.com/271/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/girishp.wordpress.com/271/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/girishp.wordpress.com/271/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/girishp.wordpress.com/271/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/girishp.wordpress.com/271/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=girishp.wordpress.com&amp;blog=7422429&amp;post=271&amp;subd=girishp&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://girishp.wordpress.com/2011/10/08/excel-dashboards-on-project-portal-for-tfs-2010-failed-to-refresh/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/85d43a98b65449c627ec4455b23346b9?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">girishp</media:title>
		</media:content>

		<media:content url="http://girishp.files.wordpress.com/2011/10/image_thumb.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>
	</item>
		<item>
		<title>Virtualization! Virtualization&#8211;what you should consider when going virtual. Some storage best practices for Hyper-V</title>
		<link>http://girishp.wordpress.com/2011/09/02/virtualization-virtualizationwhat-you-should-consider-when-going-virtual-some-storage-best-practices-for-hyper-v/</link>
		<comments>http://girishp.wordpress.com/2011/09/02/virtualization-virtualizationwhat-you-should-consider-when-going-virtual-some-storage-best-practices-for-hyper-v/#comments</comments>
		<pubDate>Fri, 02 Sep 2011 15:02:11 +0000</pubDate>
		<dc:creator>girishp</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">https://girishp.wordpress.com/2011/09/02/virtualization-virtualizationwhat-you-should-consider-when-going-virtual-some-storage-best-practices-for-hyper-v/</guid>
		<description><![CDATA[These days it has become trendy to talk about Virtualization. Virtualization has its virtues – however you also need to study and plan carefully the workloads that you want to virtualize. Since database hosting is getting virtualized and databases by their very nature are very I/O intensive there are a myriad of things you need [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=girishp.wordpress.com&amp;blog=7422429&amp;post=268&amp;subd=girishp&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p align="justify">These days it has become trendy to talk about Virtualization. Virtualization has its virtues – however you also need to study and plan carefully the workloads that you want to virtualize. Since database hosting is getting virtualized and databases by their very nature are very I/O intensive there are a myriad of things you need to understand when virtualizing database workloads. </p>
<p align="justify">So, before you virtualize a workload you should have an understanding of what that workload looks like on a physical machine first and part of that understanding involves storage interaction.&#160; I/O intensive workloads like SQL require some planning.&#160; SQL even has a tool that can be used to simulate workloads on storage, which you can find in this link:= <a title="http://support.microsoft.com/kb/231619" href="http://support.microsoft.com/kb/231619">http://support.microsoft.com/kb/231619</a>&#160;</p>
<p align="justify">Some of the other relevant links to Virtualizing SQL are here:</p>
<p align="justify"><a title="http://www.microsoft.com/sqlserver/en/us/solutions-technologies/mission-critical-operations/consolidation-and-virtualization.aspx" href="http://www.microsoft.com/sqlserver/en/us/solutions-technologies/mission-critical-operations/consolidation-and-virtualization.aspx">http://www.microsoft.com/sqlserver/en/us/solutions-technologies/mission-critical-operations/consolidation-and-virtualization.aspx</a>&#160;</p>
<p align="justify">&#160;</p>
<p align="justify">OK. Now coming to some of the salient points, SQL virtualization needs careful consideration of the storage systems you are using and its I/O characteristics. Some of the main considerations are as below. </p>
<ul>
<li>
<div align="justify">Use fixed-size disks. Defrag your volumes before creating the VHDs</div>
</li>
<li>
<div align="justify">Use SCSI Virtual adapters for data disks attached to Virtual Machines</div>
</li>
<li>
<div align="justify">Use pass-through disks for the best performance and for LUNs &gt; 2TB</div>
</li>
<li>
<div align="justify">Do *<strong>NOT</strong>* use snapshots in a production environment</div>
</li>
<li>
<div align="justify">Use high speed storage configurations</div>
<ul>
<li>
<div align="justify">High speed SATA\SAS drives (10,000 rpm or greater)</div>
</li>
<li>
<div align="justify">Use drives that support command queued I/O.</div>
</li>
<li>
<div align="justify">Use RAID 0+1 configurations with as many disks as feasible in the RAID configuration to distribute I/O            </div>
</li>
</ul>
</li>
</ul>
<ul>
<li>
<div align="justify">Use MPIO configurations for storage</div>
</li>
<li>
<div align="justify">Use the highest speed NICs for iSCSI storage</div>
</li>
<li>
<div align="justify">Do NOT store system files (e.g. pagefile) on storage used by Hyper-V</div>
</li>
<li>
<div align="justify">Test storage I/O configurations before deploying Virtual Machines</div>
</li>
<li>
<div align="justify">Follow operating system Performance Tuning guidelines</div>
</li>
<li>
<div align="justify">If you are running Anti-Virus software in the Parent partition, exclude either Hyper-V processes (vmms.exe or vmwp.exe) for Hyper-V file types (.vhd, .avhd, .vfd,.vsv, .bin and .xml )</div>
</li>
<li>
<div align="justify">When using CSV LUNS, place virtual machine operating system files and data on different volumes</div>
</li>
<li>
<div align="justify">And last (but not the least) consult your storage vendor. </div>
<p> <!--EndFragment--></li>
</ul>
<div style="display:inline;float:none;margin:0;padding:0;" id="scid:0767317B-992E-4b12-91E0-4F059A8CECA8:0d7e575e-aeb9-45b3-b0c9-f68ee8b9d740" class="wlWriterEditableSmartContent">Technorati Tags: <a href="http://technorati.com/tags/Virtualization+Hyper-V+I%2fO" rel="tag">Virtualization Hyper-V I/O</a></div>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/girishp.wordpress.com/268/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/girishp.wordpress.com/268/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/girishp.wordpress.com/268/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/girishp.wordpress.com/268/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/girishp.wordpress.com/268/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/girishp.wordpress.com/268/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/girishp.wordpress.com/268/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/girishp.wordpress.com/268/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/girishp.wordpress.com/268/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/girishp.wordpress.com/268/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/girishp.wordpress.com/268/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/girishp.wordpress.com/268/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/girishp.wordpress.com/268/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/girishp.wordpress.com/268/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=girishp.wordpress.com&amp;blog=7422429&amp;post=268&amp;subd=girishp&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://girishp.wordpress.com/2011/09/02/virtualization-virtualizationwhat-you-should-consider-when-going-virtual-some-storage-best-practices-for-hyper-v/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/85d43a98b65449c627ec4455b23346b9?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">girishp</media:title>
		</media:content>
	</item>
		<item>
		<title>2 new Certifications achieved this year</title>
		<link>http://girishp.wordpress.com/2011/06/19/2-new-certifications-achieved-this-year/</link>
		<comments>http://girishp.wordpress.com/2011/06/19/2-new-certifications-achieved-this-year/#comments</comments>
		<pubDate>Sun, 19 Jun 2011 01:37:35 +0000</pubDate>
		<dc:creator>girishp</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">https://girishp.wordpress.com/2011/06/19/2-new-certifications-achieved-this-year/</guid>
		<description><![CDATA[WoHoo! Two new certifications achieved. The logos are downloadable from MCP site, only of one passed the exams. 1. For .NET 3.5 I took earlier in the fiscal year 2. For TFS 2010 Administration and Configuration I took recently. Definitely feels good. BuzzNet Tags: TFS 2010 Certified<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=girishp.wordpress.com&amp;blog=7422429&amp;post=267&amp;subd=girishp&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>WoHoo! Two new certifications achieved. The logos are downloadable from MCP site, only of one passed the exams. </p>
<p>1. For .NET 3.5 I took earlier in the fiscal year</p>
<p><a href="http://girishp.files.wordpress.com/2011/06/image12.png"><img style="background-image:none;padding-left:0;padding-right:0;display:inline;padding-top:0;border-width:0;" title="image" border="0" alt="image" src="http://girishp.files.wordpress.com/2011/06/image_thumb12.png?w=464&#038;h=93" width="464" height="93" /></a></p>
<p>2. For TFS 2010 Administration and Configuration I took recently.</p>
<p><a href="http://girishp.files.wordpress.com/2011/06/image13.png"><img style="background-image:none;padding-left:0;padding-right:0;display:inline;padding-top:0;border-width:0;" title="image" border="0" alt="image" src="http://girishp.files.wordpress.com/2011/06/image_thumb13.png?w=626&#038;h=123" width="626" height="123" /></a></p>
<p>Definitely feels good. </p>
<div style="display:inline;float:none;margin:0;padding:0;" id="scid:0767317B-992E-4b12-91E0-4F059A8CECA8:0dab6a90-c2df-4034-800b-c9ed6b1aef35" class="wlWriterEditableSmartContent">BuzzNet Tags: <a href="http://www.buzznet.com/tags/TFS+2010+Certified" rel="tag">TFS 2010 Certified</a></div>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/girishp.wordpress.com/267/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/girishp.wordpress.com/267/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/girishp.wordpress.com/267/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/girishp.wordpress.com/267/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/girishp.wordpress.com/267/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/girishp.wordpress.com/267/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/girishp.wordpress.com/267/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/girishp.wordpress.com/267/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/girishp.wordpress.com/267/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/girishp.wordpress.com/267/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/girishp.wordpress.com/267/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/girishp.wordpress.com/267/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/girishp.wordpress.com/267/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/girishp.wordpress.com/267/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=girishp.wordpress.com&amp;blog=7422429&amp;post=267&amp;subd=girishp&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://girishp.wordpress.com/2011/06/19/2-new-certifications-achieved-this-year/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/85d43a98b65449c627ec4455b23346b9?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">girishp</media:title>
		</media:content>

		<media:content url="http://girishp.files.wordpress.com/2011/06/image_thumb12.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>

		<media:content url="http://girishp.files.wordpress.com/2011/06/image_thumb13.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>
	</item>
		<item>
		<title>TFS 2010&#8211;Test Case Attachment Cleanup tool</title>
		<link>http://girishp.wordpress.com/2011/06/01/tfs-2010test-case-attachment-cleanup-tool-2/</link>
		<comments>http://girishp.wordpress.com/2011/06/01/tfs-2010test-case-attachment-cleanup-tool-2/#comments</comments>
		<pubDate>Wed, 01 Jun 2011 05:53:11 +0000</pubDate>
		<dc:creator>girishp</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">https://girishp.wordpress.com/2011/06/01/tfs-2010test-case-attachment-cleanup-tool-2/</guid>
		<description><![CDATA[&#160; This attachment cleanup tool can be downloaded from the link below. http://visualstudiogallery.msdn.microsoft.com/3d37ce86-05f1-4165-957c-26aaa5ea1010/&#160; For some of the customers who use the advanced capabilities of TFS 2010, such as collecting diagnostic data from the Test runs, they come up with the issue of quick build up the TFS Database disk space. Depending on the volume of [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=girishp.wordpress.com&amp;blog=7422429&amp;post=262&amp;subd=girishp&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>&#160;</p>
<p align="justify">This attachment cleanup tool can be downloaded from the link below.</p>
<p align="justify"><a title="http://visualstudiogallery.msdn.microsoft.com/3d37ce86-05f1-4165-957c-26aaa5ea1010/" href="http://visualstudiogallery.msdn.microsoft.com/3d37ce86-05f1-4165-957c-26aaa5ea1010/">http://visualstudiogallery.msdn.microsoft.com/3d37ce86-05f1-4165-957c-26aaa5ea1010/</a>&#160;</p>
<p align="justify">For some of the customers who use the advanced capabilities of TFS 2010, such as collecting diagnostic data from the Test runs, they come up with the issue of quick build up the TFS Database disk space. Depending on the volume of diagnostic data collected with each build, this can reach critical threshold levels very quickly. </p>
<p align="justify">Some of the general advice is as follows:</p>
<ol>
<li>
<div align="justify">Decide if you must collect diagnostic data always.</div>
</li>
<li>
<div align="justify">If you must, then chose whether you or your team will benefit by collecting a subset of the possible types of diagnostic data, instead of all of it.        </p>
<p>The following types of data are collected for the full gamut, though this list is not completely exhaustive.         </p>
<p>TRX: for TRX files = Unit Test Results         <br />TR_: for intermediate TRX files = Unit Test Results         <br />iTrace: for IntelliTrace files = IntelliTrace/Historical Debugger files         <br />WMV/XESC/TRMX: for Windows Media Encoder or Expression Encoder Video files = Microsoft Test Runner video recordings         <br />XML: for Action Log, System Information files = Microsoft Test Runner action logs         <br />EVT: for Event Logs         <br />COV: for Code coverage files         <br />DLL/PDB files.         </div>
</li>
<li>
<div align="justify">As you can see above this can quite quickly increase space consumption in the table tbl_attachmentContent for the collection under which you are running the build.</div>
</li>
</ol>
<p align="justify">As it stands now, one has to do some amount of juggling and figuring out, where the right balance is with respect to collecting diagnostic data. There is no real prescriptive solution other than to arrive at the correct balance. The balance is a mixture of factors:</p>
<p align="justify">a) Deciding upon the correct set of data to collect.</p>
<p align="justify">b) Deciding when to collect. Should collection be part of a daily build? Should it be part of CI build? And so on. </p>
<p align="justify">c) Setting a scheduled task to go and cleanup the attachments on a regular basis. </p>
<p align="justify">Below I show a sequence to help understand the phenomenon. The following is a screen shot of the tbl_AttachmentContent table prior to invoking a build which contains tests that collect some data. The important data is of course the DataSpace which is 105.664 MB (Note that this is for a minimalistic demo and your specific instance might most probably have the data at another number).</p>
<p align="justify"><a href="http://girishp.files.wordpress.com/2011/06/image.png"><img style="background-image:none;padding-left:0;padding-right:0;display:inline;padding-top:0;border-width:0;" title="image" border="0" alt="image" src="http://girishp.files.wordpress.com/2011/06/image_thumb.png?w=589&#038;h=472" width="589" height="472" /></a></p>
<p align="justify">I have created a simple ClasssLibrary and configured a few unit tests for the library. </p>
<p align="justify">&#160;</p>
<p align="justify">I also created a build definition which includes the tests I created to be run as part of the build. </p>
<p align="justify"><a href="http://girishp.files.wordpress.com/2011/06/image1.png"><img style="background-image:none;padding-left:0;padding-right:0;display:inline;padding-top:0;border-width:0;" title="image" border="0" alt="image" src="http://girishp.files.wordpress.com/2011/06/image_thumb1.png?w=956&#038;h=530" width="956" height="530" /></a></p>
<p align="justify">In my test settings file, I have turned on some level of collection, though not all of it. Depending on the nature of the application and as well as the anticipated level of data that the team feels that needs collecting, you might select a few OR even all of it (or close). This is where one needs to exercise caution and judgment in collection. Do you need some OR all of it?</p>
<p align="justify"><a href="http://girishp.files.wordpress.com/2011/06/image2.png"><img style="background-image:none;padding-left:0;padding-right:0;display:inline;padding-top:0;border-width:0;" title="image" border="0" alt="image" src="http://girishp.files.wordpress.com/2011/06/image_thumb2.png?w=784&#038;h=479" width="784" height="479" /></a></p>
<p align="justify">After firing this build which also runs the tests, the size of the tbl_attachmentContent has gone up, as you can see below. As you can see the row count has increased to 182 from 167 and as well as the size has increased from 105.664MB to 105.727MB. This is only a small bump in this demo, due to the nature of my sample. But in most cases this bump could easily be a GB and more. It all depends on your test runs and the configuration you have for collecting the data.</p>
<p align="justify"><a href="http://girishp.files.wordpress.com/2011/06/image3.png"><img style="background-image:none;padding-left:0;padding-right:0;display:inline;padding-top:0;border-width:0;" title="image" border="0" alt="image" src="http://girishp.files.wordpress.com/2011/06/image_thumb3.png?w=802&#038;h=500" width="802" height="500" /></a></p>
<p align="justify">The above is when the tests pass. Now if the tests fail, then more data gets gathered and stored, as you can see below when the tests fail. In this case I failed the tests and the row count has increased to 224 and the size has grown a lot more to 149.117 MB.</p>
<p align="justify"><a href="http://girishp.files.wordpress.com/2011/06/image11.png"><img style="background-image:none;padding-left:0;padding-right:0;display:inline;padding-top:0;border-width:0;" title="image" border="0" alt="image" src="http://girishp.files.wordpress.com/2011/06/image_thumb11.png?w=818&#038;h=394" width="818" height="394" /></a></p>
<p align="justify">Now that the table has been shown to grow, let us proceed to see how to delete the data and reclaim space. </p>
<p align="justify">Here is where one would use the Test Attachment Cleanup tool. This tool is by default installed in the folder: C:\Program Files (x86)\Microsoft\Test Attachment Cleaner. This is available for download from: <a title="http://visualstudiogallery.msdn.microsoft.com/3d37ce86-05f1-4165-957c-26aaa5ea1010/" href="http://visualstudiogallery.msdn.microsoft.com/3d37ce86-05f1-4165-957c-26aaa5ea1010/">http://visualstudiogallery.msdn.microsoft.com/3d37ce86-05f1-4165-957c-26aaa5ea1010/</a>&#160;</p>
<p align="justify"><a href="http://girishp.files.wordpress.com/2011/06/image4.png"><img style="background-image:none;padding-left:0;padding-right:0;display:inline;padding-top:0;border-width:0;" title="image" border="0" alt="image" src="http://girishp.files.wordpress.com/2011/06/image_thumb4.png?w=594&#038;h=322" width="594" height="322" /></a></p>
<p align="justify">To run this tool fire up a command prompt and run it. Prior to this your team needs to carefully consider what you wanted deleted. There are several sample settings file in the “Sample Settings” folder. </p>
<p align="justify">For this demo I have adopted to delete all of the attachments that were created later to a particular point in time. That is all of the data created by the Build that ran the tests will be deleted. </p>
<p align="justify">Here is my settings file:</p>
<p align="justify"><a href="http://girishp.files.wordpress.com/2011/06/image5.png"><img style="background-image:none;padding-left:0;padding-right:0;display:inline;padding-top:0;border-width:0;" title="image" border="0" alt="image" src="http://girishp.files.wordpress.com/2011/06/image_thumb5.png?w=544&#038;h=300" width="544" height="300" /></a></p>
<p>Basically any data that was collected after 5/30/2011 will be deleted. </p>
<p>The tool can be run with a preview mode, which will show all of the stuff that will get deleted without actually being deleted. </p>
<p><a href="http://girishp.files.wordpress.com/2011/06/image6.png"><img style="background-image:none;padding-left:0;padding-right:0;display:inline;padding-top:0;border-width:0;" title="image" border="0" alt="image" src="http://girishp.files.wordpress.com/2011/06/image_thumb6.png?w=827&#038;h=125" width="827" height="125" /></a></p>
<p>Here are the contents of the output1.txt which shows what will be deleted. </p>
<p><a href="http://girishp.files.wordpress.com/2011/06/image7.png"><img style="background-image:none;padding-left:0;padding-right:0;display:inline;padding-top:0;border-width:0;" title="image" border="0" alt="image" src="http://girishp.files.wordpress.com/2011/06/image_thumb7.png?w=947&#038;h=463" width="947" height="463" /></a></p>
<p align="justify">As you can see for a minimalistic test run I had done, there is so much of data collected. One can easily understand how for an involved test run, the amount of data collected will be quite huge. Make sure to view the preview data and confirm these are the things you want deleted. </p>
<p align="justify">Now to actually delete, one has to change the mode to “delete” as follows.</p>
<p><a href="http://girishp.files.wordpress.com/2011/06/image8.png"><img style="background-image:none;padding-left:0;padding-right:0;display:inline;padding-top:0;border-width:0;" title="image" border="0" alt="image" src="http://girishp.files.wordpress.com/2011/06/image_thumb8.png?w=851&#038;h=116" width="851" height="116" /></a></p>
<p>Once deleted, you can view the output file to see what was deleted. </p>
<p><a href="http://girishp.files.wordpress.com/2011/06/image9.png"><img style="background-image:none;padding-left:0;padding-right:0;display:inline;padding-top:0;border-width:0;" title="image" border="0" alt="image" src="http://girishp.files.wordpress.com/2011/06/image_thumb9.png?w=909&#038;h=496" width="909" height="496" /></a></p>
<p align="justify">Also going back to the collection database, and seeing the properties of the table, one can see that the size and row count had been reduced. </p>
<p align="justify">Running a query off of the tbl_attachmentContent table one can see there are no rows past the deletion criteria date of 2011-5-30 that we had set.</p>
<p><a href="http://girishp.files.wordpress.com/2011/06/image10.png"><img style="background-image:none;padding-left:0;padding-right:0;display:inline;padding-top:0;border-width:0;" title="image" border="0" alt="image" src="http://girishp.files.wordpress.com/2011/06/image_thumb10.png?w=915&#038;h=369" width="915" height="369" /></a></p>
<p align="justify">Also there are several other options possible. All of these are dealt with in the various samples settings file available as part of the download. </p>
<p align="justify">Finally if you prefer you can also set this to run a regularly scheduled NT Task to run periodically. It is also possible to make it as part of a Build by setting up a custom task in your build workflow. </p>
<div style="display:inline;float:none;margin:0;padding:0;" id="scid:0767317B-992E-4b12-91E0-4F059A8CECA8:9606a976-940f-40f8-8788-f01c586b4666" class="wlWriterEditableSmartContent">BuzzNet Tags: <a href="http://www.buzznet.com/tags/TFS+Test+Attachment+Cleanup" rel="tag">TFS Test Attachment Cleanup</a></div>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/girishp.wordpress.com/262/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/girishp.wordpress.com/262/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/girishp.wordpress.com/262/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/girishp.wordpress.com/262/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/girishp.wordpress.com/262/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/girishp.wordpress.com/262/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/girishp.wordpress.com/262/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/girishp.wordpress.com/262/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/girishp.wordpress.com/262/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/girishp.wordpress.com/262/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/girishp.wordpress.com/262/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/girishp.wordpress.com/262/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/girishp.wordpress.com/262/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/girishp.wordpress.com/262/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=girishp.wordpress.com&amp;blog=7422429&amp;post=262&amp;subd=girishp&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://girishp.wordpress.com/2011/06/01/tfs-2010test-case-attachment-cleanup-tool-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/85d43a98b65449c627ec4455b23346b9?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">girishp</media:title>
		</media:content>

		<media:content url="http://girishp.files.wordpress.com/2011/06/image_thumb.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>

		<media:content url="http://girishp.files.wordpress.com/2011/06/image_thumb1.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>

		<media:content url="http://girishp.files.wordpress.com/2011/06/image_thumb2.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>

		<media:content url="http://girishp.files.wordpress.com/2011/06/image_thumb3.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>

		<media:content url="http://girishp.files.wordpress.com/2011/06/image_thumb11.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>

		<media:content url="http://girishp.files.wordpress.com/2011/06/image_thumb4.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>

		<media:content url="http://girishp.files.wordpress.com/2011/06/image_thumb5.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>

		<media:content url="http://girishp.files.wordpress.com/2011/06/image_thumb6.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>

		<media:content url="http://girishp.files.wordpress.com/2011/06/image_thumb7.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>

		<media:content url="http://girishp.files.wordpress.com/2011/06/image_thumb8.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>

		<media:content url="http://girishp.files.wordpress.com/2011/06/image_thumb9.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>

		<media:content url="http://girishp.files.wordpress.com/2011/06/image_thumb10.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>
	</item>
		<item>
		<title>TFS 2010&#8211;Test Case Attachment Cleanup tool</title>
		<link>http://girishp.wordpress.com/2011/06/01/tfs-2010test-case-attachment-cleanup-tool/</link>
		<comments>http://girishp.wordpress.com/2011/06/01/tfs-2010test-case-attachment-cleanup-tool/#comments</comments>
		<pubDate>Wed, 01 Jun 2011 03:54:39 +0000</pubDate>
		<dc:creator>girishp</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">https://girishp.wordpress.com/2011/06/01/tfs-2010test-case-attachment-cleanup-tool/</guid>
		<description><![CDATA[&#160; This attachment cleanup tool can be downloaded from the link below. http://visualstudiogallery.msdn.microsoft.com/3d37ce86-05f1-4165-957c-26aaa5ea1010/&#160; For some of the customers who use the advanced capabilities of TFS 2010, such as collecting diagnostic data from the Test runs, they come up with the issue of quick build up the TFS Database disk space. Depending on the volume of [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=girishp.wordpress.com&amp;blog=7422429&amp;post=259&amp;subd=girishp&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>&#160;</p>
<p align="justify">This attachment cleanup tool can be downloaded from the link below.</p>
<p align="justify"><a title="http://visualstudiogallery.msdn.microsoft.com/3d37ce86-05f1-4165-957c-26aaa5ea1010/" href="http://visualstudiogallery.msdn.microsoft.com/3d37ce86-05f1-4165-957c-26aaa5ea1010/">http://visualstudiogallery.msdn.microsoft.com/3d37ce86-05f1-4165-957c-26aaa5ea1010/</a>&#160;</p>
<p align="justify">For some of the customers who use the advanced capabilities of TFS 2010, such as collecting diagnostic data from the Test runs, they come up with the issue of quick build up the TFS Database disk space. Depending on the volume of diagnostic data collected with each build, this can reach critical threshold levels very quickly. </p>
<p align="justify">Some of the general advice is as follows:</p>
<ol>
<li>
<div align="justify">Decide if you must collect diagnostic data always.</div>
</li>
<li>
<div align="justify">If you must, then chose whether you or your team will benefit by collecting a subset of the possible types of diagnostic data, instead of all of it.        </p>
<p>The following types of data are collected for the full gamut, though this list is not completely exhaustive.         </p>
<p>TRX: for TRX files = Unit Test Results         <br />TR_: for intermediate TRX files = Unit Test Results         <br />iTrace: for IntelliTrace files = IntelliTrace/Historical Debugger files         <br />WMV/XESC/TRMX: for Windows Media Encoder or Expression Encoder Video files = Microsoft Test Runner video recordings         <br />XML: for Action Log, System Information files = Microsoft Test Runner action logs         <br />EVT: for Event Logs         <br />COV: for Code coverage files         <br />DLL/PDB files.         </div>
</li>
<li>
<div align="justify">As you can see above this can quite quickly increase space consumption in the table tbl_attachmentContent for the collection under which you are running the build.</div>
</li>
</ol>
<p align="justify">As it stands now, one has to do some amount of juggling and figuring out, where the right balance is with respect to collecting diagnostic data. There is no real prescriptive solution other than to arrive at the correct balance. The balance is a mixture of factors:</p>
<p align="justify">a) Deciding upon the correct set of data to collect.</p>
<p align="justify">b) Deciding when to collect. Should collection be part of a daily build? Should it be part of CI build? And so on. </p>
<p align="justify">c) Setting a scheduled task to go and cleanup the attachments on a regular basis. </p>
<p align="justify">Below I show a sequence to help understand the phenomenon. The following is a screen shot of the tbl_AttachmentContent table prior to invoking a build which contains tests that collect some data. The important data is of course the DataSpace which is 105.664 MB (Note that this is for a minimalistic demo and your specific instance might most probably have the data at another number).</p>
<p align="justify"><a href="http://girishp.files.wordpress.com/2011/06/image.png"><img style="background-image:none;padding-left:0;padding-right:0;display:inline;padding-top:0;border-width:0;" title="image" border="0" alt="image" src="http://girishp.files.wordpress.com/2011/06/image_thumb.png?w=589&#038;h=472" width="589" height="472" /></a></p>
<p align="justify">I have created a simple ClasssLibrary and configured a few unit tests for the library. </p>
<p align="justify">&#160;</p>
<p align="justify">I also created a build definition which includes the tests I created to be run as part of the build. </p>
<p align="justify"><a href="http://girishp.files.wordpress.com/2011/06/image1.png"><img style="background-image:none;padding-left:0;padding-right:0;display:inline;padding-top:0;border-width:0;" title="image" border="0" alt="image" src="http://girishp.files.wordpress.com/2011/06/image_thumb1.png?w=956&#038;h=530" width="956" height="530" /></a></p>
<p align="justify">In my test settings file, I have turned on some level of collection, though not all of it. Depending on the nature of the application and as well as the anticipated level of data that the team feels that needs collecting, you might select a few OR even all of it (or close). This is where one needs to exercise caution and judgment in collection. Do you need some OR all of it?</p>
<p align="justify"><a href="http://girishp.files.wordpress.com/2011/06/image2.png"><img style="background-image:none;padding-left:0;padding-right:0;display:inline;padding-top:0;border-width:0;" title="image" border="0" alt="image" src="http://girishp.files.wordpress.com/2011/06/image_thumb2.png?w=784&#038;h=479" width="784" height="479" /></a></p>
<p align="justify">After firing this build which also runs the tests, the size of the tbl_attachmentContent has gone up, as you can see below. As you can see the row count has increased to 182 from 167 and as well as the size has increased from 105.664MB to 105.727MB. This is only a small bump in this demo, due to the nature of my sample. But in most cases this bump could easily be a GB and more. It all depends on your test runs and the configuration you have for collecting the data.</p>
<p align="justify"><a href="http://girishp.files.wordpress.com/2011/06/image3.png"><img style="background-image:none;padding-left:0;padding-right:0;display:inline;padding-top:0;border-width:0;" title="image" border="0" alt="image" src="http://girishp.files.wordpress.com/2011/06/image_thumb3.png?w=802&#038;h=500" width="802" height="500" /></a></p>
<p align="justify">Now that the table has been shown to grow, let us proceed to see how to delete the data and reclaim space. </p>
<p align="justify">Here is where one would use the Test Attachment Cleanup tool. This tool is by default installed in the folder: C:\Program Files (x86)\Microsoft\Test Attachment Cleaner. This is available for download from: <a title="http://visualstudiogallery.msdn.microsoft.com/3d37ce86-05f1-4165-957c-26aaa5ea1010/" href="http://visualstudiogallery.msdn.microsoft.com/3d37ce86-05f1-4165-957c-26aaa5ea1010/">http://visualstudiogallery.msdn.microsoft.com/3d37ce86-05f1-4165-957c-26aaa5ea1010/</a>&#160;</p>
<p align="justify"><a href="http://girishp.files.wordpress.com/2011/06/image4.png"><img style="background-image:none;padding-left:0;padding-right:0;display:inline;padding-top:0;border-width:0;" title="image" border="0" alt="image" src="http://girishp.files.wordpress.com/2011/06/image_thumb4.png?w=594&#038;h=322" width="594" height="322" /></a></p>
<p align="justify">To run this tool fire up a command prompt and run it. Prior to this your team needs to carefully consider what you wanted deleted. There are several sample settings file in the “Sample Settings” folder. </p>
<p align="justify">For this demo I have adopted to delete all of the attachments that were created later to a particular point in time. That is all of the data created by the Build that ran the tests will be deleted. </p>
<p align="justify">Here is my settings file:</p>
<p align="justify"><a href="http://girishp.files.wordpress.com/2011/06/image5.png"><img style="background-image:none;padding-left:0;padding-right:0;display:inline;padding-top:0;border-width:0;" title="image" border="0" alt="image" src="http://girishp.files.wordpress.com/2011/06/image_thumb5.png?w=544&#038;h=300" width="544" height="300" /></a></p>
<p>Basically any data that was collected after 5/30/2011 will be deleted. </p>
<p>The tool can be run with a preview mode, which will show all of the stuff that will get deleted without actually being deleted. </p>
<p><a href="http://girishp.files.wordpress.com/2011/06/image6.png"><img style="background-image:none;padding-left:0;padding-right:0;display:inline;padding-top:0;border-width:0;" title="image" border="0" alt="image" src="http://girishp.files.wordpress.com/2011/06/image_thumb6.png?w=827&#038;h=125" width="827" height="125" /></a></p>
<p>Here are the contents of the output1.txt which shows what will be deleted. </p>
<p><a href="http://girishp.files.wordpress.com/2011/06/image7.png"><img style="background-image:none;padding-left:0;padding-right:0;display:inline;padding-top:0;border-width:0;" title="image" border="0" alt="image" src="http://girishp.files.wordpress.com/2011/06/image_thumb7.png?w=947&#038;h=463" width="947" height="463" /></a></p>
<p align="justify">As you can see for a minimalistic test run I had done, there is so much of data collected. One can easily understand how for an involved test run, the amount of data collected will be quite huge. Make sure to view the preview data and confirm these are the things you want deleted. </p>
<p align="justify">Now to actually delete, one has to change the mode to “delete” as follows.</p>
<p><a href="http://girishp.files.wordpress.com/2011/06/image8.png"><img style="background-image:none;padding-left:0;padding-right:0;display:inline;padding-top:0;border-width:0;" title="image" border="0" alt="image" src="http://girishp.files.wordpress.com/2011/06/image_thumb8.png?w=851&#038;h=116" width="851" height="116" /></a></p>
<p>Once deleted, you can view the output file to see what was deleted. </p>
<p><a href="http://girishp.files.wordpress.com/2011/06/image9.png"><img style="background-image:none;padding-left:0;padding-right:0;display:inline;padding-top:0;border-width:0;" title="image" border="0" alt="image" src="http://girishp.files.wordpress.com/2011/06/image_thumb9.png?w=909&#038;h=496" width="909" height="496" /></a></p>
<p align="justify">Also going back to the collection database, and seeing the properties of the table, one can see that the size and row count had been reduced. </p>
<p align="justify">Running a query off of the tbl_attachmentContent table one can see there are no rows past the deletion criteria date of 2011-5-30 that we had set.</p>
<p><a href="http://girishp.files.wordpress.com/2011/06/image10.png"><img style="background-image:none;padding-left:0;padding-right:0;display:inline;padding-top:0;border-width:0;" title="image" border="0" alt="image" src="http://girishp.files.wordpress.com/2011/06/image_thumb10.png?w=915&#038;h=369" width="915" height="369" /></a></p>
<p align="justify">Also there are several other options possible. All of these are dealt with in the various samples settings file available as part of the download. </p>
<p align="justify">Finally if you prefer you can also set this to run a regularly scheduled NT Task to run periodically. It is also possible to make it as part of a Build by setting up a custom task in your build workflow. </p>
<div style="display:inline;float:none;margin:0;padding:0;" id="scid:0767317B-992E-4b12-91E0-4F059A8CECA8:9606a976-940f-40f8-8788-f01c586b4666" class="wlWriterEditableSmartContent">BuzzNet Tags: <a href="http://www.buzznet.com/tags/TFS+Test+Attachment+Cleanup" rel="tag">TFS Test Attachment Cleanup</a></div>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/girishp.wordpress.com/259/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/girishp.wordpress.com/259/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/girishp.wordpress.com/259/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/girishp.wordpress.com/259/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/girishp.wordpress.com/259/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/girishp.wordpress.com/259/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/girishp.wordpress.com/259/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/girishp.wordpress.com/259/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/girishp.wordpress.com/259/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/girishp.wordpress.com/259/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/girishp.wordpress.com/259/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/girishp.wordpress.com/259/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/girishp.wordpress.com/259/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/girishp.wordpress.com/259/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=girishp.wordpress.com&amp;blog=7422429&amp;post=259&amp;subd=girishp&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://girishp.wordpress.com/2011/06/01/tfs-2010test-case-attachment-cleanup-tool/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/85d43a98b65449c627ec4455b23346b9?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">girishp</media:title>
		</media:content>

		<media:content url="http://girishp.files.wordpress.com/2011/06/image_thumb.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>

		<media:content url="http://girishp.files.wordpress.com/2011/06/image_thumb1.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>

		<media:content url="http://girishp.files.wordpress.com/2011/06/image_thumb2.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>

		<media:content url="http://girishp.files.wordpress.com/2011/06/image_thumb3.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>

		<media:content url="http://girishp.files.wordpress.com/2011/06/image_thumb4.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>

		<media:content url="http://girishp.files.wordpress.com/2011/06/image_thumb5.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>

		<media:content url="http://girishp.files.wordpress.com/2011/06/image_thumb6.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>

		<media:content url="http://girishp.files.wordpress.com/2011/06/image_thumb7.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>

		<media:content url="http://girishp.files.wordpress.com/2011/06/image_thumb8.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>

		<media:content url="http://girishp.files.wordpress.com/2011/06/image_thumb9.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>

		<media:content url="http://girishp.files.wordpress.com/2011/06/image_thumb10.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>
	</item>
		<item>
		<title>Connecting to TFS from Microsoft Test Manager aka MTM</title>
		<link>http://girishp.wordpress.com/2011/05/21/connecting-to-tfs-from-microsoft-test-manager-aka-mtm-3/</link>
		<comments>http://girishp.wordpress.com/2011/05/21/connecting-to-tfs-from-microsoft-test-manager-aka-mtm-3/#comments</comments>
		<pubDate>Sat, 21 May 2011 02:56:46 +0000</pubDate>
		<dc:creator>girishp</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">https://girishp.wordpress.com/2011/05/21/connecting-to-tfs-from-microsoft-test-manager-aka-mtm-3/</guid>
		<description><![CDATA[&#160; This question has come up a few times, so I thought I might as well blog. How to connect to Team Foundation Server from the Test Management console. You are connecting from MTM to TFS and you get the following error. Unable to connect to the server &#60;YourServerName&#62;. Check that the server name is [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=girishp.wordpress.com&amp;blog=7422429&amp;post=236&amp;subd=girishp&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>&#160;</p>
<p align="justify"><font color="#000000">This question has come up a few times, so I thought I might as well blog. How to connect to Team Foundation Server from the Test Management console. </font></p>
<p align="justify"><font color="#000000">You are connecting from MTM to TFS and you get the following error.</font></p>
<p align="justify"><font color="#ff0000">Unable to connect to the server &lt;YourServerName&gt;. Check that the server name is correct and that you have access to the server.</font></p>
<p align="justify"><font color="#000000">First check if your server version is 2010 or not. You cant use MTM to connect to a 2008 TFS Server. Assuming it is a 2010 Server, then you can carry out some of the steps below to get connected from MTM to TFS 2010.</font></p>
<p align="justify">Say for instance this is your TFS instance that you had connected to from Visual Studio Team Explorer Client. </p>
<p><a href="http://girishp.files.wordpress.com/2011/05/image25.png"><img style="background-image:none;padding-left:0;padding-right:0;display:inline;padding-top:0;border-width:0;" title="image" border="0" alt="image" src="http://girishp.files.wordpress.com/2011/05/image_thumb25.png?w=638&#038;h=432" width="638" height="432" /></a></p>
<p>So you go to the MTM Console and try to add the Server as follows, and click on Add. </p>
<p><a href="http://girishp.files.wordpress.com/2011/05/image26.png"><img style="background-image:none;padding-left:0;padding-right:0;display:inline;padding-top:0;border-width:0;" title="image" border="0" alt="image" src="http://girishp.files.wordpress.com/2011/05/image_thumb26.png?w=476&#038;h=331" width="476" height="331" /></a></p>
<p>You get this response, wondering what you did wrong.</p>
<p><a href="http://girishp.files.wordpress.com/2011/05/image27.png"><img style="background-image:none;padding-left:0;padding-right:0;display:inline;padding-top:0;border-width:0;" title="image" border="0" alt="image" src="http://girishp.files.wordpress.com/2011/05/image_thumb27.png?w=468&#038;h=379" width="468" height="379" /></a></p>
<p>Then you add the “TFS” at the end as follows:</p>
<p><a href="http://girishp.files.wordpress.com/2011/05/image28.png"><img style="background-image:none;padding-left:0;padding-right:0;display:inline;padding-top:0;border-width:0;" title="image" border="0" alt="image" src="http://girishp.files.wordpress.com/2011/05/image_thumb28.png?w=421&#038;h=298" width="421" height="298" /></a></p>
<p align="justify">And voila you are connected. And it lists you the Project Collection to pick and the Team Project to pick underneath it&#160; as follows:</p>
<p><a href="http://girishp.files.wordpress.com/2011/05/image29.png"><img style="background-image:none;padding-left:0;padding-right:0;display:inline;padding-top:0;border-width:0;" title="image" border="0" alt="image" src="http://girishp.files.wordpress.com/2011/05/image_thumb29.png?w=426&#038;h=342" width="426" height="342" /></a></p>
<p align="justify">Click on the project you want to work on, and it should take you to the screen and you are on your way.</p>
<p><a href="http://girishp.files.wordpress.com/2011/05/image30.png"><img style="background-image:none;padding-left:0;padding-right:0;display:inline;padding-top:0;border-width:0;" title="image" border="0" alt="image" src="http://girishp.files.wordpress.com/2011/05/image_thumb30.png?w=431&#038;h=309" width="431" height="309" /></a></p>
<p align="justify">Sometimes you will get errors not connecting to the TFS Server. Most often this is due to wrong Server URL you specified. In such cases also try the method below. </p>
<p>&#160;</p>
<h4><font>The other way to connect from MTM to TFS: MTM command line</font></h4>
<p align="justify">If you go the MTM installation folder, you can connect to TFS directly by using the command line invocation of MTM. </p>
<p><a href="http://girishp.files.wordpress.com/2011/05/image31.png"><img style="background-image:none;padding-left:0;padding-right:0;display:inline;padding-top:0;border-width:0;" title="image" border="0" alt="image" src="http://girishp.files.wordpress.com/2011/05/image_thumb31.png?w=577&#038;h=238" width="577" height="238" /></a></p>
<p align="justify">The easiest way to get to the correct Server URL that MTM needs is to go the Team Explorer in Visual Studio and copy and paste from there. See below for the Server Url in the properties window from where you C&amp;P.</p>
<p><a href="http://girishp.files.wordpress.com/2011/05/image32.png"><img style="background-image:none;padding-left:0;padding-right:0;display:inline;padding-top:0;border-width:0;" title="image" border="0" alt="image" src="http://girishp.files.wordpress.com/2011/05/image_thumb32.png?w=526&#038;h=369" width="526" height="369" /></a></p>
<p align="justify">MTM is installed in the C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE folder, if you installed on the C:\ drive. So go to that in a command prompt and invoke MTM as follows: (contains two / switches /s for Server and /p for project – your might vary based on your URL and Project Collection)</p>
<p><a href="http://girishp.files.wordpress.com/2011/05/image33.png"><img style="background-image:none;padding-left:0;padding-right:0;display:inline;padding-top:0;border-width:0;" title="image" border="0" alt="image" src="http://girishp.files.wordpress.com/2011/05/image_thumb33.png?w=713&#038;h=202" width="713" height="202" /></a> </p>
<div style="display:inline;float:none;margin:0;padding:0;" id="scid:0767317B-992E-4b12-91E0-4F059A8CECA8:10a37278-c384-41a0-af78-c66144cede7f" class="wlWriterEditableSmartContent">BuzzNet Tags: <a href="http://www.buzznet.com/tags/MTM+TFS+connecting+command+line" rel="tag">MTM TFS connecting command line</a></div>
<p align="justify">This should take you to the screen for selecting a Test Plan if you already had one, or to add a new one if non existed for the Team Project that you had chosen, and you should be good to go.</p>
<p><a href="http://girishp.files.wordpress.com/2011/05/image34.png"><img style="background-image:none;padding-left:0;padding-right:0;display:inline;padding-top:0;border-width:0;" title="image" border="0" alt="image" src="http://girishp.files.wordpress.com/2011/05/image_thumb34.png?w=552&#038;h=349" width="552" height="349" /></a></p>
<p align="justify">Not only that, once you got the command-line working, you can convert it into a Desktop Shortcut and or a Taskbar item and always keep it ready to launch if you work with MTM a lot.</p>
<p align="justify">In my case the string I used for shortcut is exactly the same as in the command window. Please see below:</p>
<p><a href="http://girishp.files.wordpress.com/2011/05/image35.png"><img style="background-image:none;padding-left:0;padding-right:0;display:inline;padding-top:0;border-width:0;" title="image" border="0" alt="image" src="http://girishp.files.wordpress.com/2011/05/image_thumb35.png?w=414&#038;h=447" width="414" height="447" /></a></p>
<p>Basically you have to fill up the /s and the /p parameter arguments to MTM.</p>
<p><a href="http://girishp.files.wordpress.com/2011/05/image36.png"><img style="background-image:none;padding-left:0;padding-right:0;display:inline;padding-top:0;border-width:0;" title="image" border="0" alt="image" src="http://girishp.files.wordpress.com/2011/05/image_thumb36.png?w=564&#038;h=541" width="564" height="541" /></a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/girishp.wordpress.com/236/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/girishp.wordpress.com/236/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/girishp.wordpress.com/236/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/girishp.wordpress.com/236/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/girishp.wordpress.com/236/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/girishp.wordpress.com/236/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/girishp.wordpress.com/236/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/girishp.wordpress.com/236/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/girishp.wordpress.com/236/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/girishp.wordpress.com/236/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/girishp.wordpress.com/236/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/girishp.wordpress.com/236/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/girishp.wordpress.com/236/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/girishp.wordpress.com/236/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=girishp.wordpress.com&amp;blog=7422429&amp;post=236&amp;subd=girishp&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://girishp.wordpress.com/2011/05/21/connecting-to-tfs-from-microsoft-test-manager-aka-mtm-3/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/85d43a98b65449c627ec4455b23346b9?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">girishp</media:title>
		</media:content>

		<media:content url="http://girishp.files.wordpress.com/2011/05/image_thumb25.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>

		<media:content url="http://girishp.files.wordpress.com/2011/05/image_thumb26.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>

		<media:content url="http://girishp.files.wordpress.com/2011/05/image_thumb27.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>

		<media:content url="http://girishp.files.wordpress.com/2011/05/image_thumb28.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>

		<media:content url="http://girishp.files.wordpress.com/2011/05/image_thumb29.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>

		<media:content url="http://girishp.files.wordpress.com/2011/05/image_thumb30.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>

		<media:content url="http://girishp.files.wordpress.com/2011/05/image_thumb31.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>

		<media:content url="http://girishp.files.wordpress.com/2011/05/image_thumb32.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>

		<media:content url="http://girishp.files.wordpress.com/2011/05/image_thumb33.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>

		<media:content url="http://girishp.files.wordpress.com/2011/05/image_thumb34.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>

		<media:content url="http://girishp.files.wordpress.com/2011/05/image_thumb35.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>

		<media:content url="http://girishp.files.wordpress.com/2011/05/image_thumb36.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>
	</item>
		<item>
		<title>Connecting to TFS from Microsoft Test Manager aka MTM</title>
		<link>http://girishp.wordpress.com/2011/05/21/connecting-to-tfs-from-microsoft-test-manager-aka-mtm-2/</link>
		<comments>http://girishp.wordpress.com/2011/05/21/connecting-to-tfs-from-microsoft-test-manager-aka-mtm-2/#comments</comments>
		<pubDate>Sat, 21 May 2011 02:22:09 +0000</pubDate>
		<dc:creator>girishp</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">https://girishp.wordpress.com/2011/05/21/connecting-to-tfs-from-microsoft-test-manager-aka-mtm-2/</guid>
		<description><![CDATA[&#160; This question has come up a few times, so I thought I might as well blog. How to connect to Team Foundation Server from the Test Management console. You are connecting from MTM to TFS and you get the following error. Unable to connect to the server &#60;YourServerName&#62;. Check that the server name is [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=girishp.wordpress.com&amp;blog=7422429&amp;post=211&amp;subd=girishp&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>&#160;</p>
<p align="justify"><font color="#000000">This question has come up a few times, so I thought I might as well blog. How to connect to Team Foundation Server from the Test Management console. </font></p>
<p align="justify"><font color="#000000">You are connecting from MTM to TFS and you get the following error.</font></p>
<p align="justify"><font color="#000000">Unable to connect to the server &lt;YourServerName&gt;. Check that the server name is correct and that you have access to the server.</font></p>
<p align="justify"><font color="#000000">First check if your server version is 2010 or not. You cant use MTM to connect to a 2008 TFS Server. Assuming it is a 2010 Server, then you can carry out some of the steps below to get connected from MTM to TFS 2010.</font></p>
<p align="justify">Say for instance this is your TFS instance that you had connected to from Visual Studio Team Explorer Client. </p>
<p><a href="http://girishp.files.wordpress.com/2011/05/image13.png"><img style="background-image:none;padding-left:0;padding-right:0;display:inline;padding-top:0;border-width:0;" title="image" border="0" alt="image" src="http://girishp.files.wordpress.com/2011/05/image_thumb13.png?w=638&#038;h=432" width="638" height="432" /></a></p>
<p>So you go to the MTM Console and try to add the Server as follows, and click on Add. </p>
<p><a href="http://girishp.files.wordpress.com/2011/05/image14.png"><img style="background-image:none;padding-left:0;padding-right:0;display:inline;padding-top:0;border-width:0;" title="image" border="0" alt="image" src="http://girishp.files.wordpress.com/2011/05/image_thumb14.png?w=476&#038;h=331" width="476" height="331" /></a></p>
<p>You get this response, wondering what you did wrong.</p>
<p><a href="http://girishp.files.wordpress.com/2011/05/image15.png"><img style="background-image:none;padding-left:0;padding-right:0;display:inline;padding-top:0;border-width:0;" title="image" border="0" alt="image" src="http://girishp.files.wordpress.com/2011/05/image_thumb15.png?w=468&#038;h=379" width="468" height="379" /></a></p>
<p>Then you add the “TFS” at the end as follows:</p>
<p><a href="http://girishp.files.wordpress.com/2011/05/image16.png"><img style="background-image:none;padding-left:0;padding-right:0;display:inline;padding-top:0;border-width:0;" title="image" border="0" alt="image" src="http://girishp.files.wordpress.com/2011/05/image_thumb16.png?w=421&#038;h=298" width="421" height="298" /></a></p>
<p align="justify">And voila you are connected. And it lists you the Project Collection to pick and the Team Project to pick underneath it&#160; as follows:</p>
<p><a href="http://girishp.files.wordpress.com/2011/05/image17.png"><img style="background-image:none;padding-left:0;padding-right:0;display:inline;padding-top:0;border-width:0;" title="image" border="0" alt="image" src="http://girishp.files.wordpress.com/2011/05/image_thumb17.png?w=426&#038;h=342" width="426" height="342" /></a></p>
<p align="justify">Click on the project you want to work on, and it should take you to the screen and you are on your way.</p>
<p><a href="http://girishp.files.wordpress.com/2011/05/image18.png"><img style="background-image:none;padding-left:0;padding-right:0;display:inline;padding-top:0;border-width:0;" title="image" border="0" alt="image" src="http://girishp.files.wordpress.com/2011/05/image_thumb18.png?w=431&#038;h=309" width="431" height="309" /></a></p>
<p align="justify">Sometimes you will get errors not connecting to the TFS Server. Most often this is due to wrong Server URL you specified. In such cases also try the method below. </p>
<p>&#160;</p>
<h4><font>The other way to connect from MTM to TFS: MTM command line</font></h4>
<p align="justify">If you go the MTM installation folder, you can connect to TFS directly by using the command line invocation of MTM. </p>
<p><a href="http://girishp.files.wordpress.com/2011/05/image19.png"><img style="background-image:none;padding-left:0;padding-right:0;display:inline;padding-top:0;border-width:0;" title="image" border="0" alt="image" src="http://girishp.files.wordpress.com/2011/05/image_thumb19.png?w=577&#038;h=238" width="577" height="238" /></a></p>
<p align="justify">The easiest way to get to the correct Server URL that MTM needs is to go the Team Explorer in Visual Studio and copy and paste from there. See below for the Server Url in the properties window from where you C&amp;P.</p>
<p><a href="http://girishp.files.wordpress.com/2011/05/image20.png"><img style="background-image:none;padding-left:0;padding-right:0;display:inline;padding-top:0;border-width:0;" title="image" border="0" alt="image" src="http://girishp.files.wordpress.com/2011/05/image_thumb20.png?w=526&#038;h=369" width="526" height="369" /></a></p>
<p align="justify">MTM is installed in the C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE folder, if you installed on the C:\ drive. So go to that in a command prompt and invoke MTM as follows: (contains two / switches /s for Server and /p for project – your might vary based on your URL and Project Collection)</p>
<p><a href="http://girishp.files.wordpress.com/2011/05/image21.png"><img style="background-image:none;padding-left:0;padding-right:0;display:inline;padding-top:0;border-width:0;" title="image" border="0" alt="image" src="http://girishp.files.wordpress.com/2011/05/image_thumb21.png?w=713&#038;h=202" width="713" height="202" /></a> </p>
<div style="display:inline;float:none;margin:0;padding:0;" id="scid:0767317B-992E-4b12-91E0-4F059A8CECA8:10a37278-c384-41a0-af78-c66144cede7f" class="wlWriterEditableSmartContent">BuzzNet Tags: <a href="http://www.buzznet.com/tags/MTM+TFS+connecting+command+line" rel="tag">MTM TFS connecting command line</a></div>
<p align="justify">This should take you to the screen for selecting a Test Plan if you already had one, or to add a new one if non existed for the Team Project that you had chosen, and you should be good to go.</p>
<p><a href="http://girishp.files.wordpress.com/2011/05/image22.png"><img style="background-image:none;padding-left:0;padding-right:0;display:inline;padding-top:0;border-width:0;" title="image" border="0" alt="image" src="http://girishp.files.wordpress.com/2011/05/image_thumb22.png?w=552&#038;h=349" width="552" height="349" /></a></p>
<p align="justify">Not only that, once you got the command-line working, you can convert it into a Desktop Shortcut and or a Taskbar item and always keep it ready to launch if you work with MTM a lot.</p>
<p align="justify">In my case the string I used for shortcut is exactly the same as in the command window. Please see below:</p>
<p><a href="http://girishp.files.wordpress.com/2011/05/image23.png"><img style="background-image:none;padding-left:0;padding-right:0;display:inline;padding-top:0;border-width:0;" title="image" border="0" alt="image" src="http://girishp.files.wordpress.com/2011/05/image_thumb23.png?w=414&#038;h=447" width="414" height="447" /></a></p>
<p>Basically you have to fill up the /s and the /p parameter arguments to MTM.</p>
<p><a href="http://girishp.files.wordpress.com/2011/05/image24.png"><img style="background-image:none;padding-left:0;padding-right:0;display:inline;padding-top:0;border-width:0;" title="image" border="0" alt="image" src="http://girishp.files.wordpress.com/2011/05/image_thumb24.png?w=564&#038;h=541" width="564" height="541" /></a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/girishp.wordpress.com/211/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/girishp.wordpress.com/211/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/girishp.wordpress.com/211/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/girishp.wordpress.com/211/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/girishp.wordpress.com/211/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/girishp.wordpress.com/211/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/girishp.wordpress.com/211/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/girishp.wordpress.com/211/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/girishp.wordpress.com/211/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/girishp.wordpress.com/211/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/girishp.wordpress.com/211/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/girishp.wordpress.com/211/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/girishp.wordpress.com/211/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/girishp.wordpress.com/211/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=girishp.wordpress.com&amp;blog=7422429&amp;post=211&amp;subd=girishp&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://girishp.wordpress.com/2011/05/21/connecting-to-tfs-from-microsoft-test-manager-aka-mtm-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/85d43a98b65449c627ec4455b23346b9?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">girishp</media:title>
		</media:content>

		<media:content url="http://girishp.files.wordpress.com/2011/05/image_thumb13.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>

		<media:content url="http://girishp.files.wordpress.com/2011/05/image_thumb14.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>

		<media:content url="http://girishp.files.wordpress.com/2011/05/image_thumb15.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>

		<media:content url="http://girishp.files.wordpress.com/2011/05/image_thumb16.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>

		<media:content url="http://girishp.files.wordpress.com/2011/05/image_thumb17.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>

		<media:content url="http://girishp.files.wordpress.com/2011/05/image_thumb18.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>

		<media:content url="http://girishp.files.wordpress.com/2011/05/image_thumb19.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>

		<media:content url="http://girishp.files.wordpress.com/2011/05/image_thumb20.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>

		<media:content url="http://girishp.files.wordpress.com/2011/05/image_thumb21.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>

		<media:content url="http://girishp.files.wordpress.com/2011/05/image_thumb22.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>

		<media:content url="http://girishp.files.wordpress.com/2011/05/image_thumb23.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>

		<media:content url="http://girishp.files.wordpress.com/2011/05/image_thumb24.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>
	</item>
		<item>
		<title>Connecting to TFS from Microsoft Test Manager aka MTM</title>
		<link>http://girishp.wordpress.com/2011/05/20/connecting-to-tfs-from-microsoft-test-manager-aka-mtm/</link>
		<comments>http://girishp.wordpress.com/2011/05/20/connecting-to-tfs-from-microsoft-test-manager-aka-mtm/#comments</comments>
		<pubDate>Fri, 20 May 2011 23:10:02 +0000</pubDate>
		<dc:creator>girishp</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">https://girishp.wordpress.com/2011/05/20/connecting-to-tfs-from-microsoft-test-manager-aka-mtm/</guid>
		<description><![CDATA[&#160; This question has come up a few times, so I thought I might as well blog. How to connect to Team Foundation Server from the Test Management console. Say for instance this is your TFS instance that you had connected to from Visual Studio Team Explorer Client. So you go to the MTM Console [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=girishp.wordpress.com&amp;blog=7422429&amp;post=186&amp;subd=girishp&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>&#160;</p>
<p align="justify">This question has come up a few times, so I thought I might as well blog. How to connect to Team Foundation Server from the Test Management console. </p>
<p align="justify">Say for instance this is your TFS instance that you had connected to from Visual Studio Team Explorer Client. </p>
<p><a href="http://girishp.files.wordpress.com/2011/05/image1.png"><img style="background-image:none;padding-left:0;padding-right:0;display:inline;padding-top:0;border-width:0;" title="image" border="0" alt="image" src="http://girishp.files.wordpress.com/2011/05/image_thumb1.png?w=638&#038;h=432" width="638" height="432" /></a></p>
<p>So you go to the MTM Console and try to add the Server as follows, and click on Add. </p>
<p><a href="http://girishp.files.wordpress.com/2011/05/image2.png"><img style="background-image:none;padding-left:0;padding-right:0;display:inline;padding-top:0;border-width:0;" title="image" border="0" alt="image" src="http://girishp.files.wordpress.com/2011/05/image_thumb2.png?w=476&#038;h=331" width="476" height="331" /></a></p>
<p>You get this response, wondering what you did wrong.</p>
<p><a href="http://girishp.files.wordpress.com/2011/05/image3.png"><img style="background-image:none;padding-left:0;padding-right:0;display:inline;padding-top:0;border-width:0;" title="image" border="0" alt="image" src="http://girishp.files.wordpress.com/2011/05/image_thumb3.png?w=468&#038;h=379" width="468" height="379" /></a></p>
<p>Then you add the “TFS” at the end as follows:</p>
<p><a href="http://girishp.files.wordpress.com/2011/05/image4.png"><img style="background-image:none;padding-left:0;padding-right:0;display:inline;padding-top:0;border-width:0;" title="image" border="0" alt="image" src="http://girishp.files.wordpress.com/2011/05/image_thumb4.png?w=421&#038;h=298" width="421" height="298" /></a></p>
<p align="justify">And voila you are connected. And it lists you the Project Collection to pick and the Team Project to pick underneath it&#160; as follows:</p>
<p><a href="http://girishp.files.wordpress.com/2011/05/image5.png"><img style="background-image:none;padding-left:0;padding-right:0;display:inline;padding-top:0;border-width:0;" title="image" border="0" alt="image" src="http://girishp.files.wordpress.com/2011/05/image_thumb5.png?w=426&#038;h=342" width="426" height="342" /></a></p>
<p align="justify">Click on the project you want to work on, and it should take you to the screen and you are on your way.</p>
<p><a href="http://girishp.files.wordpress.com/2011/05/image6.png"><img style="background-image:none;padding-left:0;padding-right:0;display:inline;padding-top:0;border-width:0;" title="image" border="0" alt="image" src="http://girishp.files.wordpress.com/2011/05/image_thumb6.png?w=431&#038;h=309" width="431" height="309" /></a></p>
<p align="justify">Sometimes you will get errors not connecting to the TFS Server. Most often this is due to wrong Server URL you specified. In such cases also try the method below. </p>
<p>&#160;</p>
<h4><font>The other way to connect from MTM to TFS: MTM command line</font></h4>
<p align="justify">If you go the MTM installation folder, you can connect to TFS directly by using the command line invocation of MTM. </p>
<p><a href="http://girishp.files.wordpress.com/2011/05/image7.png"><img style="background-image:none;padding-left:0;padding-right:0;display:inline;padding-top:0;border-width:0;" title="image" border="0" alt="image" src="http://girishp.files.wordpress.com/2011/05/image_thumb7.png?w=577&#038;h=238" width="577" height="238" /></a></p>
<p align="justify">The easiest way to get to the correct Server URL that MTM needs is to go the Team Explorer in Visual Studio and copy and paste from there. See below for the Server Url in the properties window from where you C&amp;P.</p>
<p><a href="http://girishp.files.wordpress.com/2011/05/image8.png"><img style="background-image:none;padding-left:0;padding-right:0;display:inline;padding-top:0;border-width:0;" title="image" border="0" alt="image" src="http://girishp.files.wordpress.com/2011/05/image_thumb8.png?w=526&#038;h=369" width="526" height="369" /></a></p>
<p align="justify">MTM is installed in the C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE folder, if you installed on the C:\ drive. So go to that in a command prompt and invoke MTM as follows: (contains two / switches /s for Server and /p for project – your might vary based on your URL and Project Collection)</p>
<p><a href="http://girishp.files.wordpress.com/2011/05/image9.png"><img style="background-image:none;padding-left:0;padding-right:0;display:inline;padding-top:0;border-width:0;" title="image" border="0" alt="image" src="http://girishp.files.wordpress.com/2011/05/image_thumb9.png?w=713&#038;h=202" width="713" height="202" /></a> </p>
<div style="display:inline;float:none;margin:0;padding:0;" id="scid:0767317B-992E-4b12-91E0-4F059A8CECA8:10a37278-c384-41a0-af78-c66144cede7f" class="wlWriterEditableSmartContent">BuzzNet Tags: <a href="http://www.buzznet.com/tags/MTM+TFS+connecting+command+line" rel="tag">MTM TFS connecting command line</a></div>
<p align="justify">This should take you to the screen for selecting a Test Plan if you already had one, or to add a new one if non existed for the Team Project that you had chosen, and you should be good to go.</p>
<p><a href="http://girishp.files.wordpress.com/2011/05/image10.png"><img style="background-image:none;padding-left:0;padding-right:0;display:inline;padding-top:0;border-width:0;" title="image" border="0" alt="image" src="http://girishp.files.wordpress.com/2011/05/image_thumb10.png?w=552&#038;h=349" width="552" height="349" /></a></p>
<p align="justify">Not only that, once you got the command-line working, you can convert it into a Desktop Shortcut and or a Taskbar item and always keep it ready to launch if you work with MTM a lot.</p>
<p align="justify">In my case the string I used for shortcut is exactly the same as in the command window. Please see below:</p>
<p><a href="http://girishp.files.wordpress.com/2011/05/image11.png"><img style="background-image:none;padding-left:0;padding-right:0;display:inline;padding-top:0;border-width:0;" title="image" border="0" alt="image" src="http://girishp.files.wordpress.com/2011/05/image_thumb11.png?w=414&#038;h=447" width="414" height="447" /></a></p>
<p>Basically you have to fill up the /s and the /p parameter arguments to MTM.</p>
<p><a href="http://girishp.files.wordpress.com/2011/05/image12.png"><img style="background-image:none;padding-left:0;padding-right:0;display:inline;padding-top:0;border-width:0;" title="image" border="0" alt="image" src="http://girishp.files.wordpress.com/2011/05/image_thumb12.png?w=564&#038;h=541" width="564" height="541" /></a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/girishp.wordpress.com/186/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/girishp.wordpress.com/186/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/girishp.wordpress.com/186/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/girishp.wordpress.com/186/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/girishp.wordpress.com/186/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/girishp.wordpress.com/186/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/girishp.wordpress.com/186/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/girishp.wordpress.com/186/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/girishp.wordpress.com/186/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/girishp.wordpress.com/186/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/girishp.wordpress.com/186/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/girishp.wordpress.com/186/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/girishp.wordpress.com/186/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/girishp.wordpress.com/186/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=girishp.wordpress.com&amp;blog=7422429&amp;post=186&amp;subd=girishp&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://girishp.wordpress.com/2011/05/20/connecting-to-tfs-from-microsoft-test-manager-aka-mtm/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/85d43a98b65449c627ec4455b23346b9?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">girishp</media:title>
		</media:content>

		<media:content url="http://girishp.files.wordpress.com/2011/05/image_thumb1.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>

		<media:content url="http://girishp.files.wordpress.com/2011/05/image_thumb2.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>

		<media:content url="http://girishp.files.wordpress.com/2011/05/image_thumb3.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>

		<media:content url="http://girishp.files.wordpress.com/2011/05/image_thumb4.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>

		<media:content url="http://girishp.files.wordpress.com/2011/05/image_thumb5.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>

		<media:content url="http://girishp.files.wordpress.com/2011/05/image_thumb6.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>

		<media:content url="http://girishp.files.wordpress.com/2011/05/image_thumb7.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>

		<media:content url="http://girishp.files.wordpress.com/2011/05/image_thumb8.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>

		<media:content url="http://girishp.files.wordpress.com/2011/05/image_thumb9.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>

		<media:content url="http://girishp.files.wordpress.com/2011/05/image_thumb10.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>

		<media:content url="http://girishp.files.wordpress.com/2011/05/image_thumb11.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>

		<media:content url="http://girishp.files.wordpress.com/2011/05/image_thumb12.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>
	</item>
		<item>
		<title>FunAnimalCards&#8211; An interactive application for toddlers published in the Windows Phone marketplace</title>
		<link>http://girishp.wordpress.com/2011/05/07/funanimalcards-an-interactive-application-for-toddlers-published-in-the-windows-phone-marketplace/</link>
		<comments>http://girishp.wordpress.com/2011/05/07/funanimalcards-an-interactive-application-for-toddlers-published-in-the-windows-phone-marketplace/#comments</comments>
		<pubDate>Sat, 07 May 2011 19:11:27 +0000</pubDate>
		<dc:creator>girishp</dc:creator>
				<category><![CDATA[windows phone]]></category>
		<category><![CDATA[WP7 - Windows Phone]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">https://girishp.wordpress.com/2011/05/07/funanimalcards-an-interactive-application-for-toddlers-published-in-the-windows-phone-marketplace/</guid>
		<description><![CDATA[&#160; FunAnimalCards is an interactive application developed for toddlers to help them to explore and interactively discover animals and receive positive encouragement and feedback in the process of exploring. This is a free application. Following are a few screen shots of the application. &#160;&#160; &#160; BuzzNet Tags: WP7 &#160; The kid can discover what the [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=girishp.wordpress.com&amp;blog=7422429&amp;post=161&amp;subd=girishp&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>&#160;</p>
<p align="justify">FunAnimalCards is an interactive application developed for toddlers to help them to explore and interactively discover animals and receive positive encouragement and feedback in the process of exploring. This is a free application. </p>
<p>Following are a few screen shots of the application. </p>
<p><a href="http://girishp.files.wordpress.com/2011/05/mainscreen-1.png"><img style="background-image:none;padding-left:0;padding-right:0;display:inline;padding-top:0;border-width:0;" title="MainScreen-1" border="0" alt="MainScreen-1" src="http://girishp.files.wordpress.com/2011/05/mainscreen-1_thumb.png?w=148&#038;h=244" width="148" height="244" /></a>&#160;&#160; <a href="http://girishp.files.wordpress.com/2011/05/lion.png"><img style="background-image:none;padding-left:0;padding-right:0;display:inline;padding-top:0;border-width:0;" title="Lion" border="0" alt="Lion" src="http://girishp.files.wordpress.com/2011/05/lion_thumb.png?w=139&#038;h=244" width="139" height="244" /></a>&#160; <a href="http://girishp.files.wordpress.com/2011/05/dog.png"><img style="background-image:none;padding-left:0;padding-right:0;display:inline;padding-top:0;border-width:0;" title="Dog" border="0" alt="Dog" src="http://girishp.files.wordpress.com/2011/05/dog_thumb.png?w=137&#038;h=244" width="137" height="244" /></a> </p>
<div style="display:inline;float:none;margin:0;padding:0;" id="scid:0767317B-992E-4b12-91E0-4F059A8CECA8:02fa4735-1579-4c4d-8db2-c7f327236c09" class="wlWriterEditableSmartContent">BuzzNet Tags: <a href="http://www.buzznet.com/tags/WP7" rel="tag">WP7</a></div>
<p><a href="http://girishp.files.wordpress.com/2011/05/rabbit.png"><img style="background-image:none;padding-left:0;padding-right:0;display:inline;padding-top:0;border-width:0;" title="Rabbit" border="0" alt="Rabbit" src="http://girishp.files.wordpress.com/2011/05/rabbit_thumb.png?w=148&#038;h=244" width="148" height="244" /></a>&#160; <a href="http://girishp.files.wordpress.com/2011/05/frog.png"><img style="background-image:none;padding-left:0;padding-right:0;display:inline;padding-top:0;border-width:0;" title="Frog" border="0" alt="Frog" src="http://girishp.files.wordpress.com/2011/05/frog_thumb.png?w=137&#038;h=244" width="137" height="244" /></a></p>
<p align="justify">The kid can discover what the animal is, and where to press among the various choices as well as the name of the animal spoken to him. This is just the first installment in this series. There are some more additions later on. </p>
<p align="justify">Enjoy the application, and let your kids have fun.This application is free. The ZUNE link to the application is: </p>
<p align="justify"><a title="zune://navigate/?phoneappid=33e04f85-f472-e011-81d2-78e7d1fa76f8" href="//navigate/?phoneappid=33e04f85-f472-e011-81d2-78e7d1fa76f8">zune://navigate/?phoneappid=33e04f85-f472-e011-81d2-78e7d1fa76f8</a></p>
<p align="justify">You can also search for it in the market place by the text “FunAnimalCards” and you should see it immediately.</p>
<p><a href="http://girishp.files.wordpress.com/2011/05/image.png"><img style="background-image:none;padding-left:0;padding-right:0;display:inline;padding-top:0;border-width:0;" title="image" border="0" alt="image" src="http://girishp.files.wordpress.com/2011/05/image_thumb.png?w=631&#038;h=459" width="631" height="459" /></a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/girishp.wordpress.com/161/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/girishp.wordpress.com/161/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/girishp.wordpress.com/161/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/girishp.wordpress.com/161/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/girishp.wordpress.com/161/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/girishp.wordpress.com/161/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/girishp.wordpress.com/161/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/girishp.wordpress.com/161/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/girishp.wordpress.com/161/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/girishp.wordpress.com/161/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/girishp.wordpress.com/161/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/girishp.wordpress.com/161/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/girishp.wordpress.com/161/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/girishp.wordpress.com/161/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=girishp.wordpress.com&amp;blog=7422429&amp;post=161&amp;subd=girishp&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://girishp.wordpress.com/2011/05/07/funanimalcards-an-interactive-application-for-toddlers-published-in-the-windows-phone-marketplace/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/85d43a98b65449c627ec4455b23346b9?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">girishp</media:title>
		</media:content>

		<media:content url="http://girishp.files.wordpress.com/2011/05/mainscreen-1_thumb.png" medium="image">
			<media:title type="html">MainScreen-1</media:title>
		</media:content>

		<media:content url="http://girishp.files.wordpress.com/2011/05/lion_thumb.png" medium="image">
			<media:title type="html">Lion</media:title>
		</media:content>

		<media:content url="http://girishp.files.wordpress.com/2011/05/dog_thumb.png" medium="image">
			<media:title type="html">Dog</media:title>
		</media:content>

		<media:content url="http://girishp.files.wordpress.com/2011/05/rabbit_thumb.png" medium="image">
			<media:title type="html">Rabbit</media:title>
		</media:content>

		<media:content url="http://girishp.files.wordpress.com/2011/05/frog_thumb.png" medium="image">
			<media:title type="html">Frog</media:title>
		</media:content>

		<media:content url="http://girishp.files.wordpress.com/2011/05/image_thumb.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>
	</item>
		<item>
		<title>TFS 2010 &#8211; Application Tier Version Control Cache Configuration</title>
		<link>http://girishp.wordpress.com/2011/05/01/tfs-2010-application-tier-version-control-cache-configuration-2/</link>
		<comments>http://girishp.wordpress.com/2011/05/01/tfs-2010-application-tier-version-control-cache-configuration-2/#comments</comments>
		<pubDate>Sun, 01 May 2011 18:04:25 +0000</pubDate>
		<dc:creator>girishp</dc:creator>
				<category><![CDATA[TFS Cache]]></category>

		<guid isPermaLink="false">https://girishp.wordpress.com/2011/05/01/tfs-2010-application-tier-version-control-cache-configuration-2/</guid>
		<description><![CDATA[Sometimes people experience some kind of disk pressure on the Application Tier due to the cache filling up and then go hunting on how to set the cache settings so that they can manage the disk pressure. This is not yet (as of the time of writing this blog post) well documented in the MSDN [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=girishp.wordpress.com&amp;blog=7422429&amp;post=142&amp;subd=girishp&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p align="justify">Sometimes people experience some kind of disk pressure on the Application Tier due to the cache filling up and then go hunting on how to set the cache settings so that they can manage the disk pressure. This is not yet (as of the time of writing this blog post) well documented in the MSDN documents for the 2010 version of the product. </p>
<p align="justify">One of our developers ( Remi )had passed this tip on how the TFS Application Tier cache settings are factored into the operations. Without this information some shops are left with the choice of just expanding disk space in a situation, where cache build up occurs but does not get cleared. </p>
<p style="margin:0;" class="MsoNormal"><span><font face="Calibri"><font color="#1f497d" size="4">The following applies to the AT cache only (the real proxy is close but not identical as it does not have access to the TFS registry)</font></font></span></p>
<p style="margin:0;" class="MsoNormal"><span><font face="Calibri"><font color="#1f497d">&#160;</font></font></span></p>
<p style="margin:0;" class="MsoNormal"><span><font face="Calibri"><font color="#1f497d">The TFS registry is the first place we look for settings:</font></font></span></p>
<p style="text-indent:-.25in;margin:0 0 0 .5in;" class="MsoListParagraph"><font color="#1f497d"><span><span><font face="Symbol">·</font><span style="line-height:normal;"><font face="Times New Roman"><font>&#160;&#160;&#160;&#160;&#160;&#160;&#160; </font></font></span></span></span><span><font face="Calibri">/Service/VersionControl/Settings/FixedSizeBasedPolicy indicates a fixed size cache (in MB)</font></span></font></p>
<p style="text-indent:-.25in;margin:0 0 0 .5in;" class="MsoListParagraph"><font color="#1f497d"><span><span><font face="Symbol">·</font><span style="line-height:normal;"><font face="Times New Roman"><font>&#160;&#160;&#160;&#160;&#160;&#160;&#160; </font></font></span></span></span><span><font face="Calibri">/Service/VersionControl/Settings/CacheLimitPercent is the alternative (i.e. % of the available disk space occupied rather than fixed size)</font></span></font></p>
<p style="text-indent:-.25in;margin:0 0 0 .5in;" class="MsoListParagraph"><font color="#1f497d"><span><span><font face="Symbol">·</font><span style="line-height:normal;"><font face="Times New Roman"><font>&#160;&#160;&#160;&#160;&#160;&#160;&#160; </font></font></span></span></span><span><font face="Calibri">/Service/VersionControl/Settings/CacheDeletionPercent is how much of the cache should be deleted when the threshold is reached (think of it as hysteresis)</font></span></font></p>
<p style="text-indent:-.25in;margin:0 0 0 .5in;" class="MsoListParagraph"><font color="#1f497d"><span><span><font face="Symbol">·</font><span style="line-height:normal;"><font face="Times New Roman"><font>&#160;&#160;&#160;&#160;&#160;&#160;&#160; </font></font></span></span></span><span><font face="Calibri">/Service/VersionControl/Settings/StatisticsPersistTime is how often the statistics file is saved to disk (not so interesting)</font></span></font></p>
<p style="text-indent:-.25in;margin:0 0 0 .5in;" class="MsoListParagraph"><font color="#1f497d"><span><span><font face="Symbol">·</font><span style="line-height:normal;"><font face="Times New Roman"><font>&#160;&#160;&#160;&#160;&#160;&#160;&#160; </font></font></span></span></span><span><font face="Calibri">/Configuration/Application/DataDirectory indicates where the AT cache will live</font></span></font></p>
<p style="margin:0;" class="MsoNormal"><span><font face="Calibri"><font color="#1f497d">&#160;</font></font></span></p>
<p style="margin:0;" class="MsoNormal"><span><font face="Calibri"><font color="#1f497d">We then validate those settings (or come up with default if not found).</font></font></span></p>
<p style="margin:0;" class="MsoNormal"><span><font face="Calibri"><font color="#1f497d">&#160;</font></font></span></p>
<p style="text-indent:-.25in;margin:0 0 0 .5in;" class="MsoListParagraph"><font color="#1f497d"><span><span><font face="Symbol">·</font><span style="line-height:normal;"><font face="Times New Roman"><font>&#160;&#160;&#160;&#160;&#160;&#160;&#160; </font></font></span></span></span><span><font face="Calibri">If nothing is set, the default is CacheLimitPercent = 75%</font></span></font></p>
<p style="text-indent:-.25in;margin:0 0 0 .5in;" class="MsoListParagraph"><font color="#1f497d"><span><span><font face="Symbol">·</font><span style="line-height:normal;"><font face="Times New Roman"><font>&#160;&#160;&#160;&#160;&#160;&#160;&#160; </font></font></span></span></span><span><font face="Calibri">If both CacheLimitPercent and FixedSizeBasedPolicy are set, FixedSizeBasedPolicy wins.</font></span></font></p>
<p style="text-indent:-.25in;margin:0 0 0 .5in;" class="MsoListParagraph"><font color="#1f497d"><span><span><font face="Symbol">·</font><span style="line-height:normal;"><font face="Times New Roman"><font>&#160;&#160;&#160;&#160;&#160;&#160;&#160; </font></font></span></span></span><span><font face="Calibri">If CacheDeletionPercent is not set, it defaults to 20%</font></span></font></p>
<p style="text-indent:-.25in;margin:0 0 0 .5in;" class="MsoListParagraph"><font color="#1f497d"><span><span><font face="Symbol">·</font><span style="line-height:normal;"><font face="Times New Roman"><font>&#160;&#160;&#160;&#160;&#160;&#160;&#160; </font></font></span></span></span><span><font face="Calibri">StatisticsPersistTime defaults to one hour (any value above one hour is acceptable).</font></span></font></p>
<p style="text-indent:-.25in;margin:0 0 0 .5in;" class="MsoListParagraph"><font color="#1f497d"><span><span><font face="Symbol">·</font><span style="line-height:normal;"><font face="Times New Roman"><font>&#160;&#160;&#160;&#160;&#160;&#160;&#160; </font></font></span></span></span><span><font face="Calibri">DataDirectory can be overridden by adding a node in the web.config file like so (in which case it overrides the /Configuration/Application/DataDirectory setting):</font></span></font></p>
<p style="margin:0;" class="MsoNormal"><span><font face="Calibri"><font color="#1f497d">&#160;</font></font></span></p>
<p style="margin:0;" class="MsoNormal"><span><font face="Courier New"><font color="#993366">&lt;appSettings&gt;</font></font></span></p>
<p style="margin:0;" class="MsoNormal"><span><font face="Courier New"><font color="#993366">&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;add key=&quot;applicationDatabase&quot; value=&quot;Data Source=dbserverhere;Initial Catalog=Tfs_Configuration;Integrated Security=True;&quot; /&gt;</font></font></span></p>
<p style="margin:0;" class="MsoNormal"><span><font face="Courier New"><font color="#993366">&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;add key=&quot;WorkItemTrackingCacheRoot&quot; value=&quot;C:\Windows\Temp\TFTemp&quot; /&gt;</font></font></span></p>
<p style="margin:0;" class="MsoNormal"><span><font face="Courier New"><font color="#993366">&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;add key=&quot;traceWriter&quot; value=&quot;false&quot; /&gt;</font></font></span></p>
<p style="margin:0;" class="MsoNormal"><span><font face="Courier New"><font color="#993366">&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;add key=&quot;traceDirectoryName&quot; value=&quot;%TEMP%\\TFLogFiles&quot; /&gt;</font></font></span></p>
<p style="margin:0;" class="MsoNormal"><span><font face="Courier New"><font color="#993366">&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;add key=&quot;applicationId&quot; value=&quot;GUID here&quot; /&gt;</font></font></span></p>
<p style="margin:0;" class="MsoNormal"><span><font face="Courier New"><font color="#993366"><font>&#160;&#160;&#160;&#160;&#160;&#160;&#160; </font><span style="background:none transparent scroll repeat 0 0;"><font>&lt;add key=&quot;dataDirectory&quot; value=&quot;E:\&quot; /&gt;</font></span></font></font></span></p>
<p style="margin:0;" class="MsoNormal"><span><font face="Courier New"><font color="#993366">&#160;&#160;&#160; &lt;/appSettings&gt;</font></font></span></p>
<p style="margin:0;" class="MsoNormal"><span><font face="Calibri"><font color="#1f497d">&#160;</font></font></span></p>
<p style="margin:0;" class="MsoNormal"><span><font face="Calibri"><font color="#1f497d">Important considerations:</font></font></span></p>
<p style="text-indent:-.25in;margin:0 0 0 .5in;" class="MsoListParagraph"><font color="#1f497d"><span><span><font face="Symbol">·</font><span style="line-height:normal;"><font face="Times New Roman"><font>&#160;&#160;&#160;&#160;&#160;&#160;&#160; </font></font></span></span></span><span><font face="Calibri">In an NLB environment, the TFS registry settings apply to ALL nodes, which is why the web.config settings take priority.</font></span></font></p>
<p style="text-indent:-.25in;margin:0 0 0 .5in;" class="MsoListParagraph"><font color="#1f497d"><span><span><font face="Symbol">·</font><span style="line-height:normal;"><font face="Times New Roman"><font>&#160;&#160;&#160;&#160;&#160;&#160;&#160; </font></font></span></span></span><span><font face="Calibri">CacheLimitPercent is a bit misleading in that if you have a 100GB drive and 50GB of other </font></span></font>
<div style="display:inline;float:none;margin:0;padding:0;" id="scid:0767317B-992E-4b12-91E0-4F059A8CECA8:434d35d8-1880-4934-bd74-af15ab5ca423" class="wlWriterEditableSmartContent">LiveJournal Tags: <a href="http://www.livejournal.com/interests.bml?int=TFS+Cache" rel="tag">TFS Cache</a></div>
<p> content, the TFS Cache can only use 50GB, so by default, the cleanup will occur when the cache reaches: (CurrentCacheSize + AvailableSpace) * (CacheLimitPercent / 100) = 50GB * .75&#160; = 37.5 GB</p>
<p style="text-indent:-.25in;margin:0 0 0 .5in;" class="MsoListParagraph"><font color="#1f497d"><span><span><font face="Symbol">·</font><span style="line-height:normal;"><font face="Times New Roman"><font>&#160;&#160;&#160;&#160;&#160;&#160;&#160; </font></font></span></span></span><span><font face="Calibri">The Cache Cleanup can take a long time (hours on a very large drive)&#160; &#8211; so I would recommend changing the default Idle Time out on the Application pool to at least 60 minutes if you have a large cache and infrequent requests.</font></span></font></p>
<p style="text-indent:-.25in;margin:0 0 0 .5in;" class="MsoListParagraph">&#160;</p>
<p style="text-indent:-.25in;margin:0 0 0 .5in;" class="MsoListParagraph" align="justify"><strong>Caution:</strong> Be aware that doing this requires careful consideration and deliberate thought and proceed with systematic approach to tweaking the cache. I would try it on a test system OR change a few parameters (and not all at once) and iteratively reach a balanced approach.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/girishp.wordpress.com/142/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/girishp.wordpress.com/142/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/girishp.wordpress.com/142/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/girishp.wordpress.com/142/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/girishp.wordpress.com/142/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/girishp.wordpress.com/142/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/girishp.wordpress.com/142/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/girishp.wordpress.com/142/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/girishp.wordpress.com/142/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/girishp.wordpress.com/142/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/girishp.wordpress.com/142/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/girishp.wordpress.com/142/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/girishp.wordpress.com/142/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/girishp.wordpress.com/142/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=girishp.wordpress.com&amp;blog=7422429&amp;post=142&amp;subd=girishp&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://girishp.wordpress.com/2011/05/01/tfs-2010-application-tier-version-control-cache-configuration-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/85d43a98b65449c627ec4455b23346b9?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">girishp</media:title>
		</media:content>
	</item>
	</channel>
</rss>
