So you’ve got Sharepoint 2001 installed and you’ve got an RSS webpart on your page, but the error message says:
“The requested RSS feed could not be displayed. Please verify the settings and url for this feed. If this problem persists, please contact your administrator.”
What you may not know is that like your workstations and servers, if you use a proxy server then Sharepoint needs to also be configured to use it, as when a user goes to the page, it is the Sharepoint server that is requesting the RSS data and NOT the client’s IP address. Whereas this is quite useful from a firewall point of view as you can tie down the IP addresses which can access various things, it is a bit of a pain for the beginner admin user.“The requested RSS feed could not be displayed. Please verify the settings and url for this feed. If this problem persists, please contact your administrator.”
So what do you need to do?
You need to specify the proxy server in the Web.Config, using the System.Net element. Below are the steps in accomplishing that…
1. Open up the web.config file (eg: C:\inetpub\wwwroot\wss\VirtualDirectories\80)2. Look for the xml node <system.net> (on line 669 for me)3. There should be a <defaultProxy> xml node inside <system.net>. If you don't, create it.4. There should be a <proxy> xml node inside <defaultProxy>. If you don't, create it.5. If you have a autoDetect="True" attribute, remove it as it isn't needed if you are specifying a proxy.6. Add the following attributes to the <proxy> xml node. proxyaddress="http://proxy.company.com:8080" bypassonlocal="true"Your lines would like like this:
<system.net><defaultProxy><proxy proxyaddress="http://10.28.1.253:3128" bypassonlocal="true" /></defaultProxy></system.net>7. Save the web.config.
8. Go to the Command Line (CMD) and type: iisreset
9. You are ready to go.
If you have an authenticated RSS feed, then you would need to work with Kerberos authentication, which is a whole new ball game!
A Good RSS feed to test with is one of the BBC news feeds:
BBC News for England - http://feeds.bbci.co.uk/news/england/rss.xml
BBC Sports News - http://newsrss.bbc.co.uk/rss/sportonline_uk_edition/front_page/rss.xml
(Thanks to Technet and Kit Kai’s Tech Blog for help with this - http://community.sgdotnet.org/blogs/kitkai/archive/2007/04/04/Consuming-RSS-Feeds-using-RSS-WebPart-.aspx)