Submit a ticketCall us

WebinarUpcoming Webinar: Should I Move My Database to the Cloud?

So you’ve been running an on-premises SQL Server® for a while now. Maybe you’ve moved it from bare metal to a VM, and have seen some positive benefits. But, do you want to see more? If you said “YES!”, then this session is for you, as James Serra will review the many benefits that can be gained by moving your on-prem SQL Server to an Azure® VM (IaaS). He’ll also talk about the many hybrid approaches, so you can gradually move to the cloud. If you are interested in cost savings, additional features, ease of use, quick scaling, improved reliability, and ending the days of upgrading hardware, this is the session for you.

Register now.

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: 6,379 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.

 

 

Last modified

Tags

Classifications

Public