Copied to clipboard

Flag this post as spam?

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


  • Simon 692 posts 1068 karma points
    Aug 25, 2015 @ 16:39
    Simon
    0

    Exception: System.OutOfMemoryException: Array dimensions exceeded supported range.

    Hi Guys,

    I am experiencing a strange error.

    I have deployed my website to a hosting server (as a staging server) and I am having this error when trying to get Umbrac.Media image:

    Exception: System.OutOfMemoryException: Array dimensions exceeded supported range.
    

    I have this line of code which is cauing this error:

    <div class="content-right-image">
                    <img src="@Umbraco.Media(Model.GetPropertyValue("topRightImage")).Url" />   
                </div>  
    

    Appreciate any help.

    Thank you.

  • Simon 692 posts 1068 karma points
    Aug 25, 2015 @ 20:52
    Simon
    0

    Hi guys,

    I even noticed that the same error is occuring when accessing the Developers section in the CMS. This problem only when deploy to a hosting server.

    exceptionMessage: "The 'ObjectContent`1' type failed to serialize the response body for content type 'application/json; charset=utf-8'."
    exceptionType: "System.InvalidOperationException"
    innerException: {message: "An error has occurred.", exceptionMessage: "Array dimensions exceeded supported range.",…}
    message: "An error has occurred."
    stackTrace: null
    

    Any help please?

    Kind Regards

Please Sign in or register to post replies

Write your reply to:

Draft