SaaS CMS has officially launched! Learn more now.

Link validation tool fails in live and pre-production environment.


Link validation works as expected in local and integration environment and reports broken links in link status report. But if we run this in pre-production and production environment link validation tool fails and errors out as "This operation is not supported for a relative uri".

Link ValidationHelp

Specify whether the link validation function is active/inactive and how often the job should be run. The link validation job validates the status of all links in the website content.

4/1/2019 6:42:03 AM <1s Failed RD281878877ED6 This operation is not supported for a relative URI.
3/29/2019 8:08:40 AM 1s Failed RD281878877ED6 This operation is not supported for a relative URI.
9/20/2018 6:56:20 AM 6s Failed RD00155D52729D This operation is not supported for a relative URI.
9/13/2018 6:55:35 AM 1s Failed RD0003FF7BF675 This operation is not supported for a relative URI.
6/7/2018 1:18:49 PM <1s Failed RD0003FF541570 This operation is not supported for a relative URI.
6/7/2018 10:20:45 AM 15m:54s Failed RD0003FF541570 This operation is not supported for a relative URI.

Can you please help with this behaviour of Link validation tool? What is the possible fix for this issue?

Apr 01, 2019 8:52


From what I can see, this occurs if you include a relative URL (e.g. a URL starting with a /) in the content of one of your pages. To resolve the issue I think you'd need to fix that URL so that it points to a page in Episerver. If you need to find out where that URL is, you can run a query against the SoftLink table in the Episerver database as follows:

SELECT TOP (1000) *
  FROM [dbo].[tblContentSoftlink]
  where LinkUrl like '/%'
Apr 01, 2019 15:12


Thank you for query which helped us to get the list of relative uri from our live database. Can you please guide us on how can we correct the relative links for some content items?

please find few relative uri from database:

67007 11789 00000000-0000-0000-0000-000000000000 1 /EPiServer/CMS/Content/globalassets/ireland/images/icons/icons_orange-144px-03.png,,27966?epieditmode=False 5
68078 18999 00000000-0000-0000-0000-000000000000 1 /ireland/careers/get-started/ 2
89219 24608 1edfa0cc-6d56-47d6-ba16-795eeeccead5 1 /link/1edfa0cc6d5647d6ba16795eeeccead5.aspx 1
89626 25064 164b13ee-a654-41a7-b611-2fa76109d956 1 /link/164b13eea65441a7b6112fa76109d956.aspx 1
113142 28618 86435986-5270-4bb4-9e6a-40e3ff587c09 1 /link/8643598652704bb49e6a40e3ff587c09.aspx 1


Apr 15, 2019 13:31

Hi Deepa,

I suspect the issue will be with the external links which have a link type of 2 so the original query could be updated like this:

SELECT TOP (1000) *
  FROM [dbo].[tblContentSoftlink]
  where LinkUrl like '/%' and LinkType = 2

In your example above, this would leave the /ireland/careers/get-started/ URL as the problem URL. Assuming there's not too many records with a link type of 2, the easiest method would be to modify the content manually to fix the issue. The fkOwnerContentID field gives the ID of the page so, assuming your CMS is in the default location, you can jump directly to that page in the CMS editor by going to:


where 18999 is the ID of the content item you need to edit. You can then find the link in question and update it to be a reference to a page.

Apr 16, 2019 18:58

Hello Paul,

Thank you so much with help regarding relative URI issue for link validation. Now we are facing issue with mailto: link with one of the page. Can you please help us tracing the particular page with mailto: link which is not correctly used or is this is issue with all of the pages with mailto: link?

Link validation fails with this error "The scheme for the url " Management" in not http or https."

Apr 23, 2019 15:01

Hi Deepa,

You can get the record in question by running a SQL command like the following:

FROM [dbo].[tblContentSoftlink]
WHERE LinkUrl = ' Management'

It looks like the issue is with the LinkProtocol field in the database. For a mailto link this should have the value 'mailto' but, if I use that mailto link, the LinkProtocol is 'NULL'. This appears to be due to the space in the subject. Removing the space seems to resolve the issue for me though that may not be practical in your situation.

Apr 23, 2019 15:45
This topic was created over six months ago and has been resolved. If you have a similar question, please create a new topic and refer to this one.
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.