index > Team Foundation Server - Work Item Tracking > Error TFS30170

Error TFS30170


Has anyone encountered this error? I've just installed TFS and when I try and create a project from Team Explorer, I'm presented with this error after a few seconds processing. It's complaining about a file in the user's local temp directory.

I'm using Visual Studio 2005 SP1 Beta.




http://www.peterRitchie.com/Blog | MSDN Forums Moderator | Microsoft MVP - Visual Developer, C#
Peter Ritchie

Can you include the project creation log (via email (james.manning@) is fine and/or post the relevant exception chunk here). TF30170 just means one of the steps failed, but doesn't give us any more information.

Potentially related threads that also had that error:




Team Foundation Server - http://blogs.msdn.com/jmanning/
James Manning - MSFT

Exception Details:

Event Description: TF30162: Task "Queries" from Group "WorkItemTracking" failed
Exception Type: Microsoft.TeamFoundation.Client.PcwException
Exception Message: Error Creating Query My Work Items from C:\Documents and Settings\Peter Ritchie\Local Settings\Temp\TPW_tmpE67.tmp\WorkItem Tracking\Queries\MyWorkItems.wiq
Stack Trace:
at Microsoft.VisualStudio.TeamFoundation.WorkItemTracking.WitPcwPlugin.PcwPluginComponentCreator.Execute(ProjectCreationContext ctxt, XmlNode taskXml)
at Microsoft.VisualStudio.TeamFoundation.ProjectCreationEngine.TaskExecutor.PerformTask(IProjectComponentCreator componentCreator, ProjectCreationContext context, XmlNode taskXml)
at Microsoft.VisualStudio.TeamFoundation.ProjectCreationEngine.RunTask(Object taskObj)
-- Inner Exception --
Exception Type: Microsoft.VisualStudio.TeamFoundation.WorkItemTracking.WitPcwFatalException
Exception Message: Error Creating Query My Work Items from C:\Documents and Settings\Peter Ritchie\Local Settings\Temp\TPW_tmpE67.tmp\WorkItem Tracking\Queries\MyWorkItems.wiq
Stack Trace:
at Microsoft.VisualStudio.TeamFoundation.WorkItemTracking.WitPcwPlugin.PcwPluginComponentCreator.WitPcwTask.StoredQueryTask.AddQuery(String name, String file)
at Microsoft.VisualStudio.TeamFoundation.WorkItemTracking.WitPcwPlugin.PcwPluginComponentCreator.WitPcwTask.StoredQueryTask.Execute()
at Microsoft.VisualStudio.TeamFoundation.WorkItemTracking.WitPcwPlugin.PcwPluginComponentCreator.Parse(ContextWrapper wrapper, XmlNode taskXml, Boolean fExecute)
at Microsoft.VisualStudio.TeamFoundation.WorkItemTracking.WitPcwPlugin.PcwPluginComponentCreator.Execute(ProjectCreationContext ctxt, XmlNode taskXml)
-- end Inner Exception --
-- Inner Exception --
Exception Type: Microsoft.VisualStudio.TeamFoundation.WorkItemTracking.WrongServerContextException
Exception Message: The server context cannot be changed through a call to the DocumentService. Force a server context switch and then call the method.
Stack Trace:
at Microsoft.VisualStudio.TeamFoundation.WorkItemTracking.DocumentService.CreateQuery(TeamFoundationServer tfsServer, String teamProjectName, Boolean publicQuery, String queryText, Object lockToken)
at Microsoft.VisualStudio.TeamFoundation.WorkItemTracking.QueryDocument.UploadQuery(String tfsServer, String projectName, String wiqFilePath, String queryName, QueryScope scope)
at Microsoft.VisualStudio.TeamFoundation.WorkItemTracking.WitPcwPlugin.PcwPluginComponentCreator.WitPcwTask.StoredQueryTask.AddQuery(String name, String file)
-- end Inner Exception --
--- end Exception entry ---

Peter Ritchie

Update:

My scenario: The problem occurs on a computer running VS Team Suite that was upgraded from VS Pro. While running VS Pro, Team Explorer was installed and connected to Codeplex. The recent VS SP1 Beta was installed. TFS was installed on a new computer without SP1 Beta (production-capable computer).

As it turns out, I had no problem creating the first project from another computer. The other computer (which happens to be the TFS Server) had Team Explorer installed. This installation of Team Explorer had no problem creating the first project.

Now that there is at least one project created, the first computer (that could not create the first project) is now having no problem creating projects.




http://www.peterRitchie.com/Blog | MSDN Forums Moderator | Microsoft MVP - Visual Developer, C#
Peter Ritchie

Very odd indeed - we've got a bug logged on this and we're trying to track it down now. Thanks for reporting it! Hopefully we can figure it out soon and we'll try to update this thread once we know what's going on.

Thanks, Peter!




Team Foundation Server - http://blogs.msdn.com/jmanning/
James Manning - MSFT
Thanks James. Much appreciated. I put as much relavent information into my post as I could; but, if there's anything else you need, let me know.


http://www.peterRitchie.com/Blog | MSDN Forums Moderator | Microsoft MVP - Visual Developer, C#
Peter Ritchie
reply 6

You can use google to search for other answers

 

More Articles

Notification - Closed task
Adding / Modifying Work Item Fields
Why there is no Date related fields when adding a bug or task?
Unable to publish new project tasks
ActivatedDate field definition problem
Grouping Query Clauses
Query using Contains Operator
Comments are lost when workitem is exported
How to mark work item as resolved
Creating a Visual Studio Add-in for "Search"
Welcome to Bokebb   New Update   Joins the collection  
 

New Articles

Limit the allowedvalues list by validuse…
Make a new field depending on "Assi…
There is a way to change the system popu…
How to add custom fields that works like…
Adding new project alerts?
Accessing TFS from a web app
File Attachment Best Practice
Print Work Item Per Page
Auto-Complete of Area and Iteration
MS Project Mapping Problem
BUG: MS Project Work Item Publish Error
Http error when adding attachments to wo…
Connect to TFS via MS Word...
tf86001 Team foundation was unable to lo…
Uniquely identify new work item

Hot Articles

Newbie Question - Edit Existing Team Pro…
Entering Work Items Thru Project Portal …
Adding new Values to "state"
has anybody created a conversion tool th…
How do I specify dependancies (and impor…
Connecting to work items with project
Unable to publish start/finish dates and…
Import change history into TFS
Event subscription filter - limited to S…
Methodology for publishing work items
The Work Items node has a Red x
WI permission
Locating Work Item Attributes In TFS Dat…
Supress the "Team" Menu
Using Microsoft Project with TFS Work It…

Recommend Articles

geting saving error when editing defect?
Migrating work items and setting the &qu…
VSTS and Excel integration
missing Microsoft.TeamFoundation.WorkIte…
TFS RC: Error loading Microsoft.TeamFoun…
How can I restrict permissions to change…
Accessing work itens via web (license qu…
Connecting to work items with project
How to get the email body from an email …
Why Cant I enter start date and finish d…
WorkItemChangedEvent doesn't retrieve &q…
CMMI delete work items
VS.NET command to add work items
Notification - Closed task
Work Item Access control based on Work I…