Locked TFS Sync Service SyncProjectNotFoundException

  • mercoledì 1 agosto 2012 09:52
     
     

    AM trying to integrate TFS 2010 with project server 2010, after going through a lot of troubles am able to see mapped work items in the project plan, however the added work items to the project plan or to the team plan is not being sync, I checked event viewer on the TFS Server. TFS Sync Service keep generating the error :-

    TF53010: The following error has occurred in a Team Foundation component or extension:

    Date (UTC): 8/1/2012 9:41:25 AM

    Machine: D2TFSAPXXDWV1

    Application Domain: TfsJobAgent.exe

    Assembly: Microsoft.TeamFoundation.Framework.Server, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a; v2.0.50727

    Service Host:

    Process Details:

    Process Name: TFSJobAgent

    Process Id: 1704

    Thread Id: 1016

    Account name: ServiceAccount

    Detailed Message: Microsoft.TeamFoundation.Sync.WorkitemProvider.SyncProjectNotFoundException: TF287026: One or more mapped team projects are missing that are required for synchronization between Team Foundation Server and Project Server. Contact your administrator for Team Foundation Server to restore the team projects and mapping.

    at Microsoft.TeamFoundation.Sync.WorkitemProvider.SyncProviderBase`1.ValidateSyncConfigurations(WorkItemStore store, ServiceContext svcContext)

    at Microsoft.TeamFoundation.Sync.WorkitemProvider.SyncProviderBase`1.BeginSyncSession()

    at Microsoft.TeamFoundation.Sync.WorkitemProvider.WorkItemPlanSyncProvider.BeginSyncSession()

    at Microsoft.TeamFoundation.Sync.Framework.SyncOrchestrator.Sync()

    at Microsoft.TeamFoundation.Sync.Session.ProjectSyncExecutor.ExecuteSerial(IEnumerable`1 syncOrchestrators)

    at Microsoft.TeamFoundation.Sync.JobExtension.JobServicePlugin.Run(TeamFoundationRequestContext requestContext, TeamFoundationJobDefinition jobDefinition, DateTime jobQueueTime, String& resultMessage)

    Am trying to find the reason for the TFS error TF287026

    BR,

    Mohammad Al-Aqad

Tutte le risposte

  • mercoledì 1 agosto 2012 17:42
    Proprietario
     
     

    From the error message, looks like the TFS team project you have mapped to is deleted.

    Is this the case? Then you will have to map the plan to a valid team project.

    If not, try below on the TFS AT box

    stop the tfsjobagent service

    deleting the WIT cache

    restart the service.


    Smitha Saligrama MSFT

  • sabato 4 agosto 2012 09:17
     
     

    How I can clear the WIT Cache ?????

      BR,

       Mohammad Al-Aqad

  • lunedì 6 agosto 2012 23:11
    Proprietario
     
     

    Delete the folder at

    C:\Users\<Username>AppData\Local\Microsoft\Team Foundation\4.0\Cache


    Smitha Saligrama MSFT

  • martedì 7 agosto 2012 00:42
     
     

    I deleted the user cache, but the same error still apper in the event viewer, I also deleted the temp data in windows\temp\TFS  folder.

    BR,

    Mohammad Al-Aqad

  • martedì 7 agosto 2012 20:40
    Proprietario
     
     

    Was there a Team Project that was mapped then later deleted without un-mapping it?

    Can you run tfsadmin projectserver /GetMappedProjects and check this?


    Smitha Saligrama MSFT

  • sabato 11 agosto 2012 12:55
     
     

      tfsadmin projectserver /GetMappedProjects returns one project only !