+1-888-365-2779
Try Now
More in this section

Forums / Bugs & Issues / Rss feed error

Rss feed error

5 posts, 0 answered
  1. Gregory
    Gregory avatar
    25 posts
    Registered:
    16 Mar 2009
    30 Mar 2009
    Link to this post
    When I go administration>rss feeds

    It won't even load the page I just get this error message for any of my projects.

     

    Server Error in '/Prototype1' Application.

    Compilation Error

    Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately.

    Compiler Error Message: CS1502: The best overloaded method match for 'System.Web.UI.Control.ResolveUrl(string)' has some invalid arguments

    Source Error:

    Line 20:                         <h3 runat="Server" id="feedName"><asp:Literal runat="server" Text='<%# Eval("Name") %>'></asp:Literal></h3>
    Line 21:                         <p runat="Server" id="feedDescription"><asp:Literal runat="server" Text='<%# Eval("Description") %>'></asp:Literal></p>
    Line 22: <p runat="Server" id="P2"><asp:HyperLink runat="server" Text='<%# Eval("Url") %>' NavigateUrl='<%# Page.ResolveUrl(Eval("Url")) %>' rel="external"></asp:HyperLink></p>Line 23:                     </div>
    Line 24:                     <div class="values">

    Source File: c:\Program Files\telerik\Sitefinity3.5 Community\WebSites\Prototype1\Sitefinity\Admin\ControlTemplates\RssFeeds\ViewFeeds.ascx    Line: 22



    Version Information: Microsoft .NET Framework Version:2.0.50727.1433; ASP.NET Version:2.0.50727.1433
  2. Pepi
    Pepi avatar
    981 posts
    Registered:
    08 Dec 2016
    31 Mar 2009
    Link to this post
    Hello Gregory,

    Please try to modify the HyperLink declaration in the ~/Sitefinity/Admin/ControlTemplates/RssFeeds/ViewFeeds.ascx template as follows:

    <runat="Server" id="P2"><asp:HyperLink runat="server" Text='<%# Eval("Url") %>' NavigateUrl='<%# Page.ResolveUrl(Eval("Url").ToString()) %>' rel="external"></asp:HyperLink></p

    Let us know if this helps.

    Greetings,
    Pepi
    the Telerik team

    Check out Telerik Trainer , the state of the art learning tool for Telerik products.
  3. Gregory
    Gregory avatar
    25 posts
    Registered:
    16 Mar 2009
    31 Mar 2009
    Link to this post
    thank you very much the rss feeds are working now.
  4. Joel Konecny
    Joel Konecny avatar
    11 posts
    Registered:
    20 Mar 2009
    08 Apr 2009
    Link to this post
    I had this same issue in a 3.2 version project and your fix resolved it for me.  Can you tell me why this worked on one server and not another?
    Is this a change I will need to make to our 3.6 version projects?
  5. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    09 Dec 2016
    09 Apr 2009
    Link to this post
    Hi Drew Engelmeyer,

    If you have problems you can apply Pepi's fix which applies to 3.6 hotfix.

    Kind regards,
    Ivan Dimitrov
    the Telerik team

    Check out Telerik Trainer , the state of the art learning tool for Telerik products.
Register for webinar
5 posts, 0 answered