Copied to clipboard

Flag this post as spam?

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


  • Jeroen Breuer 4908 posts 12265 karma points MVP 4x admin c-trib
    Oct 14, 2014 @ 10:23
    Jeroen Breuer
    0

    Invalid URI: The Uri string is too long.

    Hello,

    When using EmbeddedContent I currently get this error:

    Invalid URI: The Uri string is too long.
    
    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: Invalid URI: The Uri string is too long.
    
    Source Error: 
    
    An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
    
    Stack Trace: 
    
    
    [UriFormatException: Invalid URI: The Uri string is too long.]
       System.Uri.EscapeString(String input, Int32 start, Int32 end, Char[] dest, Int32& destPos, Boolean isUriString, Char force1, Char force2, Char rsvd) +97
       System.Uri.EscapeDataString(String stringToEscape) +100
       TheFarm.Umbraco.EmbeddedContent.EmbeddedContent.MergeValueWithXmlSchema() +2172
       TheFarm.Umbraco.EmbeddedContent.EmbeddedContent.LoadControlsAndData() +21
       System.Web.UI.Control.LoadRecursive() +71
       System.Web.UI.Control.LoadRecursive() +190
       System.Web.UI.Control.LoadRecursive() +190
       System.Web.UI.Control.LoadRecursive() +190
       System.Web.UI.Control.LoadRecursive() +190
       System.Web.UI.Control.LoadRecursive() +190
       System.Web.UI.Control.LoadRecursive() +190
       System.Web.UI.Control.LoadRecursive() +190
       System.Web.UI.Control.LoadRecursive() +190
       System.Web.UI.Control.LoadRecursive() +190
       System.Web.UI.Control.LoadRecursive() +190
       System.Web.UI.Control.LoadRecursive() +190
       System.Web.UI.Control.LoadRecursive() +190
       System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAs

    There is really a lot of data stored in this embedded content. It's probably gotten too big. Is there an easy solution for this? Currently thinking about removing the EmbeddedContent datatype and rebuilding it with subnodes.

    Jeroen

  • Ondrej Pialek 7 posts 138 karma points c-trib
    Oct 27, 2015 @ 13:13
Please Sign in or register to post replies

Write your reply to:

Draft