How to write a data collector for MTM

by Donovan Brown 31. August 2010 18:50

Tags:

Can't save values in custom controls on TSWA 2010

by Donovan Brown 27. August 2010 17:57

Problem:

I just upgraded my TFS 2008 to 2010 and my custom TSWA controls are no longer saving values.

Solution:

Make sure the first thing you do in the InitializeControl() method from the IWebWorkItemControl inteface is call the code that populates the base.Controls collection.  For example to get the MultiValue control to work you must add a call to EnsureInnerControls() as the first line in InitializeControl() otherwise the values will not save.

Tags: ,

Work

Where in the world is WorkItemChangedEvent defined?

by Donovan Brown 25. August 2010 18:05

Problem:

I am not asked to write TFS Event Handler web services very often and I can never remember where WorkItemChangedEvent is defined.  I spend more time searching for that missing reference than I do writing the code.

Solution:

For TFS 2010 WorkItemChangedEvent is in C:\Program Files\Microsoft Team Foundation Server 2010\Tools\Plugins\Microsoft.TeamFoundation.WorkItemTracking.Server.Dataaccesslayer.dll.

Tags: ,

Work

Verify SharePoint 2010 Products for Team Foundation Server

by Donovan Brown 24. August 2010 22:19

Problem:

You have to install TFS2010 on an existing Sharepoint2010 install.  How do I verify it is configured correctly?

Solution:

I have been handed many preinstalled SharePoint 2010 machines to use with TFS installs or upgrades. The problem is there are many options that must be just right for it to work with TFS and confirming those settings can be very difficult if you don’t use SharePoint very often.  For example the two I constantly have to verify are that the web application on port 80 has NTLM set for IIS Authentication and the Anonymous Access is disabled. 
Here are the steps to confirm this information. 
1. Open Central Administration
2. Click Manage web applications under the Application Management section
3. Select the desired Web Application
4. Click the Authentication Providers button
5. On the Authentication Providers Pop Up click the Default link
6. You can now edit the authentication settings and confirm that NTLM is selected and Anonymous Access is disabled.

Tags: , ,

Work

About the author

My name is Donovan Brown and I am a process consultant for Imaginet with a background in application development.  I also run one of the Nation’s fastest growing online registration sites for motorsports events DLBRacing.com.  When I am not writing software I race cars for fun.  DLBRacing.com has given me the opportunity to combine my two passions writing software and racing cars.

AdSense

Month List

AdSense