none
Error updating to TFS 2017

    Question

  • Hello,

    no matter how I tried - I always ended up in an error in the update wizard.

    I tried
    Update 2013 --> 2017 --> error
    Update 2013 --> 2015 --> OK
    Update 2015 --> 2017 -- same error as from 2013

    Especially the line
    Service type: (null). Identifier: (null).

    seems suspicious to me...

    Could not find any informations on this error on the web...

    Any ideas would be appreciated

    Thanks,

    Marco

    Here is the log excerpt:

    [Info   @16:34:51.863] [2017-02-12 15:34:51Z] Executing servicing step Install Inherited Service Definitions. (ServicingOperation: StartInstallHostUpdates; Step group: InstallInheritedDefinitionsOnPrem)
    [Info   @16:34:51.863] Executing step: 'Install Inherited Service Definitions' Location.InstallInheritedDefinitions (161 of 524)
    [Error  @16:35:05.795] TF246054: A service definition has already been registered with the specified service type and identifier. Service type: (null). Identifier: (null).
    [Info   @16:35:05.797] Microsoft.TeamFoundation.Framework.Server.InvalidServiceDefinitionException: TF246054: A service definition has already been registered with the specified service type and identifier. Service type: (null). Identifier: (null).
       at Microsoft.TeamFoundation.Framework.Server.TeamFoundationSqlResourceComponent.TranslateException(Int32 errorNumber, SqlException sqlException, SqlError sqlError)
       at Microsoft.TeamFoundation.Framework.Server.TeamFoundationSqlResourceComponent.TranslateException(SqlException sqlException)
       at Microsoft.TeamFoundation.Framework.Server.TeamFoundationSqlResourceComponent.MapException(SqlException ex, QueryExecutionState queryState)
       at Microsoft.TeamFoundation.Framework.Server.TeamFoundationSqlResourceComponent.HandleException(Exception exception)
       at Microsoft.TeamFoundation.Framework.Server.TeamFoundationSqlResourceComponent.ExecuteCommand(ExecuteType executeType, CommandBehavior behavior, String performanceGroupName)
       at Microsoft.VisualStudio.Services.CircuitBreaker.Command.<>c__DisplayClass7_0.<Execute>b__0()
       at Microsoft.VisualStudio.Services.CircuitBreaker.CommandAsync.<Execute>d__28.MoveNext()
    --- End of stack trace from previous location where exception was thrown ---
       at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
       at Microsoft.VisualStudio.Services.CircuitBreaker.Command.Execute(Action run, Action fallback)
       at Microsoft.TeamFoundation.Framework.Server.TeamFoundationSqlResourceComponent.ExecuteCommandWithBaseCircuitBreaker(ExecuteType executeType, CommandBehavior behavior, String performanceGroupName)
       at Microsoft.TeamFoundation.Framework.Server.TeamFoundationSqlResourceComponent.ExecuteNonQuery(Boolean bindReturnValue)
       at Microsoft.TeamFoundation.Framework.Server.TeamFoundationSqlResourceComponent.ExecuteNonQuery()
       at Microsoft.TeamFoundation.Framework.Server.LocationComponent5.SaveServiceDefinitions(IEnumerable`1 serviceDefinitions)
       at Microsoft.VisualStudio.Services.Location.Server.LocalLocationDataProvider.<>c__DisplayClass10_0.<SaveServiceDefinitions>b__0()
       at Microsoft.VisualStudio.Services.Location.Server.LocationDataCache`1.Update(IVssRequestContext requestContext, T cacheKeyIdentifier, Action updateAction)
       at Microsoft.VisualStudio.Services.Location.Server.LocalLocationDataProvider.SaveServiceDefinitions(IVssRequestContext requestContext, IEnumerable`1 serviceDefinitions)
       at Microsoft.TeamFoundation.Framework.Server.InheritedLocationData.Install(IVssRequestContext requestContext, ITFLogger logger)
       at Microsoft.TeamFoundation.Framework.Server.TeamFoundationStepPerformerBase.PerformHostStep(String servicingOperation, ServicingOperationTarget target, IServicingStep servicingStep, String stepData, ServicingContext servicingContext)
       at Microsoft.TeamFoundation.Framework.Server.TeamFoundationStepPerformerBase.PerformStep(String servicingOperation, ServicingOperationTarget target, IServicingStep servicingStep, String stepType, String stepData, ServicingContext servicingContext)
       at Microsoft.TeamFoundation.Framework.Server.TeamFoundationStepPerformerBase.PerformStep(String servicingOperation, ServicingOperationTarget target, String stepType, String stepData, ServicingContext servicingContext)
       at Microsoft.TeamFoundation.Framework.Server.ServicingStepDriver.PerformServicingStep(ServicingStep step, ServicingContext servicingContext, ServicingStepGroup group, ServicingOperation servicingOperation, Int32 stepNumber, Int32 totalSteps)
    [Info   @16:35:05.798] [2017-02-12 15:35:05Z] Servicing step 'Install Inherited Service Definitions' failed. (ServicingOperation: 'StartInstallHostUpdates'; Step group: 'InstallInheritedDefinitionsOnPrem')
    [Info   @16:35:05.798] [StepDuration] 13,9341639
    [Info   @16:35:05.801] [GroupDuration] 13,9380593
    [Info   @16:35:05.801] [OperationDuration] 13,938193
    [Info   @16:35:05.801] Clearing dictionary, removing all items.
    [Error  @16:35:05.812]
    Exception Message: TF400711: Error occurred while executing servicing step 'Install Inherited Service Definitions' for component InstallInheritedDefinitionsOnPrem during StartInstallHostUpdates: TF246054: A service definition has already been registered with the specified service type and identifier. Service type: (null). Identifier: (null). (type TeamFoundationServicingException)
    Exception Stack Trace:    at Microsoft.TeamFoundation.Framework.Server.ServicingContext.FinishStep(Exception exception)
       at Microsoft.TeamFoundation.Framework.Server.ServicingStepDriver.PerformServicingStep(ServicingStep step, ServicingContext servicingContext, ServicingStepGroup group, ServicingOperation servicingOperation, Int32 stepNumber, Int32 totalSteps)
       at Microsoft.TeamFoundation.Framework.Server.ServicingStepDriver.PerformOperations(Int32 stepsToPerform)
       at Microsoft.TeamFoundation.Framework.Server.ServicingStepDriver.Execute(Int32 numberOfStepsToPerform)
       at Microsoft.TeamFoundation.Admin.UpgradeConfigDbDriver.Execute()
       at Microsoft.TeamFoundation.Admin.ConfigureUpgradeConfigDB.Run(ActivityContext context)
    Inner Exception Details:
    Exception Message: TF246054: A service definition has already been registered with the specified service type and identifier. Service type: (null). Identifier: (null). (type InvalidServiceDefinitionException)
    Exception Stack Trace:    at Microsoft.TeamFoundation.Framework.Server.TeamFoundationSqlResourceComponent.TranslateException(Int32 errorNumber, SqlException sqlException, SqlError sqlError)
       at Microsoft.TeamFoundation.Framework.Server.TeamFoundationSqlResourceComponent.TranslateException(SqlException sqlException)
       at Microsoft.TeamFoundation.Framework.Server.TeamFoundationSqlResourceComponent.MapException(SqlException ex, QueryExecutionState queryState)
       at Microsoft.TeamFoundation.Framework.Server.TeamFoundationSqlResourceComponent.HandleException(Exception exception)
       at Microsoft.TeamFoundation.Framework.Server.TeamFoundationSqlResourceComponent.ExecuteCommand(ExecuteType executeType, CommandBehavior behavior, String performanceGroupName)
       at Microsoft.VisualStudio.Services.CircuitBreaker.Command.<>c__DisplayClass7_0.<Execute>b__0()
       at Microsoft.VisualStudio.Services.CircuitBreaker.CommandAsync.<Execute>d__28.MoveNext()
    --- End of stack trace from previous location where exception was thrown ---
       at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
       at Microsoft.VisualStudio.Services.CircuitBreaker.Command.Execute(Action run, Action fallback)
       at Microsoft.TeamFoundation.Framework.Server.TeamFoundationSqlResourceComponent.ExecuteCommandWithBaseCircuitBreaker(ExecuteType executeType, CommandBehavior behavior, String performanceGroupName)
       at Microsoft.TeamFoundation.Framework.Server.TeamFoundationSqlResourceComponent.ExecuteNonQuery(Boolean bindReturnValue)
       at Microsoft.TeamFoundation.Framework.Server.TeamFoundationSqlResourceComponent.ExecuteNonQuery()
       at Microsoft.TeamFoundation.Framework.Server.LocationComponent5.SaveServiceDefinitions(IEnumerable`1 serviceDefinitions)
       at Microsoft.VisualStudio.Services.Location.Server.LocalLocationDataProvider.<>c__DisplayClass10_0.<SaveServiceDefinitions>b__0()
       at Microsoft.VisualStudio.Services.Location.Server.LocationDataCache`1.Update(IVssRequestContext requestContext, T cacheKeyIdentifier, Action updateAction)
       at Microsoft.VisualStudio.Services.Location.Server.LocalLocationDataProvider.SaveServiceDefinitions(IVssRequestContext requestContext, IEnumerable`1 serviceDefinitions)
       at Microsoft.TeamFoundation.Framework.Server.InheritedLocationData.Install(IVssRequestContext requestContext, ITFLogger logger)
       at Microsoft.TeamFoundation.Framework.Server.TeamFoundationStepPerformerBase.PerformHostStep(String servicingOperation, ServicingOperationTarget target, IServicingStep servicingStep, String stepData, ServicingContext servicingContext)
       at Microsoft.TeamFoundation.Framework.Server.TeamFoundationStepPerformerBase.PerformStep(String servicingOperation, ServicingOperationTarget target, IServicingStep servicingStep, String stepType, String stepData, ServicingContext servicingContext)
       at Microsoft.TeamFoundation.Framework.Server.TeamFoundationStepPerformerBase.PerformStep(String servicingOperation, ServicingOperationTarget target, String stepType, String stepData, ServicingContext servicingContext)
       at Microsoft.TeamFoundation.Framework.Server.ServicingStepDriver.PerformServicingStep(ServicingStep step, ServicingContext servicingContext, ServicingStepGroup group, ServicingOperation servicingOperation, Int32 stepNumber, Int32 totalSteps)

    Sunday, February 12, 2017 4:01 PM

All replies

  • Hi Marco,

    Thank you for posting here.

    Are you installed the latest service packs for your TFS 2013 before upgrading?  You can try it if not.

    Please reference these article for upgrading from TFS 2013 to TFS 2017 :

    https://blogs.msdn.microsoft.com/tfssetup/2016/11/30/upgrade-to-team-foundation-server-tfs-2017/

    https://blogs.msdn.microsoft.com/rob/2016/12/22/upgrading-from-tfs-2013-to-tfs-2017/

    Best regards


    MSDN Community Support
    Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.

    Monday, February 13, 2017 10:06 AM
  • Hello,

    yes, The latest 2013 Release was installed. I was able to upgrade 2013->2015. But then, trying to go to2017 from there threw The same error again. So at the Moment we Are stuck with 2015.

    Any ideas about The reason for The error?

    Cheers,

    Marco

    Tuesday, February 21, 2017 9:32 AM
  • hi Marco

    could you provide more information how to try to upgrade from TFS 2013 to TFS 2015 / 2017?

    especially information about:

    • language version installed: OS & TFS
    • SQL Server version, is it a SQL cluster
    • configuration Build, Reporting, SharePoint integration
    • are you using single server setup 
    • are you migrating a single collection or multiple collection
    • have the collection(s) been created in TFS 2013 or have they been created in an earlier TFS version and upgraded
    • is TFS 2013 and TFS 2015 / 2017 within the same domain and are you using the same service accounts


    Please use "Mark as Answer" if my post solved your problem and use "Vote As Helpful" if a post was useful.

    Tuesday, February 21, 2017 12:29 PM
  • Hi, Andy-Li,

    OS is Windows Server 2012 R2, Memory 8 GB, Virtual machine (ESXi, 5.5.0)
    free Disksizes
    System C:\ 40 GB,
    Databases D:\ 30 GB
    SQL Server was SQL Server 2012 R1 with TFS 2013, single Server, no Cluster
    No Build configuration, no Reporting, no SharePoint Integration
    Single Server Setup
    There are 7 collections on the TFS
    All collections have been created in TFS 2010 with SQL Server Express 2008 (some of them, also the "Problem Collection", migrated from SourceSafe many years ago)

    Migrated successfully to TFS 2013 / SQL Server 2012 R1 Express tree years ago

    January/February 2017:
    a) Migrated from TFS 2013 to 2015.Update3 --> successful
    b) Upgraded SQL Server to 2016 Enterprise --> successful
    c) Trying to migrate to TFS 2017 (on the same machine, same domain, same service accounts)
    --> failed

    Also trying to migrate directly from 2013 to 2017 failed with the same error which only occurred on migration of one of the collections - which is our main, biggest and most important collection, database size approx 9 GB. All other collections migrate successfully.

    Currently working on TFS 2015.Update3, SQL Server 2016 13.0.4001

    Thanks,

    Marco

    Sunday, March 05, 2017 8:00 PM
  • Hi Marco,

    Thank you for posting here.

    According to your description, all other collections migrate successfully except the biggest and most important one.

    Please try to follow below steps to check whether it works:

    1. Detach the collection, then backup your TFS especially the biggest and most important collection (suppose called M Collection here)
    2. Delete the M Collection database from Sql Server
    3. Upgrade your TFS to 2017
    4. Restore the M collection database
    5. Attach the M Collection then configure collection and projects (Reference this article)

    Best regards


    MSDN Community Support
    Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.

    Monday, March 06, 2017 5:35 AM
  • Hi I have the same error. 

    Subjective

    Unable to complete upgrade from TFS2010 to 2017 using these steps:

    1. Backup/Restore points have been created for the fresh TFS APP and SQL Servers
    2. Backup of SQL Databases on legacy TFS server
    3. Install JRE 1.7 u51 – dependency for the PolyBase in SQL2016 to work
    4. Installed SQL Default instance – everything SQL, SSRS, SSAS using mixmode authentication sa
    5. Install SQL Management Tools (ran into this issue http://stackoverflow.com/questions/37579805/setup-service-did-not-respond-to-the-start-or-control-request-in-a-timely-fashio)
    6. Restore Databases on SQL Server
    7. Install TFS2017 on App Server
    8. Install VS2017 locally (make sure you un-tick Windows 10 SDK as it cannot be installed on Windows 7)
    9. Open Firewall Port 1433 on the SQL Server
    10. Download and install TFS2015 (because you can’t upgrade databases from 2010 to 2017) on SQL Server
    11. Upgrade TFS2010 databases to TFS2015
    12. Upgrade TFS2015 databases to TFS2017
    13. Configure TFS2017 (SQL dB, Analytics dB, Build server, Report server, etc) on App Server

    Configuring the SSRS I ran into this issue: TF255050 (firewall open for WMI service solved it)

    http://chamindac.blogspot.com.au/2015/05/resolve-tf255050-connection-cannot-be.html?_sm_au_=irVqBHPN433lJRF5 

    Configuring the SSAS I ran into this issue: TF255048 (opening port 2382 solved issue)

    https://social.msdn.microsoft.com/Forums/en-US/043bba9b-5946-4578-8fb8-6bad11cc44e5/installing-tfs-2010-and-recieved-tf255048-erro?forum=tfssetup

      14. Verify its OK to upgrade

      15. Upgrade and error occurs.

    Objective

    Upgrading from a single instance TFS2010 app/db server to TFS2017 Update 1 using a dedicated Windows 2012 R2 App Server and dedicated SQL Server 2016 (Enterprise Edition) using Windows 2012 R2.

    Last step in the Wizard generates this error message:

      TF255356: The following error occurred when configuring the Team Foundation databases: TF400711: Error occurred while executing servicing step 'Install Inherited Service Definitions' for component InstallInheritedDefinitionsOnPrem during StartInstallHostUpdates: TF246054: A service definition has already been registered with the specified service type and identifier. Service type: (null). Identifier: (null).. For more information, see the configuration log.


    Stack Trace:

    [Info   @16:00:51.116] Executing step: 'Install Inherited Service Definitions' Location.InstallInheritedDefinitions (239 of 842)
    [Error  @16:00:55.011] TF246054: A service definition has already been registered with the specified service type and identifier. Service type: (null). Identifier: (null).
    [Info   @16:00:55.012] Microsoft.TeamFoundation.Framework.Server.InvalidServiceDefinitionException: TF246054: A service definition has already been registered with the specified service type and identifier. Service type: (null). Identifier: (null).
       at Microsoft.TeamFoundation.Framework.Server.TeamFoundationSqlResourceComponent.TranslateException(Int32 errorNumber, SqlException sqlException, SqlError sqlError)
       at Microsoft.TeamFoundation.Framework.Server.TeamFoundationSqlResourceComponent.TranslateException(SqlException sqlException)
       at Microsoft.TeamFoundation.Framework.Server.TeamFoundationSqlResourceComponent.MapException(SqlException ex, QueryExecutionState queryState)
       at Microsoft.TeamFoundation.Framework.Server.TeamFoundationSqlResourceComponent.HandleException(Exception exception)
       at Microsoft.TeamFoundation.Framework.Server.TeamFoundationSqlResourceComponent.ExecuteCommand(ExecuteType executeType, CommandBehavior behavior, String performanceGroupName)
       at Microsoft.VisualStudio.Services.CircuitBreaker.Command.<>c__DisplayClass7_0.<Execute>b__0()
       at Microsoft.VisualStudio.Services.CircuitBreaker.CommandAsync.<Execute>d__28.MoveNext()
    --- End of stack trace from previous location where exception was thrown ---
       at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
       at Microsoft.VisualStudio.Services.CircuitBreaker.Command.Execute(Action run, Action fallback)
       at Microsoft.TeamFoundation.Framework.Server.TeamFoundationSqlResourceComponent.ExecuteCommandWithBaseCircuitBreaker(ExecuteType executeType, CommandBehavior behavior, String performanceGroupName)
       at Microsoft.TeamFoundation.Framework.Server.TeamFoundationSqlResourceComponent.ExecuteNonQuery(Boolean bindReturnValue)
       at Microsoft.TeamFoundation.Framework.Server.TeamFoundationSqlResourceComponent.ExecuteNonQuery()
       at Microsoft.TeamFoundation.Framework.Server.LocationComponent5.SaveServiceDefinitions(IEnumerable`1 serviceDefinitions)
       at Microsoft.VisualStudio.Services.Location.Server.LocalLocationDataProvider.<>c__DisplayClass10_0.<SaveServiceDefinitions>b__0()
       at Microsoft.VisualStudio.Services.Location.Server.LocationDataCache`1.Update(IVssRequestContext requestContext, T cacheKeyIdentifier, Action updateAction)
       at Microsoft.VisualStudio.Services.Location.Server.LocalLocationDataProvider.SaveServiceDefinitions(IVssRequestContext requestContext, IEnumerable`1 serviceDefinitions)
       at Microsoft.TeamFoundation.Framework.Server.InheritedLocationData.Install(IVssRequestContext requestContext, ITFLogger logger)
       at Microsoft.TeamFoundation.Framework.Server.TeamFoundationStepPerformerBase.PerformHostStep(String servicingOperation, ServicingOperationTarget target, IServicingStep servicingStep, String stepData, ServicingContext servicingContext)
       at Microsoft.TeamFoundation.Framework.Server.TeamFoundationStepPerformerBase.PerformStep(String servicingOperation, ServicingOperationTarget target, IServicingStep servicingStep, String stepType, String stepData, ServicingContext servicingContext)
       at Microsoft.TeamFoundation.Framework.Server.TeamFoundationStepPerformerBase.PerformStep(String servicingOperation, ServicingOperationTarget target, String stepType, String stepData, ServicingContext servicingContext)
       at Microsoft.TeamFoundation.Framework.Server.ServicingStepDriver.PerformServicingStep(ServicingStep step, ServicingContext servicingContext, ServicingStepGroup group, ServicingOperation servicingOperation, Int32 stepNumber, Int32 totalSteps)
    [Info   @16:00:55.012] [2017-03-22 05:00:55Z] Servicing step 'Install Inherited Service Definitions' failed. (ServicingOperation: 'StartInstallHostUpdates'; Step group: 'InstallInheritedDefinitionsOnPrem')
    [Info   @16:00:55.012] [StepDuration] 3.8950105
    [Info   @16:00:55.012] [GroupDuration] 3.8960112
    [Info   @16:00:55.013] [OperationDuration] 3.896066
    [Info   @16:00:55.013] Clearing dictionary, removing all items.
    [Error  @16:00:55.013] 
    Exception Message: TF400711: Error occurred while executing servicing step 'Install Inherited Service Definitions' for component InstallInheritedDefinitionsOnPrem during StartInstallHostUpdates: TF246054: A service definition has already been registered with the specified service type and identifier. Service type: (null). Identifier: (null). (type TeamFoundationServicingException)
    Exception Stack Trace:    at Microsoft.TeamFoundation.Framework.Server.ServicingContext.FinishStep(Exception exception)
       at Microsoft.TeamFoundation.Framework.Server.ServicingStepDriver.PerformServicingStep(ServicingStep step, ServicingContext servicingContext, ServicingStepGroup group, ServicingOperation servicingOperation, Int32 stepNumber, Int32 totalSteps)
       at Microsoft.TeamFoundation.Framework.Server.ServicingStepDriver.PerformOperations(Int32 stepsToPerform)
       at Microsoft.TeamFoundation.Framework.Server.ServicingStepDriver.Execute(Int32 numberOfStepsToPerform)
       at Microsoft.TeamFoundation.Admin.UpgradeConfigDbDriver.Execute()
       at Microsoft.TeamFoundation.Admin.ConfigureUpgradeConfigDB.Run(ActivityContext context)

    Inner Exception Details:

    Exception Message: TF246054: A service definition has already been registered with the specified service type and identifier. Service type: (null). Identifier: (null). (type InvalidServiceDefinitionException)
    Exception Stack Trace:    at Microsoft.TeamFoundation.Framework.Server.TeamFoundationSqlResourceComponent.TranslateException(Int32 errorNumber, SqlException sqlException, SqlError sqlError)
       at Microsoft.TeamFoundation.Framework.Server.TeamFoundationSqlResourceComponent.TranslateException(SqlException sqlException)
       at Microsoft.TeamFoundation.Framework.Server.TeamFoundationSqlResourceComponent.MapException(SqlException ex, QueryExecutionState queryState)
       at Microsoft.TeamFoundation.Framework.Server.TeamFoundationSqlResourceComponent.HandleException(Exception exception)
       at Microsoft.TeamFoundation.Framework.Server.TeamFoundationSqlResourceComponent.ExecuteCommand(ExecuteType executeType, CommandBehavior behavior, String performanceGroupName)
       at Microsoft.VisualStudio.Services.CircuitBreaker.Command.<>c__DisplayClass7_0.<Execute>b__0()
       at Microsoft.VisualStudio.Services.CircuitBreaker.CommandAsync.<Execute>d__28.MoveNext()
    --- End of stack trace from previous location where exception was thrown ---
       at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
       at Microsoft.VisualStudio.Services.CircuitBreaker.Command.Execute(Action run, Action fallback)
       at Microsoft.TeamFoundation.Framework.Server.TeamFoundationSqlResourceComponent.ExecuteCommandWithBaseCircuitBreaker(ExecuteType executeType, CommandBehavior behavior, String performanceGroupName)
       at Microsoft.TeamFoundation.Framework.Server.TeamFoundationSqlResourceComponent.ExecuteNonQuery(Boolean bindReturnValue)
       at Microsoft.TeamFoundation.Framework.Server.TeamFoundationSqlResourceComponent.ExecuteNonQuery()
       at Microsoft.TeamFoundation.Framework.Server.LocationComponent5.SaveServiceDefinitions(IEnumerable`1 serviceDefinitions)
       at Microsoft.VisualStudio.Services.Location.Server.LocalLocationDataProvider.<>c__DisplayClass10_0.<SaveServiceDefinitions>b__0()
       at Microsoft.VisualStudio.Services.Location.Server.LocationDataCache`1.Update(IVssRequestContext requestContext, T cacheKeyIdentifier, Action updateAction)
       at Microsoft.VisualStudio.Services.Location.Server.LocalLocationDataProvider.SaveServiceDefinitions(IVssRequestContext requestContext, IEnumerable`1 serviceDefinitions)
       at Microsoft.TeamFoundation.Framework.Server.InheritedLocationData.Install(IVssRequestContext requestContext, ITFLogger logger)
       at Microsoft.TeamFoundation.Framework.Server.TeamFoundationStepPerformerBase.PerformHostStep(String servicingOperation, ServicingOperationTarget target, IServicingStep servicingStep, String stepData, ServicingContext servicingContext)
       at Microsoft.TeamFoundation.Framework.Server.TeamFoundationStepPerformerBase.PerformStep(String servicingOperation, ServicingOperationTarget target, IServicingStep servicingStep, String stepType, String stepData, ServicingContext servicingContext)
       at Microsoft.TeamFoundation.Framework.Server.TeamFoundationStepPerformerBase.PerformStep(String servicingOperation, ServicingOperationTarget target, String stepType, String stepData, ServicingContext servicingContext)
       at Microsoft.TeamFoundation.Framework.Server.ServicingStepDriver.PerformServicingStep(ServicingStep step, ServicingContext servicingContext, ServicingStepGroup group, ServicingOperation servicingOperation, Int32 stepNumber, Int32 totalSteps)

    [Info   @16:00:55.022] Node returned: Error
    [Error  @16:00:55.022] TF255356: The following error occurred when configuring the Team Foundation databases: TF400711: Error occurred while executing servicing step 'Install Inherited Service Definitions' for component InstallInheritedDefinitionsOnPrem during StartInstallHostUpdates: TF246054: A service definition has already been registered with the specified service type and identifier. Service type: (null). Identifier: (null).. For more information, see the configuration log.


    Action

    Googled for fixes and saw  troubleshooting steps involving SQL Express. 

    Plan

    Contact Microsoft support.


    Jeremy - MCP | MCAD.Net | MCSD.Net


    Wednesday, March 22, 2017 5:32 AM
  • Hi, Andy-Li,

    another try - I detached the big solution and this time I tried TFS 2017 Update 1 - this time I get different Errors - I sent the logfiles to tfcare@microsoft.com

    Frustrating...

    Cheers,

    Marco

    Saturday, April 08, 2017 12:53 PM
  • Hi Marco,

    Thank you for posting here.

    Please create a new thread for your new error, then we can track it more effectively in the new thread.

    This can be also beneficial to other community members reading that thread, thanks for your understanding.

    Best Regards.


    MSDN Community Support
    Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.

    Monday, April 10, 2017 9:50 AM