More in this section

GUID Error

3 posts, 0 answered
  1. syed
    syed avatar
    22 posts
    Registered:
    05 Mar 2009
    28 Aug 2009
    Link to this post
    hi there
    when i try to insert the news in particular category i am getting the following error

    Guid should contain 32 digits with 4 dashes (xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx).

    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.FormatException: Guid should contain 32 digits with 4 dashes (xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx).

    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:

    [FormatException: Guid should contain 32 digits with 4 dashes (xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx).]
       System.Guid..ctor(String g) +514
       Telerik.News.WebControls.NewsView.GetItemUrl(String val, Boolean resolveAsAbsoluteUrl) +152
       Telerik.News.WebControls.NewsView.SetItemMetadata(Control itemContainer, IContent contentItem) +303
       Telerik.Cms.Engine.WebControls.ContentView.repeater_ItemDataBound(Object sender, RepeaterItemEventArgs e) +404
       System.Web.UI.WebControls.Repeater.OnItemDataBound(RepeaterItemEventArgs e) +108
       System.Web.UI.WebControls.Repeater.CreateItem(Int32 itemIndex, ListItemType itemType, Boolean dataBind, Object dataItem) +136
       System.Web.UI.WebControls.Repeater.CreateControlHierarchy(Boolean useDataSource) +443
       System.Web.UI.WebControls.Repeater.OnDataBinding(EventArgs e) +51
       System.Web.UI.WebControls.Repeater.DataBind() +75
       Telerik.Cms.Engine.WebControls.ContentView.CreateChildControls() +4852
       Telerik.News.WebControls.NewsView.CreateChildControls() +21
       System.Web.UI.Control.EnsureChildControls() +87
       System.Web.UI.Control.PreRenderRecursiveInternal() +44
       System.Web.UI.Control.PreRenderRecursiveInternal() +171
       System.Web.UI.Control.PreRenderRecursiveInternal() +171
       System.Web.UI.Control.PreRenderRecursiveInternal() +171
       System.Web.UI.Control.PreRenderRecursiveInternal() +171
       System.Web.UI.Control.PreRenderRecursiveInternal() +171
       System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +842
    


    Version Information: Microsoft .NET Framework Version:2.0.50727.3053; ASP.NET Version:2.0.50727.3601

     

     

    any suggestions to rectify this.

     

    thank

    syed

  2. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    12 Sep 2017
    30 Aug 2009
    Link to this post
    Hello syed,

    The error is thrown from NewsView control, but content items are added to any categories form the back end. Could you provide us with the steps you followed before getting this error?
    Also, have you modified filter expression property of NewsView control or any other property where you used a Guid?

    Best wishes,
    Ivan Dimitrov
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
  3. syed
    syed avatar
    22 posts
    Registered:
    05 Mar 2009
    31 Aug 2009
    Link to this post
    hI Ivan

    thanks for your reply

    i found that some extra double quote in news thumbnail metafield. This fixed my bug


    thanks
    syed
Register for webinar
3 posts, 0 answered