RSS Viewer Web Part – How to setup in SharePoint

October 24th, 2009 | Categories: SharePoint, Troubleshoot Issues | Tags: ,

RSS Viewer web part is another OOTB feature which people are willing to use. At the very initial  setup stage, there are few issues attached with this. This article is for explaining you how to install and setup the RSS web part into SharePoint portal.

Open SharePoint site and click on Edit Page under Site Action. In the edit mode, you will have option to add web part. Select the RSS Viewer under Defult category and add into the SharePoint. Once added, it is required to setup the web part i.e. to feed up the RSS Feed.


Click on ‘Open the Tool Pane’  and setup the feed url inside ‘RSS Feed URL’ over there.


Once complete, click on apply and ok to complete. If there is any proxy setup in the web server, then you might expect the error “An unexpected error occured processing your request. Check the logs for details and correct the problem.”.


This happens because RSS Webpart is not able to fetch the data from the internet due to proxy settings.  You might wondering to fix the same by setup the IE proxy settings IE >> Tools >> Internet options >> Select Connection TAB >> Select Lan Settings as below:


However that will not work for your case I believe. Adam Hems described briefly how to fix this error in his article http://blogs.msdn.com/adamhems/archive/2006/06/13/629761.aspx . Basically you need to change the web.config file under the web application where your SharePoint site is running.
How to get the web.config file? If you open the Inetpub/wwroot foleder i.e. under <program drive>/ Inetpub\wwwroot\wss\VirtualDirectories, and under the port number folder,  you will find the web.config file. For example, in my end, web.config file exist at  C:\Inetpub\wwwroot\wss\VirtualDirectories\44356.
Before any change, please keep a copy of the web.config file somewhere else. You need to add the following lines under configuration (at the end of the page).


<defaultProxy>
<proxy autoDetect=”True” usesystemdefault=”False” proxyaddress=”http://usa.proxy.laha.com:8000″ bypassonlocal=”True” />
</defaultProxy>


Please note the proxy url and its port number i.e. 8000 as an example. You will not require to reset your IIS to reflect it. Once done, again check the feed url. You can use this example feed url http://feeds.feedburner.com/NdtvNews-TopStories?format=xml for the test.
Click on apply and here it goes.


And finally

You might found a lot of confusion in the internet that RSS web part is requiring Kerberos authentication or anonymous setup need to be enabled etc. I believe this is very simple setup to implement and work with RSS viewer.
Good luck!

  1. December 30th, 2009 at 18:21
    Reply | Quote | #1

    a cool stuff !