Uploading Process Template

Topics: Developer Forum, Project Management Forum
Jun 15, 2007 at 1:41 PM
Hello,

I've followed all installation instructions (including notes on third party sites on correctly updating the web.config file) up to the point of uploading the process template. The upload fails. The following is the start of the exception entries found in the log file:

---begin Exception entry---
Time: 2007-06-15 08:17:11Z
Module: Work Item Tracking
Exception Type: Microsoft.TeamFoundation.WorkItemTracking.Client.Provision.ProvisionValidationException
Exception Message: Actual reporting settings for the field Microsoft.VSTS.Common.Severity are different from those specified in the XML. Changing these settings is prohibited.
Stack Trace:
at Microsoft.TeamFoundation.WorkItemTracking.Client.Provision.ImporterField.Update(XmlElement fieldElement)
at Microsoft.TeamFoundation.WorkItemTracking.Client.Provision.ImporterFields..ctor(ImporterData sharedData, XmlNodeList fieldNodes)
at Microsoft.TeamFoundation.WorkItemTracking.Client.Provision.WITImporter.ImportFieldDefinitions(XmlElement root)
at Microsoft.TeamFoundation.WorkItemTracking.Client.Provision.WITImporter.Translate(XmlElement element)
at Microsoft.TeamFoundation.WorkItemTracking.Client.Provision.ProvisionClass.ImportValidateWorkItemTypeInternal(Int32 projectId, String methodologyName, XmlElement typeElement, ActionType action)
--- end Exception entry ---

2007-06-15 08:17:11Z | Module: Work Item Tracking | Thread: 7 | Validated WorkItemType definition from C:\Program Files\eScrum\ProcessTemplate\WorkItemTracking\TypeDefinitions\Bug.xml
---begin Exception entry---
Time: 2007-06-15 08:17:11Z
Module: Engine
Event Description: TF30162: Task "WITs" from Group "WorkItemTracking" failed
Exception Type: Microsoft.TeamFoundation.Client.PcwException
Exception Message: Work item type validation failed. The operation cannot be completed.
Stack Trace:
at Microsoft.VisualStudio.TeamFoundation.WorkItemTracking.WitPcwPlugin.PcwPluginComponentCreator.Validate(ProjectCreationContext ctxt, XmlNode taskXml)
at Microsoft.VisualStudio.TeamFoundation.ProjectCreationEngine.TaskValidator.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: Work item type validation failed. The operation cannot be completed.
Stack Trace:
at Microsoft.VisualStudio.TeamFoundation.WorkItemTracking.WitPcwPlugin.PcwPluginComponentCreator.WitPcwTask.WorkItemTypesTask.UploadTypeDefinition(String file, Boolean execute)
at Microsoft.VisualStudio.TeamFoundation.WorkItemTracking.WitPcwPlugin.PcwPluginComponentCreator.WitPcwTask.WorkItemTypesTask.Validate()
at Microsoft.VisualStudio.TeamFoundation.WorkItemTracking.WitPcwPlugin.PcwPluginComponentCreator.Parse(ContextWrapper wrapper, XmlNode taskXml, Boolean fExecute)
at Microsoft.VisualStudio.TeamFoundation.WorkItemTracking.WitPcwPlugin.PcwPluginComponentCreator.Validate(ProjectCreationContext ctxt, XmlNode taskXml)
-- end Inner Exception --
--- end Exception entry ---

2007-06-15 08:17:11Z | Module: Engine | Thread: 7 | TF30202: Task "Queries" from Group "WorkItemTracking" will not be run because a prior task failed.
2007-06-15 08:17:11Z | Module: Engine | Thread: 7 | TF30202: Task "" from Group "" will not be run because a prior task failed.
2007-06-15 08:17:11Z | Module: Engine | Thread: 7 | TF30202: Task "VersionControlTask" from Group "VersionControl" will not be run because a prior task failed.
2007-06-15 08:17:11Z | Module: Engine | Thread: 7 | TF30202: Task "" from Group "" will not be run because a prior task failed.
2007-06-15 08:17:11Z | Module: Engine | Thread: 7 | TF30202: Task "SharePointPortal" from Group "Portal" will not be run because a prior task failed.
2007-06-15 08:17:11Z | Module: Engine | Thread: 7 | TF30202: Task "" from Group "" will not be run because a prior task failed.
2007-06-15 08:17:11Z | Module: Engine | Thread: 7 | TF30202: Task "Site" from Group "Reporting" will not be run because a prior task failed.
2007-06-15 08:17:11Z | Module: Engine | Thread: 7 | TF30202: Task "Populate Reports" from Group "Reporting" will not be run because a prior task failed.
2007-06-15 08:17:11Z | Module: Engine | Thread: 7 | TF30202: Task "" from Group "" will not be run because a prior task failed.
---begin Exception entry---
Time: 2007-06-15 08:17:11Z
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 "WITs" from Group "WorkItemTracking" 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: Work item type validation failed. The operation cannot be completed.
Stack Trace:
at Microsoft.VisualStudio.TeamFoundation.WorkItemTracking.WitPcwPlugin.PcwPluginComponentCreator.Validate(ProjectCreationContext ctxt, 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 --
-- Inner Exception --
Exception Type: Microsoft.VisualStudio.TeamFoundation.WorkItemTracking.WitPcwFatalException
Exception Message: Work item type validation failed. The operation cannot be completed.
Stack Trace:
at Microsoft.VisualStudio.TeamFoundation.WorkItemTracking.WitPcwPlugin.PcwPluginComponentCreator.WitPcwTask.WorkItemTypesTask.UploadTypeDefinition(String file, Boolean execute)
at Microsoft.VisualStudio.TeamFoundation.WorkItemTracking.WitPcwPlugin.PcwPluginComponentCreator.WitPcwTask.WorkItemTypesTask.Validate()
at Microsoft.VisualStudio.TeamFoundation.WorkItemTracking.WitPcwPlugin.PcwPluginComponentCreator.Parse(ContextWrapper wrapper, XmlNode taskXml, Boolean fExecute)
at Microsoft.VisualStudio.TeamFoundation.WorkItemTracking.WitPcwPlugin.PcwPluginComponentCreator.Validate(ProjectCreationContext ctxt, XmlNode taskXml)
-- end Inner Exception --
--- end Exception entry ---

Any idea of what might be wrong?

Thanks

Doran
Coordinator
Jun 18, 2007 at 3:09 PM
It looks like your complexities don't match the default complexities. Have you modified them for another Project Type?



Doran wrote:
Hello,

I've followed all installation instructions (including notes on third party sites on correctly updating the web.config file) up to the point of uploading the process template. The upload fails. The following is the start of the exception entries found in the log file:

---begin Exception entry---
Time: 2007-06-15 08:17:11Z
Module: Work Item Tracking
Exception Type: Microsoft.TeamFoundation.WorkItemTracking.Client.Provision.ProvisionValidationException
Exception Message: Actual reporting settings for the field Microsoft.VSTS.Common.Severity are different from those specified in the XML. Changing these settings is prohibited.
Stack Trace:
at Microsoft.TeamFoundation.WorkItemTracking.Client.Provision.ImporterField.Update(XmlElement fieldElement)
at Microsoft.TeamFoundation.WorkItemTracking.Client.Provision.ImporterFields..ctor(ImporterData sharedData, XmlNodeList fieldNodes)
at Microsoft.TeamFoundation.WorkItemTracking.Client.Provision.WITImporter.ImportFieldDefinitions(XmlElement root)
at Microsoft.TeamFoundation.WorkItemTracking.Client.Provision.WITImporter.Translate(XmlElement element)
at Microsoft.TeamFoundation.WorkItemTracking.Client.Provision.ProvisionClass.ImportValidateWorkItemTypeInternal(Int32 projectId, String methodologyName, XmlElement typeElement, ActionType action)
--- end Exception entry ---

2007-06-15 08:17:11Z | Module: Work Item Tracking | Thread: 7 | Validated WorkItemType definition from C:\Program Files\eScrum\ProcessTemplate\WorkItemTracking\TypeDefinitions\Bug.xml
---begin Exception entry---
Time: 2007-06-15 08:17:11Z
Module: Engine
Event Description: TF30162: Task "WITs" from Group "WorkItemTracking" failed
Exception Type: Microsoft.TeamFoundation.Client.PcwException
Exception Message: Work item type validation failed. The operation cannot be completed.
Stack Trace:
at Microsoft.VisualStudio.TeamFoundation.WorkItemTracking.WitPcwPlugin.PcwPluginComponentCreator.Validate(ProjectCreationContext ctxt, XmlNode taskXml)
at Microsoft.VisualStudio.TeamFoundation.ProjectCreationEngine.TaskValidator.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: Work item type validation failed. The operation cannot be completed.
Stack Trace:
at Microsoft.VisualStudio.TeamFoundation.WorkItemTracking.WitPcwPlugin.PcwPluginComponentCreator.WitPcwTask.WorkItemTypesTask.UploadTypeDefinition(String file, Boolean execute)
at Microsoft.VisualStudio.TeamFoundation.WorkItemTracking.WitPcwPlugin.PcwPluginComponentCreator.WitPcwTask.WorkItemTypesTask.Validate()
at Microsoft.VisualStudio.TeamFoundation.WorkItemTracking.WitPcwPlugin.PcwPluginComponentCreator.Parse(ContextWrapper wrapper, XmlNode taskXml, Boolean fExecute)
at Microsoft.VisualStudio.TeamFoundation.WorkItemTracking.WitPcwPlugin.PcwPluginComponentCreator.Validate(ProjectCreationContext ctxt, XmlNode taskXml)
-- end Inner Exception --
--- end Exception entry ---

2007-06-15 08:17:11Z | Module: Engine | Thread: 7 | TF30202: Task "Queries" from Group "WorkItemTracking" will not be run because a prior task failed.
2007-06-15 08:17:11Z | Module: Engine | Thread: 7 | TF30202: Task "" from Group "" will not be run because a prior task failed.
2007-06-15 08:17:11Z | Module: Engine | Thread: 7 | TF30202: Task "VersionControlTask" from Group "VersionControl" will not be run because a prior task failed.
2007-06-15 08:17:11Z | Module: Engine | Thread: 7 | TF30202: Task "" from Group "" will not be run because a prior task failed.
2007-06-15 08:17:11Z | Module: Engine | Thread: 7 | TF30202: Task "SharePointPortal" from Group "Portal" will not be run because a prior task failed.
2007-06-15 08:17:11Z | Module: Engine | Thread: 7 | TF30202: Task "" from Group "" will not be run because a prior task failed.
2007-06-15 08:17:11Z | Module: Engine | Thread: 7 | TF30202: Task "Site" from Group "Reporting" will not be run because a prior task failed.
2007-06-15 08:17:11Z | Module: Engine | Thread: 7 | TF30202: Task "Populate Reports" from Group "Reporting" will not be run because a prior task failed.
2007-06-15 08:17:11Z | Module: Engine | Thread: 7 | TF30202: Task "" from Group "" will not be run because a prior task failed.
---begin Exception entry---
Time: 2007-06-15 08:17:11Z
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 "WITs" from Group "WorkItemTracking" 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: Work item type validation failed. The operation cannot be completed.
Stack Trace:
at Microsoft.VisualStudio.TeamFoundation.WorkItemTracking.WitPcwPlugin.PcwPluginComponentCreator.Validate(ProjectCreationContext ctxt, 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 --
-- Inner Exception --
Exception Type: Microsoft.VisualStudio.TeamFoundation.WorkItemTracking.WitPcwFatalException
Exception Message: Work item type validation failed. The operation cannot be completed.
Stack Trace:
at Microsoft.VisualStudio.TeamFoundation.WorkItemTracking.WitPcwPlugin.PcwPluginComponentCreator.WitPcwTask.WorkItemTypesTask.UploadTypeDefinition(String file, Boolean execute)
at Microsoft.VisualStudio.TeamFoundation.WorkItemTracking.WitPcwPlugin.PcwPluginComponentCreator.WitPcwTask.WorkItemTypesTask.Validate()
at Microsoft.VisualStudio.TeamFoundation.WorkItemTracking.WitPcwPlugin.PcwPluginComponentCreator.Parse(ContextWrapper wrapper, XmlNode taskXml, Boolean fExecute)
at Microsoft.VisualStudio.TeamFoundation.WorkItemTracking.WitPcwPlugin.PcwPluginComponentCreator.Validate(ProjectCreationContext ctxt, XmlNode taskXml)
-- end Inner Exception --
--- end Exception entry ---

Any idea of what might be wrong?

Thanks

Doran

Sep 2, 2010 at 2:56 PM

I'm having similar problems while trying to upload the v1.0 version of the Microsoft Visual Studio Scrum  template:

2010-09-02T15:46:27 | Module: Engine | Thread: 100 | Starting process template validation
2010-09-02T15:46:27 | Module: Engine | The user identity information was retrieved from the Group Security Service | Completion time: 0.339 seconds
2010-09-02T15:46:27 | Module: Engine | Thread: 100 | Process template XML loaded
2010-09-02T15:46:27 | Module: Engine | Thread: 100 | Starting process template validation
2010-09-02T15:46:27 | Module: Engine | Thread: 6 | Running Task "UploadStructure" from Group "Classification"
2010-09-02T15:46:27 | Module: Engine | Task "UploadStructure" from Group "Classification" completed with success | Completion time: 0.001 seconds
2010-09-02T15:46:27 | Module: Engine | Thread: 66 | Running Task "" from Group ""
2010-09-02T15:46:27 | Module: Engine | Thread: 66 | Running Task "GroupCreation1" from Group "Groups"
---begin Exception entry---
Time: 2010-09-02T15:46:27
Module: Engine
Event Description: TF30162: Task "GroupCreation1" from Group "Groups" failed
Exception Type: Microsoft.TeamFoundation.Client.PcwException
Exception Message: TF218018: The XML in the process template is malformed. A problem exists with the following permission class: PROJECT. The permission class does not support the specified permission: VIEW_TEST_RESULTS. Contact the provider of the template and obtain a corrected XML file. Use the Process Template Manager to upload the new template file to  Team Foundation Server and then try the operation again.
Stack Trace:
   at Microsoft.VisualStudio.TeamFoundation.GssStructureCreator.ValidateGroupsAndPermissions(ProjectCreationContext context, XmlNodeList groupXmlNodeList)
   at Microsoft.VisualStudio.TeamFoundation.GssStructureCreator.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 
Any idea why this is so?