Installation of Dependencies Fails when Installing on a Windows Server 2012

Installation of Dependencies Fails when Installing on a Windows Server 2012

0
Created On 09/25/18 18:19 PM - Last Modified 07/19/22 23:09 PM


Symptom


When attempting to install Endpoint Security Manager on a Windows Server 2012, one or more prerequisites (for example, .NET framework 4.0) failed to install.

Installation of the Endpoint Security Manager succeeds. However, the Endpoint Security Manager cannot be accessed and an IIS related error appears:
 

http error 500.19 internal server error


Symptoms

  • Unable to install required prerequisites
  • Unable to load ESM interface
  • Errors shown in the log files that can be accessed via %programdata%\cyvera\, as shown below:

ERROR CyveraServer(4) Cyvera.Server.Facades.Database.Caching.CacheCountWatcher Failed to load counters SimpleInjector.ActivationException: The registered delegate for type IRepository<CacheCounterEntity> threw an exception. An invalid or incomplete configuration was used while creating a SessionFactory. Check PotentialReasons collection, and InnerException for more detail.

* Database was not configured through Database method.
---> FluentNHibernate.Cfg.FluentConfigurationException: An invalid or incomplete configuration was used while creating a SessionFactory. Check PotentialReasons collection, and InnerException for more detail.

* Database was not configured through Database method.
---> NHibernate.HibernateException: Could not create the driver from NHibernate.Driver.SQLite20Driver. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Configuration.ConfigurationErrorsException: Failed to find or load the registered .Net Framework Data Provider.



Environment


Traps versions prior to 3.2

Cause


  • This is due to a dependency; the functionality requested cannot be called on due to it not being installed, the requested .net is included in windows server 2012 as a feature.
  • By default, this feature is not configured as the stand-alone version of the .net framework 4.0 redistributable.
  • This results in the installer calling on a feature that is not present.


Resolution


When activating asp.net 4.5, it enables the functionality required for the .net framework, which is required by the Endpoint Security Manager.

Run the following command from an elevated command-prompt:
dism /online /enable-feature /featurename:IIS-ASPNET45 /all



Actions
  • Print
  • Copy Link

    https://knowledgebase.paloaltonetworks.com/KCSArticleDetail?id=kA10g000000ClPPCA0&refURL=http%3A%2F%2Fknowledgebase.paloaltonetworks.com%2FKCSArticleDetail