Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • S Rupa 8 posts 111 karma points
    Jul 17, 2019 @ 11:08
    S Rupa
    1

    A relative URI cannot be created because the 'uriString' parameter represents an absolute URI.

    Getting this error when using Umbraco 8.1 with UmbracoFileSystemProviders.Azure v2,

    var image = Model.Value<IPublishedContent>("picture");
    @image.Url
    

    A relative URI cannot be created because the 'uriString' parameter represents an absolute URI.

    Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

    Exception Details: System.UriFormatException: A relative URI cannot be created because the 'uriString' parameter represents an absolute URI.

    Anyone can help please?

  • Nicola Ayan 7 posts 76 karma points
    Aug 11, 2019 @ 09:48
    Nicola Ayan
    0

    Hi,

    Were you able to find a solution to this? I'm getting the same error on a new Umbraco 8 install whenever I try to access the Url property of an image.

  • S Rupa 8 posts 111 karma points
    Aug 11, 2019 @ 10:44
    S Rupa
    0

    Not yet I'm afraid. :(

  • SteveV 54 posts 240 karma points
    Aug 11, 2019 @ 18:04
    SteveV
    1

    Could it be this bug: https://github.com/umbraco/Umbraco-CMS/issues/5906

    It's included in 8.1.2 which should be released on Tuesday.

Please Sign in or register to post replies

Write your reply to:

Draft