Applications Systems
Could not load type error in the VIM business layer log
This article will provide solution for the issue where the Orion receives Events alerts for 'virtualization business layer failed to start. Please restart the module engine service' and the following error is found in the VIM business layer log: Could not load type 'SolarWinds.CloudMonitoring.Shared.CloudAccounts.CloudAccountDal' from assembly 'SolarWinds.CloudMonitoring.Shared'
First published date
Last published date
Overview
This article will provide solution for the issue where the Orion receives Events alerts for 'virtualization business layer failed to start. Please restart the module engine service'.
The issue causes Orion VIM to not be able to collect data on monitored vCenter nodes affecting the data collection for the Host and VM nodes under the vCenter nodes.
Below are the errors:
VIM business layer logs
=======================
2017-12-08 12:44:26,766 [Main] ERROR SolarWinds.Orion.Common.SWEventLogging - Unhandled Exception caught in Virtualization Service Engine startup. Could not load type 'SolarWinds.CloudMonitoring.Shared.CloudAccounts.CloudAccountDal' from assembly 'SolarWinds.CloudMonitoring.Shared, Version=1.0.1.4, Culture=neutral, PublicKeyToken=null'.
2017-12-08 12:44:26,766 [Main] FATAL SolarWinds.VIM.BusinessLayer.VirtualizationBusinessLayerPlugin - Unhandled Exception caught in plugin startup.
System.TypeLoadException: Could not load type 'SolarWinds.CloudMonitoring.Shared.CloudAccounts.CloudAccountDal' from assembly 'SolarWinds.CloudMonitoring.Shared, Version=1.0.1.4, Culture=neutral, PublicKeyToken=null'.
at SolarWinds.VIM.BusinessLayer.VirtualizationCloudMonitoringBusinessLayerServiceFactory.CreateCloudMonitoringBusinessLayerService()
at SolarWinds.VIM.BusinessLayer.VirtualizationBusinessLayerPlugin.Start()
Product section
Cause
Resolution
Removing the SolarWinds.CloudMonitoring.Shared.dll file should fix the issue. Follow the steps below:
- Stop all Orion services.
- Delete the file SolarWinds.CloudMonitoring.Shared.dll on:
C:\Program Files (x86)\SolarWinds\Orion\VIM\ - Start the Orion services.
- Verify that the event is gone on the Orion Events.