Error message when you use Visual Studio Team System Web Access 2008 to connect to Visual Studio 2008 Team Foundation Server: "Unable to create workitemstore see exceptions for more details."

Article translations Article translations
Article ID: 974402 - View products that this article applies to.
Expand all | Collapse all

On This Page

SYMPTOMS

Consider the following scenario:
  • You install Microsoft Visual Studio Team System Web Access (also known as TSWA) 2008 Service Pack 1 (SP1) in a Microsoft Visual Studio 2008 Team Foundation Server (TFS) environment.
  • The TFS environment is very complex. Additionally, the TFS environment is accessed by many clients at the same time.
  • You log on to Team System Web Access to connect to the TFS server. Or, you log on to Team System Web Access to connect to the TFS server, and then you perform an operation. The Version Control functionality in Team System Web Access is an example of an operation.
In this scenario, you receive the following error message:
Unable to create workitemstore see exceptions for more details.


After you receive the error message, the Team System Web Access interface functions incorrectly. Then, additional user requests are redirected to the logon page, and you receive the same error message. This behavior continues to occur until the worker process for Team System Web Access is recycled. Additionally, the Application log on the application tier computer contains a warning event that resembles the following:
Event Type: Warning
Event Source: ASP.NET 2.0.50727.0
Event Category: Web Event
Event ID: 1309
Date: <Date>
Time: <Time>
User: N/A
Computer: <Computer name>
Description:
Event code: 3005
Event message: An unhandled exception has occurred.
Event time: <Date> <Time>
Event time (UTC): <Date> <Time>
Event ID: 657f24beb9c7499c9a06e7f1c662638c
Event sequence: 55269
Event occurrence: 4
Event detail code: 0

CAUSE

This problem occurs because the TFS client object model cannot release old object instances from memory when the model is heavily used by Team System Web Access. Therefore, the model accumulates memory and then crashes.

RESOLUTION

Hotfix information

A supported hotfix is now available from Microsoft. However, it is intended to correct only the problem that is described in this article. Apply it only to systems that are experiencing this specific problem. This hotfix may receive additional testing. Therefore, if you are not severely affected by this problem, we recommend that you wait for the next update that contains this hotfix.

To resolve this problem immediately, contact Microsoft Customer Support Services to obtain the hotfix. For a complete list of Microsoft Customer Support Services telephone numbers and information about support costs, visit the following Microsoft Web site:
http://support.microsoft.com/contactus/?ws=support
Note In special cases, charges that are ordinarily incurred for support calls may be canceled if a Microsoft Support Professional determines that a specific update will resolve your problem. The usual support costs will apply to additional support questions and issues that do not qualify for the specific update in question.

To download this hotfix from the Microsoft Developer Network (MSDN) Code Gallery, visit the following MSDN Web site:
http://code.msdn.microsoft.com/KB974402
Notes
  • The MSDN Code Gallery displays the languages for which the hotfix is available. If you do not see your language listed, it is because the Code Gallery resource page is not available for that language.
  • You can also download this hotfix rollup from the following Microsoft Connect Web site:
    http://connect.microsoft.com/VisualStudio/Downloads/DownloadDetails.aspx?DownloadID=25002

Prerequisites

You must have Visual Studio 2008 TFS SP1 and the Team System Web Access 2008 SP1 Power Tool installed to apply this hotfix.

Restart requirement

You do not have to restart the computer after you apply this hotfix if no instance of Visual Studio is being used.

Hotfix replacement information

This hotfix does not replace any other hotfixes.

File information

The English version of this hotfix has the file attributes (or later file attributes) that are listed in the following table. The dates and times for these files are listed in Coordinated Universal Time (UTC). When you view the file information, it is converted to local time. To find the difference between UTC and local time, use the Time Zone tab in the Date and Time item in Control Panel.
Collapse this tableExpand this table
File nameFile versionFile sizeDateTimePlatform
Microsoft.teamfoundation.client.dll9.0.30 729.4431458,75201-Nov-200918:40x86
Microsoft.teamfoundation.common.dll9.0.30729.4431 331,77601-Nov- 200918:40x86
Microsoft.teamfoundation.databaseinstaller.dll9.0.30729.44 314,399,10401-Nov- 200918:40x86
Microsoft.teamfoundation.dll9.0.30729.44311,060,8 6401-Nov- 200918:40x86
Microsoft.teamfoundation.officeintegration.common.dll9.0.3 0729.4431327,68001-Nov- 200918:40x86
Microsoft.teamfoundation.officeintegration.excel.dll9.0.30 729.4431245,76001-Nov- 200918:40x86
Microsoft.teamfoundation.officeintegration.project.dll9.0. 30729.4431159,74401-Nov- 200918:40x86
Microsoft.teamfoundation.server.admin.dll9.0.30729.4431163,84001-Nov- 200918:40x86
Microsoft.teamfoundation.testmanagement.client.dll9.0.3072 9.4431552,96001-Nov- 200918:40x86
Microsoft.teamfoundation.testmanagement.clientpackage.dll9 .0.30729.443165,53601-Nov- 200918:40x86
Microsoft.teamfoundation.testmanagement.clientpackageui.dll9.0.30729.443112,20801-Nov- 200918:40x86
Microsoft.teamfoundation.testmanagement.common.dll9.0.3072 9.443128,67201-Nov- 200918:40x86
Microsoft.teamfoundation.testmanagement.controller.dll9.0. 30729.443157,34401-Nov- 200918:40x86
Microsoft.teamfoundation.testmanagement.controls.dll9.0.30 729.4431319,48801-Nov- 200918:40x86
Microsoft.teamfoundation.versioncontrol.client.dll9.0.3072 9.4431516,09601-Nov- 200918:40x86
Microsoft.teamfoundation.versioncontrol.common.dll9.0.3072 9.4431249,85601-Nov- 200918:40x86
Microsoft.teamfoundation.versioncontrol.common.integration.dll9.0.30729.443132,76801-Nov- 200918:40x86
Microsoft.teamfoundation.versioncontrol.controladapter.dll 9.0.30729.443140,96001-Nov- 200918:40x86
Microsoft.teamfoundation.versioncontrol.controls.dll9.0.30 729.44313,121,15201-Nov- 200918:40x86
Microsoft.teamfoundation.workitemtracking.client.cache.dll 9.0.30729.44311,336,83201-Nov- 200918:40x86
Microsoft.teamfoundation.workitemtracking.client.datastore.dll9.0.30729.44311,481,21601-Nov- 200918:40x86
Microsoft.teamfoundation.workitemtracking.client.querylanguage.dll9.0.30729.443161,44001-Nov- 200918:40x86
Microsoft.teamfoundation.workitemtracking.client.ruleengine.dll9.0.30729.4431392,19201-Nov- 200918:40x86
Microsoft.teamfoundation.workitemtracking.controls.dll9.0. 30729.4431659,45601-Nov- 200918:40x86
Microsoft.visualstudio.qualitytools.linking.dll9.0.30729.4 43169,63201-Nov- 200918:40x86
Microsoft.visualstudio.qualitytools.operationalstore.clienthelper.d ll9.0.30729.4431106,49601-Nov- 200918:40x86
Microsoft.visualstudio.teamfoundation.teamexplorer.dll9.0.30729.4431671,74401-Nov- 200918:40x86
Microsoft.visualstudio.teamfoundation.versioncontrol.dll9.0.30729.4431181,68001-Nov- 200918:40x86
Microsoft.visualstudio.teamfoundation.versioncontrol.dll9.0.30729.4431182,19201-Nov- 200918:40x86
Microsoft.visualstudio.teamfoundation.versioncontrol.dll9.0.30729.4431182,70401-Nov- 200918:40x86
Microsoft.visualstudio.teamfoundation.versioncontrol.dll9.0.30729.4431183,21601-Nov- 200918:40x86
Microsoft.visualstudio.teamfoundation.versioncontrol.dll9.0.30729.4431185,26401-Nov- 200918:40x86
Microsoft.visualstudio.teamfoundation.versioncontrol.dll9.0.30729.4431765,95201-Nov- 200918:40x86
Microsoft.visualstudio.teamfoundation.workitemtracking.dll9.0.30729.4431286,72001-Nov- 200918:40x86
Microsoft.visualstudio.teamsystem.integration.dll9.0.30729.4431208,89601-Nov- 200918:40x86
Tfsadminutil.exe9.0.30729.443167,41601- Nov- 200918:40x86
Tfsprovider.dll9.0.30729.44312,699,60801 -Nov- 200918:40x86
Tsofficeshim.dll9.0.30729.4431199,00801 -Nov- 200918:40x86
Tsofficeshimui.dll9.0.30729.443181,24801 -Nov- 200918:40x86
Tsofficeshimui.dll9.0.30729.443181,76001 -Nov- 200918:40x86
Tsofficeshimui.dll9.0.30729.443182,27201 -Nov- 200918:40x86
Tsofficeshimui.dll9.0.30729.443182,78401 -Nov- 200918:40x86
Tsofficeshimui.dll9.0.30729.443184,32001 -Nov- 200918:40x86
Tsofficeshimui.dll9.0.30729.443185,34401 -Nov- 200918:40x86
Tsofficeshimui.dll9.0.30729.443185,85601 -Nov- 200918:40x86
Tsofficeshimui.dll9.0.30729.443186,36801 -Nov-200918:40x86

WORKAROUND

To work around this problem, use one of the following methods.

Method 1

Use multiple Team System Web Access sites to balance the workload.

Method 2

Restart the TSWAPool application pool in Internet Information Services (IIS) manager frequently.

Method 3

Clear the Team System Web Access cache folder periodically. By default, the cache folder is located in the following installation folder:

%Microsoft Visual Studio 2008 Team System Web Access%\Cache\Tswa


For more information about how to run a command to automatically run the methods that are mentioned in this section, click the following article number to view the article in the Microsoft Knowledge Base:
968552 Team System Web Access 2008 S968552 exception - Unable to create workitemstore

STATUS

Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.

REFERENCES

To download the latest version of the Team System Web Access 2008 Power Tool that contains the hotfix, visit the following Microsoft Download Link Center Web site:
http://www.microsoft.com/downloads/details.aspx?FamilyId=3ECD00BA-972B-4120-A8D5-3D38311893DE&displaylang=en
Note You must uninstall any existing installation of the Power Tool before you install the latest version of the Power Tool.

For more information about the Team System Web Access 2008 SP1 scalability update, view the following Microsoft Blog article:
http://blogs.msdn.com/hakane/archive/2009/12/07/team-system-web-access-2008-sp1-scalability-update.aspx
For more information about software update terminology, click the following article number to view the article in the Microsoft Knowledge Base:
824684 Description of the standard terminology that is used to describe Microsoft software updates

Properties

Article ID: 974402 - Last Review: October 7, 2011 - Revision: 2.0
APPLIES TO
  • Microsoft Visual Studio Team System 2008 Team Foundation Server
  • Microsoft Visual Studio Team System 2008 Team Foundation Server Service Pack 1
Keywords: 
kbexpertiseadvanced kbfix kbsurveynew kbqfe KB974402

Give Feedback

 

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com