More in this section

Forums / Bugs & Issues / RSS Feed Issue

RSS Feed Issue

2 posts, 1 answered
  1. Zach
    Zach avatar
    1 posts
    21 Dec 2012
    16 Apr 2014
    Link to this post

    I am trying to create a RSS feed from an outside source that we are pulling into our website.  When I create the rss feed it is giving me this error.

     Server Error in '/' Application.
    Specified cast is not valid.
    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
    Exception Details: System.InvalidCastException: Specified cast is not valid.
    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:
    [InvalidCastException: Specified cast is not valid.]
    Telerik.Sitefinity.Publishing.Pipes.RSSOutboundPipe.BuildSyndicationItem(WrapperObject values) +1497
    Telerik.Sitefinity.Publishing.Pipes.RSSOutboundPipe.BuildSyndicationItems(IEnumerable`1 internalFormat) +130
    Telerik.Sitefinity.Publishing.Pipes.RSSOutboundPipe.BuildSyndicationFeed(IEnumerable`1 items) +591
    Telerik.Sitefinity.Publishing.Pipes.RSSOutboundPipe.GetData() +989
    Telerik.Sitefinity.Publishing.Web.FeedFormatter.GetFeedFormatter(IPipe pipe) +47
    Telerik.Sitefinity.Publishing.Web.PublishingHttpHandler.HandleRequest(IPipe pipe, HttpResponse response) +180
    Telerik.Sitefinity.Publishing.Web.PublishingHttpHandler.ProcessRequest(HttpContext context) +1215
    System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +625
    System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +270

    Any ideas on what steps I need to take to fix this? Thank you for the help

  2. Vassil Vassilev
     Vassil Vassilev avatar
    308 posts
    21 Jan 2015
    17 Apr 2014
    Link to this post
    Hello Zach,

    We are not able to replicate this issue locally. Most likely there is something in the feed causing this unusual behavior. Can you provide us some steps to reproduce and also what is the project version you are using?

    Vassil Vassilev
    Do you want to have your say in the Sitefinity development roadmap? Do you want to know when a feature you requested is added or when a bug fixed? Explore the Telerik Sitefinity CMS Ideas&Feedback Portal and vote to affect the priority of the items
2 posts, 1 answered