Share via

TFS - Project 2010 Error TF82039

Anonymous
2014-05-21T03:35:41+00:00

I have been working with TFS and Project and Project Server integrated for a couple months without issue. However, recently, 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.

WINPROJ.EXE Error: 0 : [Error, PID 6468, TID 13852, 2014/05/20 22:27:52.838, 114383 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.Delete()

   at Microsoft.TeamFoundation.OfficeIntegration.Client.ProjectWorkItem.Delete()

   at Microsoft.TeamFoundation.OfficeIntegration.Client.Common.WorkItemDictionaryBase.Remove(String key)

   at Microsoft.TeamFoundation.OfficeIntegration.Client.ELeadProjectPlan.RemoveTasksNotInTree(Dictionary`2 treeNodeIDDictionary)

   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 6468, TID 13852, 2014/05/20 22:27:53.709, 115253 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.Delete()

   at Microsoft.TeamFoundation.OfficeIntegration.Client.ProjectWorkItem.Delete()

   at Microsoft.TeamFoundation.OfficeIntegration.Client.Common.WorkItemDictionaryBase.Remove(String key)

   at Microsoft.TeamFoundation.OfficeIntegration.Client.ELeadProjectPlan.RemoveTasksNotInTree(Dictionary`2 treeNodeIDDictionary)

   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 6468, TID 13852, 2014/05/20 22:27:53.710, 115254 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 6468, TID 13852, 2014/05/20 22:28:16.122, 137666 ms, General] UIHost.ShowMessageBox: result=OK caption='Microsoft Office Project' text='TF82039: Team Foundation was unable to modify the project plan.

Microsoft 365 and Office | Access | For home | Windows

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

3 answers

Sort by: Most helpful
  1. Anonymous
    2014-07-16T22:29:02+00:00

    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.

    Was this answer helpful?

    0 comments No comments
  2. John Project 49,710 Reputation points Volunteer Moderator
    2014-07-14T17:14:26+00:00

    Dan_C,

    This part of the Answers forum deals mostly with issues for the stand alone installations of Project. You will likely get a quicker, better response if you post to the Project Server forum at: http://social.technet.microsoft.com/Forums/projectserver/en-US/home?forum=projectserver2010general

    Hope this helps.

    John

    Was this answer helpful?

    0 comments No comments
  3. Anonymous
    2014-07-14T16:15:38+00:00

    After receiving no resolution last time I received this error, I had to restore the DB in order to resolve it. I have now received this error again on another project. This time, I'd really like to find the cause. Any help would really be appreciated!

    Here's an excerpt of the latest log file:

    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.

    Was this answer helpful?

    0 comments No comments