Showing posts with label TFS Management. Show all posts
Showing posts with label TFS Management. Show all posts

Wednesday, May 27, 2009

Delete a Team Project

One of the new team members accidently created a team project (Remiss of the administrator for giving him full control).
Found out a way to delete the team project
Open a command line on your team foundation server and cd to
drive:/%program files%\Microsoft Visual Studio 9.0\Common7\IDE (For VSTS 2008)
tfsdeleteproject /q /force /server:<tfs server> "<project name>"

Monday, May 25, 2009

Restoring TFS 2008

I am sure everyone will be taking backup of their TFS on regular basis. Being new to TFS I thought to try and restore the TFS on a new machine, to avoid the risk of not taking backup of anything.

I had a spare PC in which I installed the trial of TFS. the environment of the new machine was now exactly the same as that of the old (or existing)machine.
The link which helped me for this was
http://msdn.microsoft.com/en-us/library/ms404869.aspx

Wednesday, May 20, 2009

TF30042: The database is full. Contact your Team Foundation Server administrator.

Since many days we were facing problems with Low disk space on our TFS machine. I noticed that the LoadTest database Log was around 19Gigs. Till then I was not aware that there is a setting for restricting growth of the Log file. I then moved my mdf and ldf files to a drive with ample space and then restricted the growth of Log not more than 20Gigs.
And subsequently I changed the settings of all the TFS database not to grow exponentially. But the next day I came and tried to start my VSTS, it started givine me the same error
TF30042: The database is full. Contact your Team Foundation Server administrator.
Reading few blogs, I decided to change the Recovery Model of all the database from full to simple. And I was able to use my TFS without any issues after that. Below are the steps
1. Go to properties of the database


2. In Options tab, change Recovery model from Full to Simple.

I read in couple of blogs that it is not advisable to use Full Recovery model for the database which is used for version control.


Wednesday, May 6, 2009

SharePoint Access rights management

For managing the sharepoint access rights for users of TFS follow the following steps.
1. In Team Explorer right click on the Team Project for which you want to give access rights and select Securiy menu item.


2. In the screen displayed click on the Windows Sharepoint Services Site Administration link.
Note: The credentials of the user doing this changes should have the administrator privilages for sharepoint.

3. Internet explorer will be displayed in which you will be able manage rights for groups and individuals. You also will be add/remove users from a group.

Monday, April 20, 2009

Add Check-in Policy

The Check-in policy can be added at Team Project level. Below are the steps.
1. Open the Team Explorer
2. Select the Team Project
3. Right Click -> Source Control


4. Click on Check-in Policy Tab
5. Click on Add button.
You will get the options as above if you have installed PowerTools, otherwise 4 options will be displayed
1. Builds
2. Code Analysis
3. Testing Policy
4. Work Items

Tuesday, March 17, 2009

Add/Modify Area & Iteration

Atlast I found it!!


I was searching for a option to add Area or Iteration to my Project. I had one option in my WebAccess portal of my Team Project but that didnt reflect in my Creat New work item Classification block.


Searched many things but didnt get any help. (the option is obvious but didnt get any help)


It can be done as below.