TFS 2008 SP1 Upgrade – The server returned content type , which is not supported

It’s 1AM, you’ve just completed a TFS 2008 upgrade to SP 1 and for a test you just performed a ‘Get Latest’ on a project tree.

Error!

‘The server returned content type , which is not supported’

Well, that doesn’t sound good. Skim reading TFSInstall-SP1-RTM-v080908.chm shows nothing about this. Just before pressing the panic button you do one last thing. Google it.

Thankfully I came across a post to a problem which is both similar and different on the MSDN Fourms.

http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=251122&SiteID=1

It says the AT (Application Tier, Web service) Cache needs clearing.

Richard Berg MSFT
Sounds like you need to flush the cache on the app tier.
1. Stop IIS.
2. rd /s /q “%Program Files%Microsoft Visual Studio 2005 Team Foundation ServerWeb ServicesVersionControlData”
3. Start IIS.

Never have 3 steps felt so good. Fixed!

There was also another about deleting the files in this location:
C:Documents and Settings<user>Local SettingsApplication DataMicrosoftTeam Foundation1.0Cache
but it didn’t seem to be my issue.

So at least I could put away my fears of ‘This is because it’s on Windows Server 2008 isn’t it’ and put it down to yet another gold TFS install/upgrade.

It does make me wonder why it says on the install instructions:

Instructions
If you plan on using Windows Server 2008 or SQL Server 2008 with Team Foundation Server 2008 SP1 please see the Team Foundation Installation Guide for details on how to install SP1 on the Team Foundation Server and do not install the service pack using the instruction below. Additionally, if you plan to install this service pack on a server that has a client for Team Foundation also installed on it, you must install SP1 for Visual Studio 2008 on that server before you install SP1 for Team Foundation Server. For more information, see “Installing Team Foundation Server and Service Pack 1” in the installation guide.

To install Visual Studio 2008 Team Foundation Server SP1, download the self-installing executable and run it on the computer on which you want to install the service pack.

Which made me panic as I had JUST upgraded it when I read this, though skimming through the help file only contained information about SQL Server 2008. It did not seem to affect me.

And then it hits me, this server DOES have the Team Explorer client installed…
This is the point where I undid all changes, rolled back to the un-serviced pack version and left it for another night.

I will leave you with an interesting post with a setup and admin guide to TFS:
http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=2776169&SiteID=1