Mr. Howe

Hi guys,

Long time i posted anything. Anyways, working with PTE and have created a process template. All the files are error free. When i attempt to upload them, i get the following error.

"Failed to upload process template"

The log is shown below. Any ideas why this is I have tried uploading from the actuall TFS box and my desktop, both yeild the same results.

Hope you can help.

Brad

----------------------------------

2007-01-25 16:16:34Z | Module: Engine | Thread: 12 | Starting process template validation
2007-01-25 16:16:34Z | Module: Engine | The user identity information was retrieved from the Group Security Service | Completion time: 0.0156253 seconds
2007-01-25 16:16:34Z | Module: Engine | Thread: 12 | Process template XML loaded
2007-01-25 16:16:34Z | Module: Engine | Thread: 12 | Starting process template validation
2007-01-25 16:16:34Z | Module: Engine | Thread: 9 | Running Task "UploadStructure" from Group "Classification"
2007-01-25 16:16:34Z | Module: CssStructureUploader | Thread: 9 | TF30157: Invalid node name
---begin Exception entry---
Time: 2007-01-25 16:16:34Z
Module: Engine
Event Description: TF30162: Task "UploadStructure" from Group "Classification" failed
Exception Type: Microsoft.TeamFoundation.Client.PcwException
Exception Message: TF30157: Invalid node name
Stack Trace:
at Microsoft.VisualStudio.TeamFoundation.CssStructureUploader.Validate(ProjectCreationContext context, XmlNode taskXml)
at Microsoft.VisualStudio.TeamFoundation.ProjectCreationEngine.TaskValidator.PerformTask(IProjectComponentCreator componentCreator, ProjectCreationContext context, XmlNode taskXml)
at Microsoft.VisualStudio.TeamFoundation.ProjectCreationEngine.RunTask(Object taskObj)
--- end Exception entry ---

2007-01-25 16:16:34Z | Module: Engine | Thread: 9 | TF30202: Task "" from Group "" will not be run because a prior task failed.
2007-01-25 16:16:34Z | Module: Engine | Thread: 9 | TF30202: Task "GroupCreation1" from Group "Groups" will not be run because a prior task failed.
2007-01-25 16:16:34Z | Module: Engine | Thread: 9 | TF30202: Task "" from Group "" will not be run because a prior task failed.
2007-01-25 16:16:34Z | Module: Engine | Thread: 9 | TF30202: Task "WITs" from Group "WorkItemTracking" will not be run because a prior task failed.
2007-01-25 16:16:34Z | Module: Engine | Thread: 9 | TF30202: Task "WIs" from Group "WorkItemTracking" will not be run because a prior task failed.
2007-01-25 16:16:34Z | Module: Engine | Thread: 9 | TF30202: Task "Queries" from Group "WorkItemTracking" will not be run because a prior task failed.
2007-01-25 16:16:34Z | Module: Engine | Thread: 9 | TF30202: Task "" from Group "" will not be run because a prior task failed.
2007-01-25 16:16:34Z | Module: Engine | Thread: 9 | TF30202: Task "VersionControlTask" from Group "VersionControl" will not be run because a prior task failed.
2007-01-25 16:16:34Z | Module: Engine | Thread: 9 | TF30202: Task "" from Group "" will not be run because a prior task failed.
2007-01-25 16:16:34Z | Module: Engine | Thread: 9 | TF30202: Task "SharePointPortal" from Group "Portal" will not be run because a prior task failed.
2007-01-25 16:16:34Z | Module: Engine | Thread: 9 | TF30202: Task "" from Group "" will not be run because a prior task failed.
2007-01-25 16:16:34Z | Module: Engine | Thread: 9 | TF30202: Task "Site" from Group "Reporting" will not be run because a prior task failed.
2007-01-25 16:16:34Z | Module: Engine | Thread: 9 | TF30202: Task "Populate Reports" from Group "Reporting" will not be run because a prior task failed.
2007-01-25 16:16:34Z | Module: Engine | Thread: 9 | TF30202: Task "" from Group "" will not be run because a prior task failed.
---begin Exception entry---
Time: 2007-01-25 16:16:34Z
Module: Template Importer
Exception Type: Microsoft.TeamFoundation.Client.ValidationFailedException
Exception Message: TF30175: Process template validation failed
Stack Trace:
at Microsoft.VisualStudio.TeamFoundation.EngineStarter.ValidateTemplate(DirectoryInfo templateDirectory)
at Microsoft.VisualStudio.TeamFoundation.TemplateManagementService.ValidateMethodology(String folderPath, ILogHandler logHandler)
at Microsoft.VisualStudio.TeamFoundation.TemplateManagementService.Import(String folderPath, ILogHandler logHandler)
-- Inner Exception --
Exception Type: Microsoft.VisualStudio.TeamFoundation.TaskFailedException
Exception Message: TF30162: Task "UploadStructure" from Group "Classification" failed
Stack Trace:
at Microsoft.VisualStudio.TeamFoundation.ProjectCreationEngine.PerformAllTasks(ITaskPerformer taskPerformer, ProjectCreationContext creationContext, List`1 projectTasks)
at Microsoft.VisualStudio.TeamFoundation.EngineStarter.RunEngine(Boolean isValidationRun, String templateFolder)
at Microsoft.VisualStudio.TeamFoundation.EngineStarter.ValidateTemplate(DirectoryInfo templateDirectory)
-- end Inner Exception --
-- Inner Exception --
Exception Type: Microsoft.TeamFoundation.Client.PcwException
Exception Message: TF30157: Invalid node name
Stack Trace:
at Microsoft.VisualStudio.TeamFoundation.CssStructureUploader.Validate(ProjectCreationContext context, XmlNode taskXml)
at Microsoft.VisualStudio.TeamFoundation.ProjectCreationEngine.TaskValidator.PerformTask(IProjectComponentCreator componentCreator, ProjectCreationContext context, XmlNode taskXml)
at Microsoft.VisualStudio.TeamFoundation.ProjectCreationEngine.RunTask(Object taskObj)
-- end Inner Exception --
--- end Exception entry ---



Re: Team Foundation Server - Process Templates "Failed to upload process template" -TF30157: Invalid node name

Dan Kershaw

Can you post the Classification.XML file please

Thanks,






Re: Team Foundation Server - Process Templates "Failed to upload process template" -TF30157: Invalid node name

Mr. Howe

Nothing crazy, just the default.

< xml version="1.0" encoding="utf-8" >
<tasks>
<task id="UploadStructure" name="Creating project structure" plugin="Microsoft.ProjectCreationWizard.Classification" completionMessage="Team project structure created.">
<taskXml>
<Nodes>
<Node StructureType="ProjectLifecycle" Name="Iteration">
<Children>
<Node StructureType="ProjectLifecycle" Name="Iteration 0" />
<Node StructureType="ProjectLifecycle" Name="Iteration 1" />
<Node StructureType="ProjectLifecycle" Name="Iteration 2" />
</Children>
</Node>
<Node StructureType="ProjectModelHierarchy" Name="Area">
<Children>
<Node StructureType="ProjectModelHierarchy" Name="Login &amp; Authentication" />
<Node StructureType="ProjectModelHierarchy" Name="Account Administration" />
<Node StructureType="ProjectModelHierarchy" Name="Navigational Tabs" />
<Node StructureType="ProjectModelHierarchy" Name="Keyword Search" />
<Node StructureType="ProjectModelHierarchy" Name="Search Results" />
<Node StructureType="ProjectModelHierarchy" Name="Table of Contents" />
</Children>
</Node>
</Nodes>
<properties>
<property name="MSPROJ" value="Classification\FileMapping.xml" isFile="true" />
</properties>
</taskXml>
</task>
</tasks>





Re: Team Foundation Server - Process Templates "Failed to upload process template" -TF30157: Invalid node name

Mr. Howe

&amp: not allowed in the areas node name.

now i have a another error, ill try and debug some more.

Thanks for the idea.





Re: Team Foundation Server - Process Templates "Failed to upload process template" -TF30157: Invalid node name

Mr. Howe

Also,

For others that may get errors read the log for errors. To get the template uploaded in needed to use a FULL admin account for all the services. To make that easy, i ended up using TFSSETUP and it uploaded correctly.

Good luck and thanks.