Skip to content

Troubleshooting

Error 'Appropriate .Net application pool in the IIS (NOT FOUND)'

The error is displayed while installing Accops HyWorks Management Console, though .Net 4.5 has been installed and ASP.Net is enabled in Windows Server 2008 R2 machine.

During fresh installation, while selecting the component Accops HyWorks Management Console error is displayed.

RESOLUTION

  1. Start > Command Prompt.

  2. Right-click on it and select Run as Administrator.

  3. cd to the .Net 4.0 installation folder: Default path is:

    cd Windows\Microsoft.Net\Framework64\v4.0.30319

  4. Run the following command:

    aspnet_regiis.exe -iru

  5. It will register the .Net 4.0 in an application pool.

  6. Rerun the Accops HyWorks Controller setup and ensure that installation is successful.

Error Service cannot be started during installation

Sometimes when the server where HyWorks Controller/ Session Host servers are installed, does not have enough resources, HyWorks services might fail to restart and during installation, it will show the error and will wait for user input.

Resolution:

If an error is displayed, click on the OK button to proceed with the installation and once the installation is completed, go to Services > Locate the HyWorks Services and start it manually if not already started.

Controller Installation on Microsoft WVD

Installation of HyWorks Controller on Microsoft WVD will require some additional configurations.

Root Cause

Windows WVD does not support the default mechanism used by HyWorks installer to configure some system roles and thus, fails.

Errors

Retrieving the COM class factory for component with CLSID failed due to the following error: 80040154

Management Console installation on WVD fails with following error:

[6/17/2020 12:30:52 PM] Setup Not completed! . Message: Retrieving the COM class factory for component with CLSID {2B72133B-3F5B-4602-8952-803546CE3344} failed due to the following error: 80040154 Class not registered (Exception from HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG))., Trace at Microsoft.Web.Administration.ConfigurationManager. CreateWritableAdminManager(WebConfigurationMap webConfigMap, String configPathToEdit, Boolean isAdminConfig) at Microsoft.Web.Administration.ConfigurationManager.CreateConfiguration(WebConfigurationMap configMap, String configPathToEdit, Boolean isAdminConfig) at Microsoft.Web.Administration.ConfigurationManager.GetConfiguration(String rawConfigurationPath, String cacheKey, Boolean isAdminConfig) at Microsoft.Web.Administration.ServerManager.get_SitesSection() at Microsoft.Web.Administration.ServerManager.get_Sites() at EDCInstaller.WebInstaller.StopSite() at EDCInstaller.frmWizard.RunSetup(Object sender, DoWorkEventArgs e), InnerMessage: NA

Message Queuing has not been installed on this computer

Even if the HyWorks services are installed without error, RMS service will not be able to function and will log following errors:

Rebus.Injection.ResolutionException: Could not resolve Rebus.Bus.IBus with decorator depth 0 - registrations: Rebus.Injection.Injectionist+Handler ---> System.InvalidOperationException: Message Queuing has not been installed on this computer. at System.Messaging.Interop.SafeNativeMethods.MQPathNameToFormatName(String pathName, StringBuilder formatName, Int32& count) at System.Messaging.MessageQueue.ResolveFormatNameFromQueuePath(String queuePath, Boolean throwException) at System.Messaging.MessageQueue.Exists(String path) at Rebus.Msmq.MsmqUtil.EnsureQueueExists(String inputQueuePath, ILog log, Action`1 permissionsCallback) at Rebus.Msmq.MsmqTransport.GetInputQueue() at Rebus.Config.RebusConfigurer.<>c__DisplayClass13_0.b__28(IResolutionContext c) at Rebus.Injection.Injectionist.ResolutionContext.GetTService --- End of inner exception stack trace --- at Rebus.Injection.Injectionist.ResolutionContext.GetTService at Rebus.Injection.Injectionist.GetTService at Rebus.Config.RebusConfigurer.Start() at EDController.Service.BackgroungWorkers.RMSBackgroundWorker.InitImporter()

Steps to Mitigate Issues on WVD

To resolve this problem, MSMQ and IIS roles have to be installed explicitly prior to HyWorks installation.

Follow below steps to install roles and features on WVD required by HyWorks:

  1. Go to Control Panel -> Programs and Features -> Turn Windows Features on or Off
  2. Select following features:

    1. Microsoft Message Queue (MSMQ) Server

      [X] Message Queuing MSMQ

      [X] Message Queuing Services                    MSMQ-Services
      
          [X] Message Queuing Server                  MSMQ-Server
      
    2. Ignore other features available under MSMQ

    3. Internet Information Services

      [X] Web Server (IIS) Web-Server

      [X] Web Server                                  Web-WebServer                  
          [X] Common HTTP Features                    Web-Common-Http                
          [X] Default Document                        Web-Default-Doc                
          [X] Directory Browsing                      Web-Dir-Browsing               
          [X] HTTP Errors                             Web-Http-Errors                
          [X] Static Content                          Web-Static-Content
      
      [X] Health and Diagnostics                      Web-Health                     
          [X] HTTP Logging                            Web-Http-Logging               
          [X] Request Monitor                         Web-Request-Monitor            
          [X] Tracing                                 Web-Http-Tracing
      
      [X] Performance                                 Web-Performance                
          [X] Static Content Compression              Web-Stat-Compression
      
      [X] Security                                    Web-Security                   
          [X] Request Filtering                       Web-Filtering
      
      [X] Application Development                     Web-App-Dev                    
          [X] .NET Extensibility 4.5                  Web-Net-Ext45                  
          [X] ASP.NET 4.5                             Web-Asp-Net45                  
          [X] ISAPI Extensions                        Web-ISAPI-Ext                  
          [X] ISAPI Filters                           Web-ISAPI-Filter
      
      [X] Management Tools                            Web-Mgmt-Tools                 
          [X] IIS Management Console                  Web-Mgmt-Console               
          [X] IIS 6 Management Compatibility          Web-Mgmt-Compat                
          [X] IIS 6 Metabase Compatibility            Web-Metabase                   
          [X] IIS 6 Management Console                Web-Lgcy-Mgmt-Console          
          [X] IIS 6 WMI Compatibility                 Web-WMI
      
    4. Ignore other features available under "Internet Information Services"

  3. Click on OK to continue installation of the above selected features.

  4. Once above configurations are completed, install HyWorks Controller using setup provided. It should get installed without showing any exceptions.

Resolving Dot Net Installation Issue on Windows 2008 R2-SP1

HyWorks Controller installation requires dot net 4.7.2 or later installed on Windows servers. Windows 2008R2-SP1 supports installation of .Net 4.7.2. In this section, steps to resolve a dot net installation issue on 2008 R2-SP1 will be provided.

Error: .Net Framework 4.7.2 has not been installed. A certificate chain could not be built to a trusted root authority.

While trying to install .Net Framework 4.7.2 on Windows 2008 R2-SP1, following error is shown on installer setup and dot net is not installed.

.Net Framework 4.7.2 has not been installed. A certificate chain could not be built to a trusted root authority.

Cause

This error can occur when installing the .NET Framework 4.7.2 on Windows Server 2008 R2 SP1 when an internet connection is not available.

Resolution

Download and import the latest Microsoft root certificate into Trusted Root Certification Authorities on the Local Machine using the Certificates snap-in in MMC.