Metric service not starting in customer environment after upgrading for HEAT 201X.X

Version 1

    Details

    Metric service not starting. Getting the following error in the event log:


    Service cannot be started. System.IO.FileLoadException: Could not load file or assembly 'Quartz, Version=2.3.1.0, Culture=neutral, PublicKeyToken=f6b8c98a402cc8a4' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)
    File name: 'Quartz, Version=2.3.1.0, Culture=neutral, PublicKeyToken=f6b8c98a402cc8a4'
       at HEAT.MetricsServer.MetricsModule.QuartzEngineBinding()
       at HEAT.MetricsServer.MetricsModule.Load()
       at Ninject.Modules.NinjectModule.OnLoad(IKernel kernel)
       at Ninject.KernelBase.Load(IEnumerable`1 m)
       at Ninject.KernelBase..ctor(IComponentContainer components, INinjectSettings settings, INinjectModule[] modules)
       at Ninject.KernelBase..ctor(INinjectModule[] modules)
       at HEAT.MetricsServer.MetricsService.OnStart(String[] args)
       at System.ServiceProcess.ServiceBase.ServiceQueuedMainCallback(Object state)

    WRN: Assembly binding logging is turned OFF.
    To enable assembly bind failure logging, set the registry value...

     


    Resolution

     

    In some instances the HEAT.MetricsServer.exe is not being removed during the upgrade so the newer version of the executable does not get installed. The work around for this issue is:

     

    1. Go to Control Panel > Programs and Features and select HEAT Service Management and Change



    2. The installer will launch. Hit the Next button, select Modify and Next



    3. Expand Process Services > Metrics Server > This feature will not be available.



     

    4. Select Next > Install. Once the install completes you will be prompted to restart. You can say No at this point.

    5. Browse to \Program Files\FrontRange Solutions\HEAT\MetricsServer and see if a file called HEAT.MetricsServer.exe still remains. If so remove it.

    6. Go to Control Panel > Programs and Features and select FrontRange Solutions HEAT Service Management and Change

    7. The installer will launch. Hit the Next button, select Modify and Next

           

    8. Expand Process Services > Metrics Server > This feature will be installed on the local hard drive.



    9. Select Next > Install

    10. Once the install completes the System Configuration Wizard will launch so you can go through and configure the Metrics Service.

     

    11. Once you complete the System Configuration Wizard you can go to the Services and verify that the Heat Metrics Server service is now running.