Submit a ticketCall us
Home > Success Center > Network Performance Monitor (NPM) > URIFormatException: Invalid URI: The format of the URI could not be determined

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

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()

Environment

  • NPM v10.7 and later
  • Orion Core 2014.1 and later

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

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. 

 

Last modified

Tags

Classifications

Public