Home > Success Center > Network Performance Monitor (NPM) > FATAL SolarWinds.Orion.Core.BusinessLayer.CoreBusinessLayerPlugin - Unhandled Exception caught in plugin startup

FATAL SolarWinds.Orion.Core.BusinessLayer.CoreBusinessLayerPlugin - Unhandled Exception caught in plugin startup

Updated April 8th, 2016

Overview

NPM not polling any data and Module Engine Service keep restarting 

Polling Engine Showing Down 

Environment

  • NPM 10.7 

Cause 

BL Crashing for the Core BL 

This could be the reason of Website re created with new WebsiteID 

Or the ReportJobs having invalid or 0 WebsiteID 

 

~~~~~~~ BusinessLayer Crashing ~~~~~~~~~~~~~~


2015-11-21 08:11:27,393 [8] ERROR SolarWinds.BusinessLayerHost.PluginInstanceAppDomain - Plugin "Core Business Layer" failed to start.
System.UriFormatException: Invalid URI: The format of the URI could not be determined.
   at System.Uri.CreateThis(String uri, Boolean dontEscape, UriKind uriKind)
   at System.Uri..ctor(String uriString)
   at SolarWinds.Orion.Core.BusinessLayer.ReportJobInitializer.GroupUrls(ReportJobConfigurationconfig)
   at SolarWinds.Orion.Core.BusinessLayer.ReportJobInitializer.AddActionsToScheduler(ReportJobConfigurationconfig, CoreBusinessLayerService service)
   at SolarWinds.Orion.Core.BusinessLayer.CoreBusinessLayerPlugin.Start()
   at SolarWinds.BusinessLayerHost.Contract.BusinessLayerPlugin.Start()
   at SolarWinds.BusinessLayerHost.PluginInstanceAppDomain.Start()
 

 

~~~~~~~ Core BusinssLayer Crashing ~~~~~~~~~~~

2015-11-21 08:11:27,283 [8] INFO  SolarWinds.Orion.Core.BusinessLayer.CoreBusinessLayerPlugin - Updating BL Scheduler with Report Jobs
2015-11-21 08:11:27,393 [8] ERROR SolarWinds.Orion.Common.SWEventLogging - Unhandled Exception caught in Core Service Engine startup. Invalid URI: The format of the URI could not be determined.
2015-11-21 08:11:27,393 [8] FATAL SolarWinds.Orion.Core.BusinessLayer.CoreBusinessLayerPlugin - Unhandled Exception caught in plugin startup.
System.UriFormatException: Invalid URI: The format of the URI could not be determined.
   at System.Uri.CreateThis(String uri, Boolean dontEscape, UriKind uriKind)
   at System.Uri..ctor(String uriString)
   at SolarWinds.Orion.Core.BusinessLayer.ReportJobInitializer.GroupUrls(ReportJobConfiguration config)
   at SolarWinds.Orion.Core.BusinessLayer.ReportJobInitializer.AddActionsToScheduler(ReportJobConfiguration config, CoreBusinessLayerService service)
   at SolarWinds.Orion.Core.BusinessLayer.CoreBusinessLayerPlugin.Start()

 

Resolution

Stage #1
Find the WebsiteID in the Websites table which is not matching with the ReportJobs table . 

Open the Orion Database Manager 
Locate Websites table 
Right Click 
Query table 
Execute Query 

You should be able to see the Website Entry on the Top with WebsiteID 
 
(Note down the Websiteid number ) (We will have to use that in the SQL Query below )


Stage #2 
Update the ReportJobs table with the new correct WebsiteID therefor we first need to know what WebsiteID is within the reports. 

Stop all Orion Services  
Open the Orion Database Manager > 
Locate the table called ReportJobs 
Right Click 
Query Table 
Execute Query 
(Within the table in the last Column You should be able to see the WebsiteID is assigned to the Jobs this have to be replaced with the new websiteid ) 


Stage #3 
Update the correct WebsiteID to all of the jobs . 

Change  the following query: (Please note you must need to change the WebsiteID what you have noted on the stage #1 and update the SQL query below )

Update ReportJobs Set WebsiteID='2' Where WebsiteID='1'

Right Click on the ReportJobs table 
Query table 
Remove the default query 
paste the above Query ( Change the WebsiteID from stage #1)
Update ReportJobs Set WebsiteID='2' Where WebsiteID='1'
Execute Query . 

Then restart all services and check the polling . 

Please Note : This specific issue is been resolved in NPM 11.5 version therefor we recommend customer to upgrade to the latest release. 

 

You must to post a comment.
Last modified
18:11, 16 Jan 2017

Tags

Classifications

Public