I did an in place upgrade from SQL 2104 to SQL 2016. The reporting services upgrade failed with the following error:
Feature: Reporting Services - Native
Status: Failed: see logs for details
Reason for failure: An error occurred during the setup process of the feature.
Next Step: The upgrade process for SQL Server failed. Use the following information to resolve the error, and then repair your installation by using this command line: setup /action=repair
/instancename=MSSQLSERVER
Component name: SQL Server Reporting Services
Component error code: 0x80131502
Error description: Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index
Error help link: http://go.microsoft.com/fwlink?LinkId=20476&ProdName=Microsoft+SQL+Server&EvtSrc=setup.rll&EvtID=50000&ProdVer=13.0.1601.5&EvtType=0x35C10BED%400xF538E98B&EvtType=0x35C10BED%400xF538E98B
The upgrade did not rollback. Reporting service not starting post upgrade with error:
configmanager!DefaultDomain!11c0!10/01/2019-09:39:06:: e ERROR: Error loading configuration file: Object reference not set to an instance of an object.
library!DefaultDomain!11c0!10/01/2019-09:39:06:: e ERROR: Throwing Microsoft.ReportingServices.Diagnostics.Utilities.ServerConfigurationErrorException: , Microsoft.ReportingServices.Diagnostics.Utilities.ServerConfigurationErrorException: The report server
has encountered a configuration error. ---> System.NullReferenceException: Object reference not set to an instance of an object.
at Microsoft.ReportingServices.Diagnostics.SqlInstallation.GetSkuFromSqlBoot(String instanceId, Int32& daysLeft)
at Microsoft.ReportingServices.Diagnostics.Sku.<>c__DisplayClass6.<GetSkuFromSqlBoot>b__5()
at Microsoft.ReportingServices.Diagnostics.RevertImpersonationContext.<>c__DisplayClass1.<Run>b__0(Object state)
at System.Security.SecurityContext.Run(SecurityContext securityContext, ContextCallback callback, Object state)
at Microsoft.ReportingServices.Diagnostics.RevertImpersonationContext.Run(ContextBody callback)
at Microsoft.ReportingServices.Diagnostics.Sku.GetSkuFromSqlBoot(String instanceId)
at Microsoft.ReportingServices.Diagnostics.Sku.GetInstalledSku(String instanceId)
at Microsoft.ReportingServices.Diagnostics.RSConfiguration.AdjustProperties(ConfigurationPropertyBag properties)
at Microsoft.ReportingServices.Diagnostics.RSConfiguration.Validate(ConfigurationPropertyBag properties)
at Microsoft.ReportingServices.Diagnostics.RSConfigurationFileManager.LoadDocument()
at Microsoft.ReportingServices.Diagnostics.RSConfigurationFileManager.LoadConfiguration()
--- End of inner exception stack trace ---;
appdomainmanager!DefaultDomain!11c0!10/01/2019-09:39:06:: e ERROR: Appdomain:1 DefaultDomain failed to initialize. Error: Microsoft.ReportingServices.Diagnostics.Utilities.ServerConfigurationErrorException: The report server has encountered a configuration
error. ---> System.NullReferenceException: Object reference not set to an instance of an object..
appdomainmanager!DefaultDomain!1290!10/01/2019-09:39:06:: e ERROR: Windows service failed to start. Exception: System.Exception: Default appdomain failed to initialize.
at Microsoft.ReportingServices.Library.ServiceAppDomainController.Start()
at Microsoft.ReportingServices.Library.ReportService.OnStart(String[] args)
Is there any fix or I need to revert to VM snapshot?