Locked sync errors

  • Tuesday, June 21, 2011 8:27 PM
     
     

    I'm getting the following errors in the /getsyncmessages. all permissions assigned according to http://msdn.microsoft.com/en-us/library/gg412653.aspx

    please advise where to start digging.

    21.06.2011 20:45:34           
    Job extension had an unhandled error:
    System.Net.WebException: The request failed with HTTP status 403: Forbidden.;   

    at System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall);   

    at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters);   

    at Microsoft.TeamFoundation.Sync.ProjectServerAPI.LookupTableAPI.LookupTable.ReadLookupTables(String xmlFilter, Boolean autoCheckOut, Int32 language);   

    at Microsoft.TeamFoundation.Sync.ProjectServerAPI.ProjectServerHelper.ReadLookupTables(String pwaUrl, LookupTablesDataTable lookupTable, LookupTableTreesDataTable lookupTableTree, List`1 lookupTableColumns, List`1 lookupTableTreeColumns, IOperator[] fieldOperators, Boolean autoCheckout);   

    at Microsoft.TeamFoundation.Sync.ProjectServerAPI.ProjectServerHelper.ReadLookupTables(String pwaUrl, String& nameColumn, String& idColumn, String& lookupTableTreeValueColumn, String& lookupTableTreeDescriptionColumn);   

    at Microsoft.TeamFoundation.Sync.ProjectServerAPI.ProjectServerHelper.GetProjectServerMappings(String pwaUrl, String& tfsInstanceUrl, String& tfsInstanceId);   

    at Microsoft.TeamFoundation.Sync.Services.SyncConfigurationService.InitializeProjectServerFields(IProjectServerFields projectServerFields, String pwaUrl);   

    at Microsoft.TeamFoundation.Sync.Services.SyncConfigurationService.Initialize(SyncConfigurationStore store, Guid tpcId);   

    at Microsoft.TeamFoundation.Sync.Session.ProjectSyncSessionBuilder.BuildContext(IDictionary`2 parameters);   

    at Microsoft.TeamFoundation.Sync.ServiceExecution.SyncCatalyst.Execute(ISyncModule syncModule, ISyncExecutionControl syncExecutionControl, ISyncSessionBuilder syncSessionBuilder, IDictionary`2 parameters);   

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

    at Microsoft.TeamFoundation.Framework.Server.JobRunner.ExecuteJob()

All Replies

  • Wednesday, June 22, 2011 5:27 PM
    Owner
     
     

    Did the TFS-PS configuration using tfsadmin.exe work fine?

    Did any thing change after the configuration? Like TFS Service account changed?

    Is the PWA working? 

    I would suggest first looking at the IIS log on the Project Server application tier box.

    More specific 403.XX error code may reveal something.


    Smitha Saligrama MSFT
  • Wednesday, June 22, 2011 6:15 PM
     
     

    1. yes, there were no errors

    2. no

    3. yes, PWA is working, but project plans that I setup for tfs integration open as regular project plans w/o any tfs specific fields, views, etc

    4. it is just 403 w/o specific subcodes.

    2011-06-21 20:45:34 POST /projects/_vti_bin/PSI/LookupTable.asmx - 80 -                       403 0 0
    2011-06-21 20:46:04 POST /projects/_vti_bin/PSI/LookupTable.asmx - 80 -                       401 2 5
    2011-06-21 20:46:04 POST /projects/_vti_bin/PSI/LookupTable.asmx - 80 -                       401 1 2148074254 - (8009030E - No credentials are available in the security package?)
    2011-06-21 20:46:04 POST /_vti_bin/PSI/LookupTable.asmx              - 80 domain\server$ 200 0 0

    but I found smth interesting: system is trying 2 times to get something from /projects/_vti_bin/xxx with 401 error code, and then immediately tries /_vti_bin/xxx with success (/projects is my PWA)

    POST /projects/_vti_bin/PSI/CustomFields.asmx - 401 2 5
    POST /projects/_vti_bin/PSI/CustomFields.asmx - 401 1 2148074254
    POST /_vti_bin/PSI/CustomFields.asmx - 200 0 0

  • Friday, April 06, 2012 12:29 PM
     
     
    I have the exacly same problem with my project-tfs syncronization. Do you have a solution for this problem?
  • Saturday, April 07, 2012 8:07 AM
     
     

    as far as I remember I once again carefully went thru the above link and checked all permissions.

    docs are a bit messy with a lot of crosslinks all over the place, but I managed to get .chm version of it, printed it, and after careful studying found two or three places with checklists of "todo"s.