Team System Web Access and Object Reference Not Set To an Object
Synopsis: If you go to the TSWA web site and you have no team projects you get the errors that follows.
If you are installing the latest and greatest in the Power Tools for TFS and have installed Team System Web Access (TSWA) you may decide to try out the TSWA URL immediately after installing the tool. This is fine if you have used your TFS server before and have at least one team project. If though, you installed the TSWA as a natural part of the TFS install and you go to the TSWA web site prior to creating a team project you will get an error that looks like the below image and is replicated in text here for others to be able to find.
In reality the same holds true if you were to delete all your team projects. So in short- If you go to the TSWA web site and you have no team projects you get the errors that follows. I assume the same would be true if you somehow had access to TFS but no access to any team project. Hmm... how would one create that situation????
The solution is simple-- after you have created your first team project, which of course would follow my advice of "Your Longest Running Team Project" :-); go back to the TSWA web site and I believe you will no longer have this error.
The error image you will receive is:
Object reference not set to an instance of an object
and the stack will include:
Microsoft.TeamFoundation.WebAccess.TfsConnection.GetActiveTabs()
Microsoft.TeamFoundation.WebAccess.UI.Controls.PageHeader.RenderTabs(String activeTab)
...
(click the pic for a high res version)