<?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/"
	>

<channel>
	<title>adam mokan &#187; project collection</title>
	<atom:link href="http://www.adammokan.com/tag/project-collection/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.adammokan.com</link>
	<description>ramblings of a software developer, mad scientist, geek, and father</description>
	<lastBuildDate>Tue, 22 Nov 2011 19:11:17 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Removing a corrupt Project Collection in TFS2010</title>
		<link>http://www.adammokan.com/2010/03/22/removing-a-corrupt-project-collection-in-tfs2010/</link>
		<comments>http://www.adammokan.com/2010/03/22/removing-a-corrupt-project-collection-in-tfs2010/#comments</comments>
		<pubDate>Mon, 22 Mar 2010 14:00:00 +0000</pubDate>
		<dc:creator>adam.mokan</dc:creator>
				<category><![CDATA[team foundation server]]></category>
		<category><![CDATA[tfs2010]]></category>
		<category><![CDATA[project collection]]></category>
		<category><![CDATA[tfsconfig]]></category>

		<guid isPermaLink="false">http://www.adammokan.com/2010/03/22/removing-a-corrupt-project-collection-in-tfs2010/</guid>
		<description><![CDATA[I ran into an issue when dealing with memory utilization early on in my TFS2010 setup. Basically, right after getting Team Foundation Server up and running, I created a new project collection with a better name for my group rather than using the default &#8220;DefaultCollection&#8221; or whatever it is. Unfortunately, because SQL was hammering my [...]]]></description>
			<content:encoded><![CDATA[<p>I ran into an issue when dealing with memory utilization early on in my TFS2010 setup.</p>
<p>Basically, right after getting Team Foundation Server up and running, I created a new project collection with a better name for my group rather than using the default &#8220;DefaultCollection&#8221; or whatever it is. Unfortunately, because SQL was hammering my available memory, the schema creation task during the collection setup failed.</p>
<p>After getting my memory issue worked out, I setup a new collection and all was good. The only issue is that in my TFS admin screen, I still had this old corrupt collection in my list. It was not attached (and displayed) to Team Explorer, but it bothered me to have this corrupt database laying around. Unfortunately, the TFS admin utility would not allow me to delete the collection because it thought the SQL database associated was still updating its schema. I tried digging through the <span><span>Tfs_Configuration</span></span> SQL database to see if I could trick TFS into thinking the status was good, but I found nothing that seemed safe or that wouldn&#8217;t leave me a bunch of orphaned records in my configuration db.</p>
<p>Thanks to <a title="Anna Russo's blog" href="http://a7russo.spaces.live.com/" target="_blank">Anna Russo</a>, a member of the MSDN forums, I found a trick that worked. Here was her suggestion:</p>
<blockquote><p><span style="font-size: 12px;"><em>1. Run command prompt as administrator and navigate to drive:\Program<br />
Files\Microsoft Team Foundation Server 2010\Tools<br />
2. tfsconfig collection<br />
</em></span><strong><span style="font-size: 12px;"><em>/detach</em></span></strong><span style="font-size: 12px;"><em> /collectionName:&lt;name&gt; or  tfsconfig collection<br />
</em></span><strong><span style="font-size: 12px;"><em>/delete</em></span></strong><span style="font-size: 12px;"><em> /collectionName:&lt;name&gt;<br />
3. You will be prompted<br />
if you are sure</em></span></p></blockquote>
<p><span style="font-size: small;"><span style="font-size: 12px; line-height: 15px;">The &#8220;tfsconfig collection /delete /collectionName:&lt;name&gt;&#8221; option worked for me and now I am free and clear!</span></span></p>
]]></content:encoded>
			<wfw:commentRss>http://www.adammokan.com/2010/03/22/removing-a-corrupt-project-collection-in-tfs2010/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

