RSS Feed not working

Discussion in 'Site Programming, Development and Design' started by aspnet, May 31, 2010.

  1. Hi, the RSS feed that used to work before I transferred here has stopped working. (no code changes)

    Can you help?

    I already wrote about this problem a while back. But I left it unresolved.

    Here is some information from that post:


    I display an RSS feed on my site using an XMLDataSource. I am unable to get it to work properly since I migrated to Winhost.

    I get this error now. (It was working fine in my previous hosting provider location)

    Access to the URL '/newsfeed/rss/rej_frontpage.xml' was denied in the XmlDataSource with ID 'myRssFeed' because of security settings

    The application is already running at Full trust.

    Thanks in advance.
    Last edited by a moderator: Oct 14, 2015
  2. Ray


    What is the error message?
  3. Access to the URL '/newsfeed/rss/rej_frontpage.xml' was denied in the XmlDataSource with ID 'realestateRssFeed' because of security settings.

    I assume you are pulling that feed from elsewhere and not generating it yourself?
  4. Here is the code to the RSS Feed

    This is ALL the code there is to display the RSS Feed. Its implemented as an usercontrol and default.aspx has an instance of this.

    Appsettings has a key:
    <add key="RealEstateRssFeed" value=""/>

    Within the ASCX page: (This is the complete file)

    <%@ Control Language="C#" AutoEventWireup="true" CodeFile="RealEstateRssFeed.ascx.cs" Inherits="RealEstateRssFeed" %>
    <asp:XmlDataSource ID="realestateRssFeed" runat="server" EnableCaching="false" DataFile="<%$ AppSettings:RealEstateRssFeed %>" XPath="/rss/channel/item" />
    <asp:Repeater ID="rpNews" runat="server">
    <li><a href='<%# XPath("link") %>' target="_blank">
    <%# XPath("title") %></a>

    <asp:panel runat="server" ID="errorItem" Visible="false">
    Error retreiving Real Estate Info</h2>
    <% =DataBindingErrMsg%>
    <hr />

    The following is the complete code behind file:

    using System;

    public partial class RealEstateRssFeed : System.Web.UI.UserControl
    public string DataBindingErrMsg = string.Empty;
    private int count = 0;

    protected void Page_Load(object sender, EventArgs e)
    rpNews.DataSource = realestateRssFeed;
    catch (Exception ex)
    errorItem.Visible = true;
    DataBindingErrMsg = ex.Message;


    void rpNews_DataBinding(object sender, EventArgs e)
    if (count > 3)
  5. Ray


    Have you contacted

    The news feed you are accessing is there's and they should tell you exactly what is going on. They may have a firewall that is blocking us.

Share This Page