Network Management
How to resolve an issue where plugin "Core Business Layer" failed to start exception The file exists
Plugin "Core Business Layer" failed to start exception The file exists.
First published date
Last published date
Overview
This article provides brief information and steps to resolve the error when the Core Businesslayer plugin crashes on Start up:
2016-02-15 13:12:16,761 [8] ERROR SolarWinds.BusinessLayerHost.PluginInstanceAppDomain - Plugin "Core Business Layer" failed to start.
System.IO.IOException: The file exists.
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.__Error.WinIOError()
at System.IO.Path.InternalGetTempFileName(Boolean checkHost)
at SolarWinds.Orion.Core.CertificateUpdate.Md5CertificateUpdater..ctor(Boolean onlySynchronizeCertificateWithDatabase, TimeSpan agentStatusPollFrequency)
at SolarWinds.Orion.Core.BusinessLayer.CoreBusinessLayerService..ctor(CoreBusinessLayerPlugin pluginParent, IFeatureManager featureManager, IPackageManager packageManager, INodeBLDAL nodeBlDal, IAgentInfoDAL agentInfoDal, ISettingsDAL settingsDal)
at SolarWinds.Orion.Core.BusinessLayer.CoreBusinessLayerService..ctor(CoreBusinessLayerPlugin pluginParent, IFeatureManager featureManager)
at SolarWinds.Orion.Core.BusinessLayer.CoreBusinessLayerPlugin.Start()
at SolarWinds.BusinessLayerHost.Contract.BusinessLayerPlugin.Start()
at SolarWinds.BusinessLayerHost.PluginInstanceAppDomain.Start()
2016-02-15 13:12:16,761 [8] INFO SolarWinds.BusinessLayerHost.PluginInstanceSeparateProcess - Starting plugin E:\Program Files (x86)\SolarWinds\Orion\AgentManagement\SolarWinds.AgentManagement.ServiceCore.dll.config - ProcessID:33112
The error above is referencing InternalGetTempFileName during the certificate update.
Product section
Cause
Resolution
- Stop the Orion services using Orion Service Manager.
- Remove all files under C:\Windows\Temp
- Restart the Orion services and it should no longer crash the Core Plugin on Start up.