September 2007 - Posts

Upgrading from TFS2005 to TFS 2008 'Orcas' Beta 2
28 September 07 07:59 PM | Richard | with no comments

Today I decided to bite the bullet and upgrade our 'live' TFS installation to 2008 Beta2, now there is support from Microsoft. The only reason I have delayed this long has been we have been involved in the delivery of a big project and I did not want to take the TFS server down for any reason.

Our TFS installation is dual server, the data tier (DT) running on our central SQL2005 64bit server and the application tier (AT) on a virtual server as a VPC. I have kept the AT virtual as it is easy to backup.

So the first thing of note that surprised me is that you do the upgrade only from the AT. Before I read the installation notes I had assumed you would update the DT and then the AT like the original installation.

Anyway I ran the setup.exe on the AT, it found a few warnings but they were all down to the fact I was running on a VPC (warnings over CPU performance, memory and disk size), so I continued with the upgrade gave it some user IDs and pressed start and it progressed OK first installing .NET 3.5 then TFS 2008.

During the TFS 2008 upgrade I got two errors that stopped the setup with a 'retry or cancel' option. In both cases I managed to fix the issues and a retry worked. This is what I had to do to fix the problems:

  • Error 29109 Team Foundation Report Server Configuration -  All this turned out to be was a timeout. On the AT I opened the URL http://localhost/reports in a browser (this took a long time for some reason) but I did eventually get the usual reporting services page. I then retried the step in the upgrade tool and it continued fine.
  • Error 28925. TFServerStatusValidator - Basically this means the setup program cannot access http://localhost:8080/services/v1.0/ServerStatus.asmx on the AT. If you manually run the URL you get a generic 'page not found' error. On looking the the event log I was that an ISAPI filter authenticationfilter.dll for the TFS web site could not be loaded. Interesting the path it was trying to loaded was for TFS2005, and of course this file no longer existed. I then remembered that we had installed this ISAPI filter when we had TFS 1.0 and were trying to get HTTPS connectivity working, so I just deleted the ISAPI filter entry, I then checked I could start the URL in a browser and then tried the step of the setup and it continued OK

When all this was done the server was rebooted and it had been upgraded server.

The next step will be to upgrade the AT from WSS 2.0 to WSS3.0 then move all the Sharepoint bits our central MOSS 2007 server, thus making the AT little more than a web server.

Filed under: ,
GUITester and CodePlex
24 September 07 02:30 PM | Richard | with no comments

Due to popular demand, well one person, I have uploaded my GUITester system I presented about at DDD3 to CodePlex. It can be found at http://www.codeplex.com/guitester.

If you are interested in moving the project forward let me know.

Filed under: ,
Disaster Recovery in TFS
20 September 07 06:42 PM | Richard | with no comments

If you are having to support a TFS install there have been some excellent posts on disaster recovery on Sudhir Hasbe's blog, he is a PM on the TFS team.

Well worth a read.

Filed under:
Speaking at NxtGenUG Birmingham
20 September 07 06:37 PM | Richard | with no comments

I will be speaking at NxtGen usergroup Birmingham branch on the 17th December about, you guessed it TFS.

Look forward to seeing you there.

Filed under: ,
Last nights Bristol .NET Developers Network usergroup meeting.
20 September 07 06:33 PM | Richard | with no comments

As I sit on the train traveling north to our Black Marble hosted MSDN event I must write to say how much I enjoyed presenting at last night's .NET Developers Network usergroup meeting; thanks to Guy Smith Ferrier and the whole group for getting it organized.

I think I managed to cover all the questions raised about TFS during the meeting. I have been through my slides to add notes to clarify any points raised. The updated set of the slide stack can be downloaded from http://www.blackmarble.co.uk/SectionDisplay.aspx?name=Publications&subsection=Conference%20Papers.

Filed under: ,
TV Mashup
15 September 07 06:39 PM | Richard | with no comments

I have had a week of Web 2.0 mashup sites at the MIx07 London event so was interested in a thing on the TV last night whilst watching England's appalling performance against South Africa in the rugby.

eBay ran adverts with a virtually real time feed (20 second delay they claimed) from a live auction. Now I have never seen this before, maybe I just don't watch ITV enough, so this is the first Internet/broadcast TV mashup I have seen. I wonder how much the sale prices of the lucky items featured in the adverts are affected?

Back on the rugby world cup front - I have still seen nothing to change my opinion the semi finals will be all Southern hemisphere - Australia, New Zealand, South Africa and Argentina - yes Argentina.

Filed under: ,
SQLBits
14 September 07 12:55 PM | Richard | with no comments

I have just heard my proposed session for the SQLBits conference has been accepted. I will be talking on Unit Testing in SQL Server my proposal was:

Test driven development is one of the current hot topics in software development, but how far can these principles be applied in the world of SQL? In this session I will look at the principles of TDD and other testing options using both freeware tools and Microsoft’s Visual Studio Datadude

So if you are interested I think there are still places available, register at the Microsoft Events site. Looks like it will be an interesting day

Filed under: , , ,
MIX 07 Day 2
12 September 07 05:32 PM | Richard | 1 comment(s)

See I was right, in my post yesterday I said the key role missing in most WPF projects was the 'designer who can cut code' or 'coder with a design eye', the session Silverlight, WPF, Expression design projects - where do we get started today was on just this subject Paul Dawson and Robby Ingebretsen discussed the need for 'producers' who take on this bridging role, with tips on where to find them.

Also went to the IronRuby session, now this is not going to be anything you can use for business use soon, but will in the fullness of time provide a very interesting way to provide domain specific languages. It is sessions like this that I feel has given this conference a bit of PDC feel 'look soon you will be able to do this' as opposed to the TechEd feel of 'wow I can do this now'.

For me today does seem to have been a bit Dynamic Language (DLR) focused. It is easy to get bogged down in the when to use Ruby or Python, but I think the key here is how easy it is to provide a domain specific scripting languages within .NET for line of business application's scripting.

As to the most interesting sneak peek it was another PDC like session, the one by Simon Peyton-Jones of Microsoft Research on Transaction memory - this will be as like changing as virtual memory has been.

So it is the end of MIX07, I'm staying in London for the Office Business Applications Architect Forum tomorrow. I wonder how many other people are going to both events?

Filed under: ,
End of the first day @ Mix07 UK
12 September 07 11:12 AM | Richard | 2 comment(s)

So we reach the end of the first day of Mix07 London, what are my thoughts? Well the conference, as conference go, is well organized and I can have no complaint over the quality of the sessions or presenters.

Has it changed how I think about Silverlight? Well I have realised that 1.0 is a very different product to 1.1. Have no doubt this conference is about SilverLight 1.1, and that the 1.1 Alpha release is missing a lot of functionality at present. As a shipping product 1.1 look a long way off, at least a year (which is forever it seems in the world of Web 2.0).

As usual with this type of event the most interesting stuff tends to be in the session you don't expect. As a developer I had focused on Scott Guthrie's sessions, which were good, but fundamentally a walk through SilverLight API. So after lunch I fancied a change so went to the design track session ZAP!, WHAM!, KAPOW! - Killer digital  reading experience in the 21st century. This was about producing a digital comic and gave some nice detail on the pain points in WPF/XAML application development. The main tips were to get the data binding right and to create sensible reusable components, this might sound a bit obvious as a .NET developer but this was the design track!

However one of the speakers, Robby Ingebretsen, talked about the way WPF had allowed left and right brain people (coders and designers, is that the right way round?) to work together to create killer applications. However I do worry that tools and APIs are good but you also need people who can singularly bridge this gap i.e. coders who have a design eye, or designers who can cut code. The history of CSS/HTML web design has shown that this is a rare type of person. I think this is going to be the new resourcing pinch point for projects.

It was interesting that in this design track session a quick show of hands had the audience about 1/3 designers 2/3 coders  What does this say about interest in WPF/SilverLight area of the design side of this industry? Oh and by the way nearly all the attendees were white and male like most technical conferences I have attended. I had expected a more design orientated conference to have different gender mix. As an industry we do not seem to be reaching out to more diverse pool of employees.

So will SIlverLight 'reboot the web' as Robert Scoble said. It will change it certainly, mashup applications look to the way forward with custom clients making 'appropriate' use of web service based data. This also helps to address the key concern, accessibility, where single back-end system can have many clients built to target different user groups requirements such as visually impaired users requiring screen reader functionality. One single client does not have to meet the need of all clients. Hopefully SilverLight and other Web 2.0 technologies make the creation of multiple clients potentially affordable. We have yet to see if it will be socially acceptable.

However will we see rich applications written in SilverLight running inside browsers? I was at a Macromedia launch event some years ago for some version of Flash and they were then hailing the imminent arrival of rich browser based applications with partial post back, it all looked great, but this has not been how Flash has tended to be used. I think the difference now is we have a more mature SOA model behind the scenes and SIlverLight can leverage the power of .NET. These could be the key factors that move SilverLight from a tool to providing some design punch on web  page to being the core of the application functionality.

Filed under: ,
Where is the beer and sandwiches?
11 September 07 01:41 PM | Richard | with no comments

Today and tomorrow I am at the Mix07 conference in London which is being held at the Congress Centre, a building that I knew as the Trade Union Congress building. So given this location I expected a Harold Wilson 'beer and sandwiches' style lunch, but no it was small food (very nice tapas style dishes) and as we all know - if it is small and food it is trendy. You know you are at a design orientated event when the even the food is trendy!

But to more major things, what of the content, it cannot all be designer fluff!

Most impressive thing thus far as the Tax form application in the Keynote, this should great integrated usages of technologies around an XPS document. This alone as certainly get me thinking of interesting strategies for historic problems I have in long running projects.

But time is pressing (and battery is low) so back to the second of Scott Guthrie's sessions now.

Filed under: ,
TFS and CruiseControl
09 September 07 09:23 PM | Richard | 1 comment(s)

I am speaking at the .NET User group in Bristol next week and have been putting some final touches to my demos.

One thing I will be talking about is using CruiseControl with TFS. Whilst getting this running on my demo VPC I hit a problem. I did a default install of CruiseControl .Net 1.3, this was on top of a Visual Studio TFS Orcas VPC I had built for DDD5.

When I tried to load the CCNet WebDashBoard (installed onto the default web site) I got an error:

The application attempted to perform an operation not allowed by the security policy. To grant this application the required permission please contact your system administrator or change the application's trust level in the configuration file.

After a bit of digging I found some reports that this can be seen if WSS 2.0 has previously been installed on the server, which it was as this is a requirement for TFS (until 2008 Beta2 which uses WSS 3.0). I did not therefore have the option to remove it to get round the problem.

So I took another route to fix it; I created a new web site on another port and pointed this at the WebDashBoard, and this worked fine. So a perfectly good workaround for the problem

Filed under: , ,
It's conference season
07 September 07 12:18 PM | Richard | with no comments

I am off to loads of conferences and event in the next few week, you wait all year for one then they all come together.....

Next week

This month

Next month

 

I aim to blog from all of them WiFi and batteries allowing

Filed under: , ,
New version of Live Writer
07 September 07 11:37 AM | Richard | with no comments

New version of LiveWriter beta is out, it adds video support (not sure yet if this feature works with Community Server).

Watch out of you are installing it as it also updates other Live components such as messenger and tried to add some IE toolbars you might or might not want

My TFS wants an upgrade to 2008 and is sulking
06 September 07 11:18 AM | Richard | with no comments

I posted about the problems I had adding a user to a project TFS earlier this week. Well I have seen a similar problem again today, I added a new user to an AD group but they could not access the project until I restarted the Web Server process on my TFS front end server. I still suspect a cache problem is the root issue.

However, I have had another thought - it could be because my TFS 2005 server knows I intend to install the 2008 Beta2 but don't have the time as I am off to MIX07 in London next week and won't do a major update if I am not going to be about, so it is sulking!.

On a related point, the reason I was adding a user was we have a new developer on a project. As usual this caused the swapping of kit and desks as they settle in and we find a home for them. The PC they are using was previously used by another developer on the project and we chose not to re-image back to our standard Vista build (as it was only installed a month or so ago and only used for this project).

Now this meant in Visual Studio 2005 there was a mapping in a workspace for the project the new user was to work on. This mapping was in workspace with the name of the PC but owned by the original PC user. This meant the new user could not create a workspace mapping to the same local directory as had been used by the previous user, but could not see the old workspace as they were not the owner.

The fix is for the previous user to login to TFS via Visual Studio on any other PC, look at all their workspaces and delete the one for their old PC. Once this is done the new user can create mapping they require.

Filed under: ,
TF14044 Error
03 September 07 11:55 AM | Richard | 2 comment(s)

Today I tried to add a user to an existing TFS Team project, this user had happily been working on other team projects hosted on the same same server. In theory all I had to do was add the AD user to an existing AD group that was already setup as a contributor to the team project I now wanted them to work on.

However when I did this I got the error "TF14044: Access Denied: User DomainName\username needs the CREATE_PROJECTS global permission(s)" when they tried to load the Source Code Explorer tab in VS2005. Basically they could not see any files or the directory containing them.

To cut a long story short, I rebooted the TFS front end server and this appeared fix it. All I can assume is that the new user rights had not passed though all the various caches in the system.

Filed under: ,