How to fix Application pools cannot be started unless the Windows Activation Service (WAS) is running?
When upgrading to 2020.10.x the installer stops when migrating the SQL Database. In the migration logs we have the following error stack:
Microsoft.Web.Administration.ServerManagerException: Application pools cannot be started unless the Windows Activation Service (WAS) is running.
at Microsoft.Web.Administration.ApplicationPool.Start()
at UiPath.Orchestrator.Setup.Configuration.IisConfiguration.StartApplicationPool(String applicationPoolName)
at UiPath.OrchestratorCAs.CustomActions.Deferred.UpgradeIisConfigurationAction.Execute()
at UiPath.OrchestratorCAs.CustomActions.Base.BaseCustomAction.InternalExecute()
This is happening when IIS is stopped and not only the site. When stopping IIS, also the WAS service will be stopped and the connection to the Database will not happen.