Thursday, 7 June 2012

Resolve SharePoint 2010 RSS Feed Error

If you try adding the RSS Feed webpart to your SharePoint page and you keep getting an error. It is possible that your SharePoint server is configured to use a proxy. In this case, even though you might be able to open the rss url in a web browser, SharePoint would still be unable to load your rss feeds from the url.


Here is what you do. Open the the web.config file of the your SharePoint web application (typically in c:\inetpub\wwwroot\wss\VirtualDirectory\...)


Then do a find for "defaultProxy", and add this line.

  <proxy usesystemdefault = "false" proxyaddress="http://proxyservername" bypassonlocal="true" />


Your proxyaddress can either be the FQDN or the ip address of your proxy sever. You should also add a port if required, so you might have something like this.


<system.net>
      <defaultProxy>
       
  <proxy usesystemdefault = "false" proxyaddress="http://192.168.100.1:8080" bypassonlocal="true" />
      </defaultProxy>
   </system.net> 

1 comment:

  1. I came across a similar problem in Bitrix Intranet when trying to set up the RSS feed gadget on a server that uses a proxy to connect to the internet. Unlike in SharePoint, there is no solution in Bitrix short of removing the proxy and connecting to the internet directly.

    ReplyDelete