Upgrading VS 2010 Beta 2 to RTM

I never did install RC as perf issues weren't a impediment for me. I upgraded a number of B2 environments. A few of which I describe below.

1. Windows 7 with VSTFS
I simply downloaded the ISO install DVD for VS 2010 Ultimate and Team Foundation Server; uninstalled VS and then uninstalled TFS. Then I installed VS 2010 for TFS and then Ultimate. No problems were encountered and everything worked fine.

2. WS08 SP2 x86 VM
This orginiated as a VM download from Microsoft provided by MCW Technologies. The VM came with VSTFS, agents, power tools, and everything you can think of except Lab Management.

The VM was installed with evaluation software for WS08, SQL Server 2008 and Office 2010. I wanted to license the software and upgrade to the RTM because I had made a lot of enhancements by adding more Team Projects, walkthroughs and examples. So, I licensed WS08, uninstalled Office 2010 and installed 2007.

Everything was working fine as Beta 2. Just before I started the VS/TFS upgrade, I found I also had to upgrade SQL Server 2008 from the evaluation to the (licensed) enterprise version. I think this is where some of my problems with SSRS originated. I couldn't recall later, but I may not have used the same service account to run SSRS, and this, or perhaps just the upgrade to the licensed version, may have invalidated the encryption key.

In any case, this is how I worked through it:

  • Make sure all the uninstalls are performed and in the right sequence
    Initially the TFS 2010 Beta 2 Power Tools uninstall failed with error 1001. After reading a post on Buck Hodges blog I found that this problem may ocur when VS is not installed. So, after that glitch, here's the uninstall sequence I ended up with:
    • TFS Power Tools
    • VS
    • TFS
    • Shell (Integrated)
    • Team Explorer
    • Test Agent
    • Test Controller

    Install
    The install sequence I used was as follows:

    • VS
    • TFS - Once the install completed, I selected the Upgrade configuration option
    • Test Agent
    • Test Controller

    I did not install the Shell (Integrated) and I did not do a separate Team Explorer install. The RTM version of the TFS Power Tools has not been released yet. So, I'll have to wait for that before I do my prototyping environment as I'm doing custom TFS process template development there.

    Problems encoutnered with the upgrade

    1. The VC 10 Runtime install failed
    2. This turned out to be a corrupt .CAB file in the initial .ISO I downloaded for the TFS 2010 RTM. I redownloaded and the problem went away.

    3. Reporting Services failed
    4. Problems included:

      • Not being able to access the Reporting Services URL and the Report Management URL
      • Upgrade wizard configuration errors and warnings
      • The SSRS reports saying the cube is empty or doesn't exist
      • The Team Project portal SSRS web parts showing the horrid "Reporting Services Error...get online help... HA!

      Here's how I worked around that:

      • I added TfsService, Local Service and Network Service to the local Adm group (maybe overkill but after so many different attempts I didn't care)
      • Run repair on Microsoft .Net Framework 4 Client Profile and reboot; to fix the IISRESET failure
      • Open the SQL Server 2008 Rpt Svcs Cfg Mgr as Administrator and connect
      • Restored the encryption key (the file is in user TfsSetup Documents folder)
      • Set the Reporting Service to .\TfsService and saved the new key, etc...
      • I used Local Service for the TFS App Tier
      • I then added TfsService, Local Service and Network Service to the TFS SP Security Group (per the suggestion by the warnings)

      Also, I had to give the cube time to "finish baking."

    5. Beta 2 modeling projects must be upgraded
    6. There is a utility for this provided by Microsoft in the Visual Studio gallery here. Review the ReadMe document carefully. The utility flawlessly upgraded all the modeling projects in my collection with one execution. Yeah!

3. WS08 SP2 x64 VM
This is a bare bones TFS instance with no SharePoint, SSRS or Lab Mgmt configured. Also, no agents are installed on this box.

The upgrade came off quickly and with no problems. The only uninstall needed was TFS Beta 2; I had not even installed the VS client on this box.

I then installed the TFS RTM version and configured it using the upgrade wizard. I did forget to run a repair on the .Net 4.0 Client Profile, so the IIS reset failed (see above). But here, with no SP or SSRS, this did not cause a problem. After the configuration of TFS RTM was completed (no errors or warnings). I did the repair and rebooted.

Next I installed the VS 2010 RTM client, checked to make sure everything worked. Good. Done. Totally painless!