none
TF82039 Error on project with TFS Integration RRS feed

  • Question

  • I am running MS Project Server 2010 and TFS 2012.

    I have been working with TFS and Project and Project Server integrated for many months. However, I have run into this problem 3 times in the past 5 months. The first couple times, after finding no resolution, I was forced to restore backups for the affected projects.

    I receive the error when Refreshing from the Team menu in MS Project 2010, I received the following error, "TF82039: Team Foundation was unable to modify the project plan. Please fix the problem and try again."

    I turned on error logging using, "winproj.exe.config".  Below is a subset of what was captured. However, I don't know how to make sense of this.

    I'd like to resolve the error, but I don't know what's causing it. Assistance in interpreting this file to find the cause would be greatly appreciated. I am hoping there is a way to use one of the ids in the error message to either track it back to the line item causing the problem in the project or the TFS item.

    WINPROJ.EXE Error: 0 : [Error, PID 6624, TID 9752, 2014/07/11 21:35:11.168, 35767 ms, General]

    {

    Exception:  {

    Exception Message: Cannot delete or reassign tasks or assignments with protected actuals.  (type COMException)

    Exception Stack Trace:    at Microsoft.Office.Interop.MSProject.Task.SetField(PjField FieldID, String Value)

       at Microsoft.TeamFoundation.OfficeIntegration.Client.ELeadProjectPlan.SetIndents(ELeadTree tree, List`1 nodes)

       at Microsoft.TeamFoundation.OfficeIntegration.Client.ELeadProjectPlan.DoInsertWorkItems(ICollection workItems, Boolean refresh)

    }

    }

    WINPROJ.EXE Error: 0 : [Error, PID 6624, TID 9752, 2014/07/11 21:35:11.668, 36267 ms, General]

    {

    Exception:  {

    Exception Message: Cannot delete or reassign tasks or assignments with protected actuals.  (type COMException)

    Exception Stack Trace:    at Microsoft.Office.Interop.MSProject.Task.SetField(PjField FieldID, String Value)

       at Microsoft.TeamFoundation.OfficeIntegration.Client.ELeadProjectPlan.SetIndents(ELeadTree tree, List`1 nodes)

       at Microsoft.TeamFoundation.OfficeIntegration.Client.ELeadProjectPlan.DoInsertWorkItems(ICollection workItems, Boolean refresh)

       at Microsoft.TeamFoundation.OfficeIntegration.Client.ELeadProjectPlan.Sync(Boolean publishToDB)

       at Microsoft.TeamFoundation.OfficeIntegration.Client.ELeadProjectPlan.Refresh(Boolean promptOverwrite)

       at Microsoft.TeamFoundation.OfficeIntegration.Client.ProjectCommands.Refresh(Boolean promptOverwrite)

    }

    }

    WINPROJ.EXE Error: 0 : [Error, PID 6624, TID 9752, 2014/07/11 21:35:11.669, 36268 ms, General] TF82039: Team Foundation was unable to modify the project plan.

    Please fix the problem and try again.

    WINPROJ.EXE Error: 0 : [Error, PID 6624, TID 9752, 2014/07/11 21:35:16.243, 40843 ms, General] UIHost.ShowMessageBox: result=OK caption='Microsoft Office Project' text='TF82039: Team Foundation was unable to modify the project plan.

    Monday, July 14, 2014 5:57 PM

Answers

  • Found the cause...

    When a TFS task is created, all the required fields are populated, including "Assigned To".

    However, when the assigned resource hadn't previously been added to the project schedule, I'd get the error when refreshing from the Team tab.

    To resolve this, I manually added the resource from the Enterprise resources, assigned the user to the task and refreshed. This resolved the issue.

    If anyone knows of a way to prevent this from happening in the future, I'd love to hear it.

    • Marked as answer by Dan___C Wednesday, July 16, 2014 10:31 PM
    Wednesday, July 16, 2014 10:31 PM

All replies

  • Found the cause...

    When a TFS task is created, all the required fields are populated, including "Assigned To".

    However, when the assigned resource hadn't previously been added to the project schedule, I'd get the error when refreshing from the Team tab.

    To resolve this, I manually added the resource from the Enterprise resources, assigned the user to the task and refreshed. This resolved the issue.

    If anyone knows of a way to prevent this from happening in the future, I'd love to hear it.

    • Marked as answer by Dan___C Wednesday, July 16, 2014 10:31 PM
    Wednesday, July 16, 2014 10:31 PM
  • Hello Dan_C

    I face the same error while I try to Reflash data from TFS to Prj pro.  

    I use template of  MSF for Agile , while user story be written 'assign to ' the  error will be shown.

    After I delete the user's name , error never shown. 


    Jou Chen

    Thursday, June 25, 2015 8:55 AM