Moving TFS server has caused Sync to create Duplicates in TFS

4 posts, 0 answers
  1. Jonathan
    Jonathan avatar
    4 posts
    Member since:
    Oct 2008

    Posted 04 Jul 2013 Link to this post

    Hi 

    We have had a major site move of late, and have had to move our TFS server onto another server and domain. I re-established the connection to the new TFS server in TeamPulse and started the TFS sync, but it seems the sync is currently creating duplicate entries in TFS for every work item.

    Am I best off creating a new TeamPulse project from TFS (not a preference) or is there something I have missed or could change regarding the setting up of the connection.

    We will be restoring TFS & TeamPulse db's from a very recent backup but really need to get TeamPulse back online ASAP.

    Thanks in anticipation
    Jon
  2. Jordan
    Admin
    Jordan avatar
    123 posts

    Posted 04 Jul 2013 Link to this post

    Hello,

    You can try to replace the existing server configuration. You can do it in the following way.

    1. Add a your new TFS server but do not change anything to your projects or delete the old server connection
    2. In the database replace the Settings field of the old server with the new one and delete the new one
    update SynchronizationServer

    SET Settings = (SELECT TOP 1 Settings FROM SynchronizationServer WHERE SynchronizationServerID = [last one])
    WHERE SynchronizationServerID = [oldone]

    If this doesn't help you can create new project and do full project sync.
     
    Regards,
    Jordan
    Telerik
  3. Jonathan
    Jonathan avatar
    4 posts
    Member since:
    Oct 2008

    Posted 04 Jul 2013 Link to this post

    Hi Jordan

    Many thanks for your prompt response, I tried your suggestion but still get the following when viewing the SyncInfo page

    Settings are not valid.  Please review the following error:
    TF400324: Team Foundation services are not available from server
    http://[old_server]:8080/tfs/AtlasCollection.
    Technical information (for administrator):
      Unable to connect to the remote server

    It seems it is still looking at the old server settings somehow. I've restarted IIS and the TeamPulse Integration Service, incase anything was cached.

    Any further help would be greatly appreciated.

    Best Regards
    Jon
  4. Jonathan
    Jonathan avatar
    4 posts
    Member since:
    Oct 2008

    Posted 04 Jul 2013 Link to this post

    I've now run the sync regardless of the message, and it appears to work now.

    Many thanks for your help.
    Jon
Back to Top