Home > Success Center > Network Performance Monitor (NPM) > System.UriFormatException: Invalid URI: The format of the URI could not be determined

System.UriFormatException: Invalid URI: The format of the URI could not be determined

Created by Allain M Umalin, last modified by MindTouch Content Copy on Nov 13, 2015

Views: 3,066 Votes: 1 Revisions: 5

Overview

Orion Core crashes with the following error message:

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

2014-06-25 11:11:35,840 [7] ERROR SolarWinds.Orion.Common.SWEventLogging - Unhandled Exception caught in Core Service Engine startup. Invalid URI: The URI scheme is not valid.
2014-06-25 11:11:35,887 [7] FATAL SolarWinds.Orion.Core.BusinessLayer.CoreBusinessLayerPlugin - Unhandled Exception caught in plugin startup.
System.UriFormatException: Invalid URI: The URI scheme is not valid.
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()

Environment

NPM 11.0 and NPM 11.5

Cause

This may be caused by the missing http:// in the ReportJobs table or by the WebsiteID column on the ReportJobs table.

Resolution

In most cases, the error is caused by the missing http:// in the ReportJobs table. To resolve this: 

  1. Open Database Manager.
  2. Navigate to the ReportJobs table.
  3. Check that the URLs on the table ReportJobUrls have http://. If not present, add it. For example,
    From: servername/Orion/Report.aspx?Report=CABRS600+Volume+Report
    To: http:// servername/Orion/Report.aspx?Report=CABRS600+Volume+Report
  4. Restart the Orion services using the Orion Service Manager.
     

In rare cases, the error is caused by the WebsiteID column on the ReportJobs table. To resolve this:

  1. Open Database Manager.
  2. Navigate to the ReportJobs table.
  3. Check the WebsiteID column.
  4. Locate the Websites table and take note of the WebsiteID. 
  5. Replace the WebsiteID column in the ReportsJobs table with a valid WebsiteID found from Wesbites table.
  6. Restart the Module Engine service.

 

 

You must to post a comment.
Last modified
19:59, 13 Nov 2015

Tags

Classifications

Public