Network Management

URIFormatException: Invalid URI: The format of the URI could not be determined

The Core Business Layer fails to start with the following error message: UriFormatException: Invalid URI: The format of the URI could not be determined

First published date

11/29/2018 10:55 PM

Last published date

2/26/2025 3:55 AM

Overview

The Core Business Layer fails to start with the following error message:

2014-03-24 11:24:13,651 [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(ReportJobConfiguration config)    at SolarWinds.Orion.Core.BusinessLayer.ReportJobInitializer.AddActionsToScheduler(ReportJobConfiguration config, CoreBusinessLayerService service)    at SolarWinds.Orion.Core.BusinessLayer.CoreBusinessLayerPlugin.Start()    at SolarWinds.BusinessLayerHost.Contract.BusinessLayerPlugin.Start()    at SolarWinds.BusinessLayerHost.PluginInstanceAppDomain.Start()
 

Product section

Network Performance Monitor

Cause

This is the result of the BusinessLayer failing to start due to an incorrect WebsiteID in the ReportJobs table or an invalid URL in the ReportJobUrls table of the Orion database.

Resolution

Important Note: The changes necessary to resolve this issue are non-invasive, however, it is always best practice to ensure you have a current backup of the Orion database prior to making any manual changes.  

 

Solution A

  1. Open Database Manager 

  2. Navigate to the ReportJobs  table, and check the WebsiteID column 

  3. Now navigate to Websites table (take a note of the WebsiteID) 

  4. Replace the WebsiteID column in the ReportsJobs table with a valid WebsiteID found from Wesbites table 

  5. Restart the Module Engine service from the Orion Service Manager


Solution B

  1. Open Database Manager 

  2. Navigate to the ReportJobUrls  table, and check the URL column

  3. Locate and correct any row that contains a URL that is improperly formatted, for example: '<servername>/Orion/Report.aspx?Report=CABRS600+Volume+Report' should be 'http://<servername>/Orion/Report.aspx?Report=CABRS600+Volume+Report'
  4. Restart the Module Engine service from the Orion Service Manager