TF53010: Unhandled Exception/ Error: Index was outside the bounds of the array” After adding a new Application Tier.

 

Scenario: Adding a new TFS application tier to the existing TFS environment.

Problem: When configuring the new AT you get an error:

TF53010: Unhandled Exception

Error: Index was outside the bounds of the array

Reason: When configuring a TFS Application Tier, we provide the SQL Server name in many ways viz-a-viz SQL machine name, Fully Qualified Domain Name, SQL Alias etc.

If the first Application tier of the TFS environment is created using a particular format (for Example: SQL Machine name), and while configuring the second application tier, we provide the SQL Server name as a Fully Qualified Domain Name of the SQL server, it fails during the Readiness Checks with the following error:

TF53010: Unhandled Exception

Error: Index was outside the bounds of the array

Fix: The only way to fix this is to use the SQL server name exactly the same for configuring all the TFS application tiers.

Note: The error message is very generic and it’s tough to reach to conclusion about the above mentioned fix. But it has been seen in many customer scenarios, that different SQL server names is the issue.

 

Content created by: Abhilash Owk
Content reviewed by: Chandra Sekhar Viswanadha