Welcome to Manicprogrammer Sign in | Join | Help

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)

noteamprojects

 

Technorati tags: ,
Published Tuesday, August 07, 2007 5:45 AM by michaelruminer
Filed under

Comment Notification

If you would like to receive an email when updates are made to this post, please register here

Subscribe to this post's comments using RSS

Comments

Tuesday, August 07, 2007 8:11 AM by Hakan Eskici

# re: Team System Web Access and Object Reference Not Set To an Object

This is a known issue that we've fixed for the next version of TSWA. Thanks.


Enter the text you see in the image:

Leave a Comment

(required) 
required 
(required)