Wednesday, October 14, 2009
10/14/2009 7:03:19 AM (Romance Standard Time, UTC+01:00)  #     | 
 Monday, October 05, 2009

When playing around with custom Work Item Types, there will be a moment you want to delete this item. Standard this isn't possible.  But when you install the Microsoft Power Tools for TFS, you have a program tfpt.

With this program you could use the command destroywitd, which will delete your WIT. Use it this way:

tfpt destroywitd /server:<tfsservername> /project:<projectname> /workitemtype:<witdname>

The WIT will now be physically removed from the server and can't be resrtored.

TFS
10/5/2009 10:55:56 AM (Romance Standard Time, UTC+01:00)  #     | 
 Friday, October 02, 2009

You're want to add a new Work Item or updating a Work Item and during the save you got the TF20017 error:

This is mostly because in the iteration path, you didn't choose an iteration for the dropdown, but typed in manually a new iteration.

The solution is easy.  Just go to the menu:

      Team > Team project Settings > Areas and Iterations

Go to the iteration tab and add a new child node.

One more thing, you need to wait till the Datawarehouse job has processed the new information, before you see it in the dropdown of you work item.

10/2/2009 7:42:28 AM (Romance Standard Time, UTC+01:00)  #     | 
 Tuesday, September 29, 2009

Almost a week since I installed Windows 7 and I must say: impressive.  It works fast, without any real problems.

During this week I installed all my software back I use.  And here are some issues, lucky almost all issues are solved.

First, in my previous post I talked that the antivirus problem was solved with installing one.  This is fully correct.  I looked around and at that moment no Antivirus was really ready for Windows 7.  I have a license for Kaspersky, and I installed this one.  It works for 60%.  Mail and webscans working fine, but file scans aren't working anymore under Windows 7.  After contacting kaspersky, they told me to wait till 22 October because Windows 7 is still in development.  Uh???? It’s already released as RTM and MSDN/TechNet subscribers could download the official release version already.  22 October is the day that Windows 7 will be released for the public.

Also I can't use my fingerprint reader, because the driver and software isn't available for the moment.

Further during the installation of my software, I checked if there's a 64 bit version, but almost all software is only available in 32 bit :-(.  Also I had to be sure that I used the latest version under Windows 7.  Especially software like Photoshop Elements and Premiere Elements.

I also have a Hercules MK2 DJ mix console.  This wasn't working anymore under Vista.  I looked at their site if a new driver was available and guess what: It is :-).  But the final one will be available the end of October.  So I will wait and then try to see if I can install it now under Windows 7.  The software I use (VirtualDJ Free version) isn't available anymore under Windows 7.  You need to buy it or use Mixvibes DJC Edition.  Will see what I'm going to do with it.

That's all folks for this time about Windows 7.

9/29/2009 9:19:11 AM (Romance Standard Time, UTC+01:00)  #     | 
 Tuesday, September 22, 2009

The Belgium post is very friendly when they damaged a package send to you :-).

Almost 6 months ago, I received an international package where the box and content where damaged.  I made a complained about it to receive a compensation, because they had damaged it.  Several times, I got a letter back for all the nfo I already provided, like pictures, shipment number,...  Futhermore no reaction.

Today, finally after 6 months, I got a phone that they won't pay a compensation.  They agree that they have damaged the package, but that's it.  It seems something with the kind of shipment.  This is really cray.  When I tried to explain my point of view, the guy on the phone (from the complaint department) is getting very unfriendly.

I hope the post will be very soon open, not only for the government post, but also for private posts.  Maybe then everything will be better.

Sometimes it would be better that you pay a little extra and just use DHL of UPC or so.

The Beglium post just s***ed.

Find here 2 pictures of the damage and as you can see, it's really damaged.

 

9/22/2009 8:55:23 AM (Romance Standard Time, UTC+01:00)  #     | 
 Monday, September 21, 2009

Now that I'm a week on holiday, it's time to install WIndows 7 on my machine.  Since I have a Technet Subscriber account, I was already able to download Windows 7.  I took the ultimate edition 64 bit.

After burning the iso-file on a DVD, I restarted my computer and start with the installation of Win 7.  I must say I was quiet impressed.  It starts with an easy installation wizard, where it asks on whish drive,....  Then the system starts with the installation.  It only took about 15 a 20 minutes maximum.  So it was really superfast.  The only item was in the beginning it asks for wich CD/DVD rom, as I only have 1 it was strange and also the two option where empty.  I just took the first option.

After the installation, you are asked for some input, like the time zone,....  But mostly all are already correct.

Then Win 7 starts up.  Just a few seconds and my login screen is already there.  After the login it doesn't take that long before Windows was running.  I love this speed and hope it stays like that :-).

Next a first quick look around.  I already have several device errors:

  • My US Robotics Mini phone
  • The Anti Virus that was missing
  • An USB network adapter error
  • Microsoft Keyboard with fingerprint reader
  • Microsoft optical Wireless Explorer 2.0 mouse
  • PCI Simple Communications Controller
  • Soundblastere Xfi extreme Music wasn't detected

To solve or not to solve this issues:

  • The mini phone: I downloaded the latest driver and it seems wroking eprfectly. Have to install skype to test it
  • The Anti virus: Just installed my anti virus and it's done
  • The USB error: I downloaded the PL2303_Prolific_DriverInstaller_10311, installed it and gone was the error
  • My keyboard is still a problem.  They have a driver for win 7, but only for 32 bit and not for 64 bit.  The driver doesn't work.  So my keyboard doesn't have all the functionality
  • My mouse: They have a win 7 64 bit driver for it.  So problem gone
  • The PCI Controller: haven't found a solution for that
  • The sounblaster: There was a driver, but in beta.  I installed this one and works fine.

So two things aren't solved for the moment.

For my printer (HP 7310 All-in-one), win7 recognised it immediatly.  But the same problem as with Vista.  Doesn't recognize my automatic part for double side printing.  Crazy.  Don't ever going to buy an HP printer in the future.

Office 2007 Ultimate installs perfectly.

I have 3 HD's in my computer.  One was not recognized, but going to diskmgtm.msc and assigning a drive letter solved the problem.

Also, I saw that I'm missing the "My Documents" folder.  it's still there under "users\<your username>" but I don't see it in the tree view anymore.

Last thing I did for the moment was putting in my mobile phone (HTC P4350) with Windows mobile 6.1.  It directly starts with installing the Mobile device center.  After the installation just had to setup what to synchronize and done.

Overall I'm very happy with Win7.  It works better and faster than Vista and Almost everything is recognized immediatly.  And if not, it all went smoothly to install.  I can only recommend to upgrade from Vista to Win7 as fast as you can :-)

Next thing todo is installing back all the software.  Will keep you up to date if there are problems.

9/21/2009 2:01:31 PM (Romance Standard Time, UTC+01:00)  #     | 
 Friday, September 18, 2009

When you want to customize a Work item in TFS2008, you will see that there’s not so many information to find about it.  In common it’s easy, especially when you use the Process Editor.  But I can say, when doing a lot of changes, you come to several problems.  I will try to write down the problems I had together with a solution or work around.  Also I will write down some strange effects I came across.  So let’s start.

First, it’s a lot easier to install the TFS Power tools (October 2008 is the latest release for the moment).  This will give you the Process Template Editor, which is a lot easier to customize your work items than the pure XML.  But it’s the first release and still not giving the user experience you have in VS. For example you don’t have intellisense.

Next, the validation is done when you save your item.  This is OK, only not all error messages are clear what the meaning is.

A little bit about the import in a project.  When choosing the import WIT menu, be sure to follow this order of steps:

  1. Locate the WI XML file
  2. Choose the project in which you want to import

If you don’t follow this order, the project selection is gone and the WI is imported in all your projects, which is something you don’t want during the testing phase.  Also after doing an import, restart your VS.  Why? Well, not always is the import visible if you don’t close your VS.  And if it’s visible, it could work or not.  Sometimes, you even got errors about object references and more.
The most irritating part was that while I was busy with the customization, the system got slower and slower (even when saving in between).  At a certain moment you even got an error.

Now that we have described some problems/solutions, we will go a little deeper into the customization itself.

First you need to define your fields.  Defining them means

  1. Give them a fieldname
  2. Select what type the field would be
  3. Choose a reference name.

This is easy, but be sure that when you create a new field you are sure about the type and reference name.  As when you want to change this later and the WI is already installed you can’t do this anymore.  You will get an error that there’s already a field of with a different type/reference name.

For the reference name, you could use your own name, but it always contain at least 1 period.  You could also use standard TFS Reference names like System.Title, Microsoft.VSTS.Common.ResolvedBy,…  The problem is that I haven’t found anywhere some documentation about all the internal defined reference names.  If you want to add or maintain existing states, you don’t have to add your one state field.  Mostly there will be a state field already defined, which gets the values out of the workflow.

After you have defined all your fields, you can put them on screen.  This is done in the layout tab.  When you’re expecting a nice form designer I have to disappoint you.  It’s an old fashion form designer.  Through a tree you have to add groups and columns in where you can add your fields.  But when adding a column don’t forget to set the width of this column even when it’s 100%, otherwise you got an error during the validation.

You can add rules to a field.  Rules like required, default, even a when statement can be used.  One of the rules I used, and which give a strange effect, is the empty rule.  I used this rule together with the whennot rule:

When system.state is not in state resolved, empty the field.

The field is empty, but with the site effect that the field is also read-only.  The moment the state is changed into resolved, the field becomes editable.
When adding fields, you think that everywhere where you need to select a field, you can use the field name.  yes?  Well none of this is true.  When you need to select a field for example in a rule or when putting it on the screen, you need to use the reference name.  And here is the problem.  The drop downs are mostly too small.  So you see for example x times “Microsoft.VSTS.” and not knowing which the field you need is.

   
Bad dropdown               Good dropdown

Overall, I’m happy with the process editor.  Especially when doing a lot of customization. It’s better than the pure XML editing.  But the tool can have a lot of improvements.  Haven’t checked for TFS2010, but I hope that it works a little bit more user friendly.

We will do some more customization in the future.  I will blog about them specific the moment we start with it.

TFS
9/18/2009 1:09:03 PM (Romance Standard Time, UTC+01:00)  #     | 
 Thursday, September 17, 2009

Roy Osherove has started a new group.  a group about team leadership.  If you are a team leader, beginner or experienced, this group is just for your.  Since the start, there are already a few interresting discussions going on.

Because there is not so much information on the level of people or skills for team leads, Roy already started his 5ways blog and now the google group about leading the team : http://groups.google.com/group/leading-teams.

9/17/2009 8:04:26 AM (Romance Standard Time, UTC+01:00)  #     |