none
Agile + SDL templates unable to create project RRS feed

  • Question

  • Hi,

    I have installed the MSF Agile process + SDL templates, but I am unable to create a project using that project template. The error and part of the log is below.

    Please help me sort this out.

    Thanks.

    EDIT: The TFS server is running with a Norwegian locale. I have tried to set this to US English for both the server and client, but with no luck. Still, I have a feeling that the problem might lie there.

     

    Error
    TF30170: The plugin Microsoft.ProjectCreationWizard.WorkItemTracking failed during task WIs from group WorkItemTracking.
    Explanation
    Plugin error text: “TF26213: Saving work items failed. Check the log for more details.”

     

    Extract from log:

    2010-08-09T13:18:45 | Module: Work Item Tracking | Thread: 17 | WorkItem Created
    2010-08-09T13:18:45 | Module: Work Item Tracking | Thread: 17 | Saving work items
    ---begin Exception entry---
    Time: 2010-08-09T13:18:47
    Module: Work Item Tracking
    Event Description: TF26214: Cannot save the work item. Fields with errors: Original Estimate
    Exception Message: TF237086: The work item cannot be saved because at least one field contains a value that is not allowed. (type ValidationException)

    Exception Stack Trace:

    --- end Exception entry ---

    ---begin Exception entry---
    Time: 2010-08-09T13:18:47
    Module: Work Item Tracking
    Event Description: TF26214: Cannot save the work item. Fields with errors: Original Estimate
    Exception Message: TF237086: The work item cannot be saved because at least one field contains a value that is not allowed. (type ValidationException)

    Exception Stack Trace:

    --- end Exception entry ---

    ---begin Exception entry---
    Time: 2010-08-09T13:18:47
    Module: Work Item Tracking
    Event Description: TF26214: Cannot save the work item. Fields with errors: Original Estimate
    Exception Message: TF237086: The work item cannot be saved because at least one field contains a value that is not allowed. (type ValidationException)

    Exception Stack Trace:

    --- end Exception entry ---

    ---begin Exception entry---
    Time: 2010-08-09T13:18:47
    Module: Work Item Tracking
    Event Description: TF26214: Cannot save the work item. Fields with errors: Original Estimate
    Exception Message: TF237086: The work item cannot be saved because at least one field contains a value that is not allowed. (type ValidationException)

    Exception Stack Trace:

    --- end Exception entry ---

    ---begin Exception entry---
    Time: 2010-08-09T13:18:47
    Module: Work Item Tracking
    Event Description: TF26214: Cannot save the work item. Fields with errors: Original Estimate
    Exception Message: TF237086: The work item cannot be saved because at least one field contains a value that is not allowed. (type ValidationException)

    Exception Stack Trace:

    --- end Exception entry ---

    ---begin Exception entry---
    Time: 2010-08-09T13:18:47
    Module: Work Item Tracking
    Event Description: TF26214: Cannot save the work item. Fields with errors: Original Estimate
    Exception Message: TF237086: The work item cannot be saved because at least one field contains a value that is not allowed. (type ValidationException)

    Exception Stack Trace:

    --- end Exception entry ---

    ---begin Exception entry---
    Time: 2010-08-09T13:18:47
    Module: Work Item Tracking
    Event Description: TF26214: Cannot save the work item. Fields with errors: Original Estimate
    Exception Message: TF237086: The work item cannot be saved because at least one field contains a value that is not allowed. (type ValidationException)

    Exception Stack Trace:

    --- end Exception entry ---

    ---begin Exception entry---
    Time: 2010-08-09T13:18:47
    Module: Work Item Tracking
    Event Description: TF26214: Cannot save the work item. Fields with errors: Original Estimate
    Exception Message: TF237086: The work item cannot be saved because at least one field contains a value that is not allowed. (type ValidationException)

    Exception Stack Trace:

    --- end Exception entry ---

    ---begin Exception entry---
    Time: 2010-08-09T13:18:47
    Module: Work Item Tracking
    Event Description: TF26214: Cannot save the work item. Fields with errors: Original Estimate
    Exception Message: TF237086: The work item cannot be saved because at least one field contains a value that is not allowed. (type ValidationException)

    Exception Stack Trace:

    --- end Exception entry ---

    ---begin Exception entry---
    Time: 2010-08-09T13:18:47
    Module: Work Item Tracking
    Event Description: TF26214: Cannot save the work item. Fields with errors: Original Estimate
    Exception Message: TF237086: The work item cannot be saved because at least one field contains a value that is not allowed. (type ValidationException)

    Exception Stack Trace:

    --- end Exception entry ---

    ---begin Exception entry---
    Time: 2010-08-09T13:18:47
    Module: Work Item Tracking
    Event Description: TF26214: Cannot save the work item. Fields with errors: Original Estimate
    Exception Message: TF237086: The work item cannot be saved because at least one field contains a value that is not allowed. (type ValidationException)

    Exception Stack Trace:

    --- end Exception entry ---

    ---begin Exception entry---
    Time: 2010-08-09T13:18:47
    Module: Work Item Tracking
    Event Description: TF26214: Cannot save the work item. Fields with errors: Original Estimate
    Exception Message: TF237086: The work item cannot be saved because at least one field contains a value that is not allowed. (type ValidationException)

    Exception Stack Trace:

    --- end Exception entry ---

    ---begin Exception entry---
    Time: 2010-08-09T13:18:47
    Module: Engine
    Event Description: TF30162: Task "WIs" from Group "WorkItemTracking" failed
    Exception Type: Microsoft.TeamFoundation.Client.PcwException
    Exception Message: TF26213: Saving work items failed. Check the log for more details.
    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 Message: TF26213: Saving work items failed. Check the log for more details. (type WitPcwFatalException)

    Exception Stack Trace:    at Microsoft.VisualStudio.TeamFoundation.WorkItemTracking.WitPcwPlugin.PcwPluginComponentCreator.WitPcwTask.WorkItemsTask.SaveWorkItems(List`1 items)
       at Microsoft.VisualStudio.TeamFoundation.WorkItemTracking.WitPcwPlugin.PcwPluginComponentCreator.WitPcwTask.WorkItemsTask.Parse(Boolean fExecute)
       at Microsoft.VisualStudio.TeamFoundation.WorkItemTracking.WitPcwPlugin.PcwPluginComponentCreator.WitPcwTask.WorkItemsTask.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 Exception entry ---

    • Edited by Morten Petteroe Monday, August 9, 2010 11:29 AM Added server info
    • Moved by Hengzhe Li Tuesday, June 21, 2011 11:32 AM Forum consolidate (From:Microsoft Security Development Lifecycle (SDL) - Tools)
    Monday, August 9, 2010 11:20 AM

Answers

  • Hi,

    I've had a similar problem earlier and solved it by making sure that the decimal symbol was a
    dot (.) and not a comma (,).
    You can accomplish this by either setting your regional settings to english or by changing the format of the decimal symbol. Changed at the client, under Region and Language\Format\Additional Settings\Decimal Symbol.

    See my previous post for more information.

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

    If it still doesn't work try the following


    What I can tell from the stack trace above is that it refers to another field compared to what I had in my error. To investigate it further I downloaded the template process and looked up the field Original Estimate that was mentioned in your stack trace.


    This is what I found:

        <FIELD refname="Microsoft.VSTS.Scheduling.OriginalEstimate" value=".5" />

    Judging from the value attribute, my guess is that it still has something to do with the decimal symbol.

    Possible Solution / Work around / Test

    Warning this modifies the process template on the Team Foundation Server,
    make sure to back up your process template, and try it out in a test environment!


    1. Download the process template from team explorer by right clicking the collection and selecting Team Project Collection Settings\Process Template Manager project and download the SDL template to disk.

    2. Open the file WorkItems.xml in the folder WorkItem Tracking in the process template folder.

    3. Search for Estimate, should result in several hits. What we are after is OriginalEstimate where the value is .5
    Something like: <FIELD refname="Microsoft.VSTS.Scheduling.OriginalEstimate" value=".5" />

    4. Change .5 to another more desirable value so that you can test it. It should preferably be a value without decimals (for testing purposes). To verify if it was the decimal symbol that caused the error when creating the project. Make sure to change it for all work item tasks since there are several in the file, in other words, search for all occurrences of OriginalEstimate in the file where the value is .5.

    5. Save the file and upload the process.

    6 Try again.

    Good luck!

     

     

     

    Best Regards

    Michael Ginart
    MCTS - QWise.se

     

     

    Monday, September 27, 2010 2:13 PM

All replies

  • Bump!
    Tuesday, August 17, 2010 7:26 AM
  • Same problem here... using latest SDL Process Template 5 on TFS 2010.

     

    010-09-17T10:35:53 | Module: Engine | Task "Queries" from Group "WorkItemTracking" completed with success | Completion time: 2.449062 seconds
    ---begin Exception entry---
    Time: 2010-09-17T10:35:56
    Module: Work Item Tracking
    Event Description: TF26214: Cannot save the work item. Fields with errors: Original Estimate
    Exception Message: TF237086: The work item cannot be saved because at least one field contains a value that is not allowed. (type ValidationException)
    
    Exception Stack Trace: 
    
    --- end Exception entry ---
    
    ---begin Exception entry---
    Time: 2010-09-17T10:35:56
    Module: Work Item Tracking
    Event Description: TF26214: Cannot save the work item. Fields with errors: Original Estimate
    Exception Message: TF237086: The work item cannot be saved because at least one field contains a value that is not allowed. (type ValidationException)
    
    Exception Stack Trace: 
    
    --- end Exception entry ---
    
    ---begin Exception entry---
    Time: 2010-09-17T10:35:56
    Module: Work Item Tracking
    Event Description: TF26214: Cannot save the work item. Fields with errors: Original Estimate
    Exception Message: TF237086: The work item cannot be saved because at least one field contains a value that is not allowed. (type ValidationException)
    
    Exception Stack Trace: 
    
    --- end Exception entry ---
    
    ---begin Exception entry---
    Time: 2010-09-17T10:35:56
    Module: Work Item Tracking
    Event Description: TF26214: Cannot save the work item. Fields with errors: Original Estimate
    Exception Message: TF237086: The work item cannot be saved because at least one field contains a value that is not allowed. (type ValidationException)
    
    Exception Stack Trace: 
    
    --- end Exception entry ---
    
    ---begin Exception entry---
    Time: 2010-09-17T10:35:56
    Module: Work Item Tracking
    Event Description: TF26214: Cannot save the work item. Fields with errors: Original Estimate
    Exception Message: TF237086: The work item cannot be saved because at least one field contains a value that is not allowed. (type ValidationException)
    
    Exception Stack Trace: 
    
    --- end Exception entry ---
    
    ---begin Exception entry---
    Time: 2010-09-17T10:35:56
    Module: Work Item Tracking
    Event Description: TF26214: Cannot save the work item. Fields with errors: Original Estimate
    Exception Message: TF237086: The work item cannot be saved because at least one field contains a value that is not allowed. (type ValidationException)
    
    Exception Stack Trace: 
    
    --- end Exception entry ---
    
    ---begin Exception entry---
    Time: 2010-09-17T10:35:56
    Module: Work Item Tracking
    Event Description: TF26214: Cannot save the work item. Fields with errors: Original Estimate
    Exception Message: TF237086: The work item cannot be saved because at least one field contains a value that is not allowed. (type ValidationException)
    
    Exception Stack Trace: 
    
    --- end Exception entry ---
    
    ---begin Exception entry---
    Time: 2010-09-17T10:35:56
    Module: Work Item Tracking
    Event Description: TF26214: Cannot save the work item. Fields with errors: Original Estimate
    Exception Message: TF237086: The work item cannot be saved because at least one field contains a value that is not allowed. (type ValidationException)
    
    Exception Stack Trace: 
    
    --- end Exception entry ---
    
    ---begin Exception entry---
    Time: 2010-09-17T10:35:56
    Module: Work Item Tracking
    Event Description: TF26214: Cannot save the work item. Fields with errors: Original Estimate
    Exception Message: TF237086: The work item cannot be saved because at least one field contains a value that is not allowed. (type ValidationException)
    
    Exception Stack Trace: 
    
    --- end Exception entry ---
    
    ---begin Exception entry---
    Time: 2010-09-17T10:35:56
    Module: Work Item Tracking
    Event Description: TF26214: Cannot save the work item. Fields with errors: Original Estimate
    Exception Message: TF237086: The work item cannot be saved because at least one field contains a value that is not allowed. (type ValidationException)
    
    Exception Stack Trace: 
    
    --- end Exception entry ---
    
    ---begin Exception entry---
    Time: 2010-09-17T10:35:56
    Module: Work Item Tracking
    Event Description: TF26214: Cannot save the work item. Fields with errors: Original Estimate
    Exception Message: TF237086: The work item cannot be saved because at least one field contains a value that is not allowed. (type ValidationException)
    
    Exception Stack Trace: 
    
    --- end Exception entry ---
    
    ---begin Exception entry---
    Time: 2010-09-17T10:35:56
    Module: Work Item Tracking
    Event Description: TF26214: Cannot save the work item. Fields with errors: Original Estimate
    Exception Message: TF237086: The work item cannot be saved because at least one field contains a value that is not allowed. (type ValidationException)
    
    Exception Stack Trace: 
    
    --- end Exception entry ---
    
    ---begin Exception entry---
    Time: 2010-09-17T10:35:56
    Module: Engine
    Event Description: TF30162: Task "WIs" from Group "WorkItemTracking" failed
    Exception Type: Microsoft.TeamFoundation.Client.PcwException
    Exception Message: TF26213: Saving work items failed. Check the log for more details.
    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 Message: TF26213: Saving work items failed. Check the log for more details. (type WitPcwFatalException)
    
    Exception Stack Trace:  at Microsoft.VisualStudio.TeamFoundation.WorkItemTracking.WitPcwPlugin.PcwPluginComponentCreator.WitPcwTask.WorkItemsTask.SaveWorkItems(List`1 items)
      at Microsoft.VisualStudio.TeamFoundation.WorkItemTracking.WitPcwPlugin.PcwPluginComponentCreator.WitPcwTask.WorkItemsTask.Parse(Boolean fExecute)
      at Microsoft.VisualStudio.TeamFoundation.WorkItemTracking.WitPcwPlugin.PcwPluginComponentCreator.WitPcwTask.WorkItemsTask.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 Exception entry ---

    Friday, September 17, 2010 8:39 AM
  • Hi,

    I've had a similar problem earlier and solved it by making sure that the decimal symbol was a
    dot (.) and not a comma (,).
    You can accomplish this by either setting your regional settings to english or by changing the format of the decimal symbol. Changed at the client, under Region and Language\Format\Additional Settings\Decimal Symbol.

    See my previous post for more information.

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

    If it still doesn't work try the following


    What I can tell from the stack trace above is that it refers to another field compared to what I had in my error. To investigate it further I downloaded the template process and looked up the field Original Estimate that was mentioned in your stack trace.


    This is what I found:

        <FIELD refname="Microsoft.VSTS.Scheduling.OriginalEstimate" value=".5" />

    Judging from the value attribute, my guess is that it still has something to do with the decimal symbol.

    Possible Solution / Work around / Test

    Warning this modifies the process template on the Team Foundation Server,
    make sure to back up your process template, and try it out in a test environment!


    1. Download the process template from team explorer by right clicking the collection and selecting Team Project Collection Settings\Process Template Manager project and download the SDL template to disk.

    2. Open the file WorkItems.xml in the folder WorkItem Tracking in the process template folder.

    3. Search for Estimate, should result in several hits. What we are after is OriginalEstimate where the value is .5
    Something like: <FIELD refname="Microsoft.VSTS.Scheduling.OriginalEstimate" value=".5" />

    4. Change .5 to another more desirable value so that you can test it. It should preferably be a value without decimals (for testing purposes). To verify if it was the decimal symbol that caused the error when creating the project. Make sure to change it for all work item tasks since there are several in the file, in other words, search for all occurrences of OriginalEstimate in the file where the value is .5.

    5. Save the file and upload the process.

    6 Try again.

    Good luck!

     

     

     

    Best Regards

    Michael Ginart
    MCTS - QWise.se

     

     

    Monday, September 27, 2010 2:13 PM
  • I had the same problem. After changing my regional settings from dutch to english vs the problem was solved.

    Best regards,
    Phons Stokkermans.

    Monday, September 27, 2010 4:41 PM