cancel
Showing results for 
Search instead for 
Did you mean: 
intapiuser
Community Team Member
Community Team Member
Problem:
During install or upgrade under certain circumstances your could run into the following error:
"We're sorry, There was an error with your Sisense installation Error while executing DISM. Some Windows Features could not be activated."
Screenshot_537.png
Root cause:
Required components and features could not be activated on the server. '
To verify that this is the root cause, open Server Manager -> Manage → Add Roles and Features. Check Server Roles, there should be at least 34 roles installed next to Web Server (IIS). If less, you need to install them.
Screenshot_538.png
Resolution Steps:
1. Download an ISO image of the relevant server. For example:
Windows Server 2012 - https://www.microsoft.com/en-us/evalcenter/evaluate-windows-server-2012-r2
Screenshot_539.png
2. Download and install an application which can open ISO image files. For example:
UltraISO - https://www.ultraiso.com/
During installation choose to create a virtual drive.
3. Open downloaded ISO image file in UltraISO. Make sure that it's mounted to the virtual drive.
4. Open Command Prompt on the server and run the following command:

dism /NoRestart /Online /Enable-Feature /FeatureName:NetFx3 /FeatureName:IIS-ApplicationDevelopment /FeatureName:IIS-ASP /FeatureName:IIS-ASPNET45  /FeatureName:IIS-BasicAuthentication /FeatureName:IIS-CGI /FeatureName:IIS-CommonHttpFeatures /FeatureName:IIS-CustomLogging /FeatureName:IIS-DefaultDocument  /FeatureName:IIS-DirectoryBrowsing /FeatureName:IIS-FTPExtensibility /FeatureName:IIS-FTPServer /FeatureName:IIS-FTPSvc /FeatureName:IIS-HealthAndDiagnostics /FeatureName:IIS-HostableWebCore /FeatureName:IIS-HttpCompressionDynamic /FeatureName:IIS-HttpCompressionStatic /FeatureName:IIS-HttpErrors /FeatureName:IIS-HttpLogging /FeatureName:IIS-HttpRedirect /FeatureName:IIS-HttpTracing /FeatureName:IIS-IIS6ManagementCompatibility /FeatureName:IIS-IPSecurity /FeatureName:IIS-ISAPIExtensions /FeatureName:IIS-ISAPIFilter /FeatureName:IIS-LegacyScripts /FeatureName:IIS-LegacySnapIn /FeatureName:IIS-LoggingLibraries /FeatureName:IIS-ManagementConsole /FeatureName:IIS-ManagementScriptingTools /FeatureName:IIS-ManagementService /FeatureName:IIS-Metabase /FeatureName:IIS-NetFxExtensibility /FeatureName:IIS-Performance /FeatureName:IIS-RequestFiltering /FeatureName:IIS-RequestMonitor /FeatureName:IIS-Security /FeatureName:IIS-ServerSideIncludes /FeatureName:IIS-StaticContent /FeatureName:IIS-URLAuthorization /FeatureName:IIS-WebDAV /FeatureName:IIS-WebServer /FeatureName:IIS-WebServerManagementTools /FeatureName:IIS-WebServerRole  /FeatureName:IIS-WMICompatibility /FeatureName:NetFx4Extended-ASPNET45 /FeatureName:IIS-NetFxExtensibility45 /FeatureName:WAS-ConfigurationAPI /FeatureName:WAS-NetFxEnvironment /FeatureName:WAS-ProcessModel /FeatureName:WAS-WindowsActivationService /all /Source:d:\sources\sxs

** where /Source:d:\sources\sxs - is the path to the virtual drive.

5. Restart the IIS.
4. Open Command Prompt on the server and run the following command:

dism /NoRestart /Online /Enable-Feature /FeatureName:NetFx3 /FeatureName:IIS-ApplicationDevelopment /FeatureName:IIS-ASP /FeatureName:IIS-ASPNET45  /FeatureName:IIS-BasicAuthentication /FeatureName:IIS-CGI /FeatureName:IIS-CommonHttpFeatures /FeatureName:IIS-CustomLogging /FeatureName:IIS-DefaultDocument  /FeatureName:IIS-DirectoryBrowsing /FeatureName:IIS-FTPExtensibility /FeatureName:IIS-FTPServer /FeatureName:IIS-FTPSvc /FeatureName:IIS-HealthAndDiagnostics /FeatureName:IIS-HostableWebCore /FeatureName:IIS-HttpCompressionDynamic /FeatureName:IIS-HttpCompressionStatic /FeatureName:IIS-HttpErrors /FeatureName:IIS-HttpLogging /FeatureName:IIS-HttpRedirect /FeatureName:IIS-HttpTracing /FeatureName:IIS-IIS6ManagementCompatibility /FeatureName:IIS-IPSecurity /FeatureName:IIS-ISAPIExtensions /FeatureName:IIS-ISAPIFilter /FeatureName:IIS-LegacyScripts /FeatureName:IIS-LegacySnapIn /FeatureName:IIS-LoggingLibraries /FeatureName:IIS-ManagementConsole /FeatureName:IIS-ManagementScriptingTools /FeatureName:IIS-ManagementService /FeatureName:IIS-Metabase /FeatureName:IIS-NetFxExtensibility /FeatureName:IIS-Performance /FeatureName:IIS-RequestFiltering /FeatureName:IIS-RequestMonitor /FeatureName:IIS-Security /FeatureName:IIS-ServerSideIncludes /FeatureName:IIS-StaticContent /FeatureName:IIS-URLAuthorization /FeatureName:IIS-WebDAV /FeatureName:IIS-WebServer /FeatureName:IIS-WebServerManagementTools /FeatureName:IIS-WebServerRole  /FeatureName:IIS-WMICompatibility /FeatureName:NetFx4Extended-ASPNET45 /FeatureName:IIS-NetFxExtensibility45 /FeatureName:WAS-ConfigurationAPI /FeatureName:WAS-NetFxEnvironment /FeatureName:WAS-ProcessModel /FeatureName:WAS-WindowsActivationService /all /Source:d:\sources\sxs

** where /Source:d:\sources\sxs - is the path to the virtual drive.

5. Restart the IIS.
Rate this article:
Version history
Last update:
‎03-02-2023 08:54 AM
Updated by:
Contributors