Tuesday, July 7, 2009

Using MOSS Out of box RSS Viewer Webpart

I was trying to use RSS Viewer web part and noticed lots of issues.

I did a lot of searching over the web and finally managed to make it work for me. Thanks to fellows who have already published their finding.

The first or general issue that can be found using RSS Feed Viewer web part is mentioned below

"An unexpected error occured processing your request. Check the logs for details and correct the problem"

There are many possibilities for this but the most common issue arise is related to configuration of proxy settings in your application web.config.

As RSS Viewer use internet for downloading feed it requires proper proxy configuration for locating internet source. Similar is true for any custom application that requires data access from internet and is behind proxy.

Following are steps to configure proxy settings.

1. Go to web application directory generally (C:\Inetpub\wwwroot\wss\VirtualDirectories\)
2. Edit web.config using proper text editor like notepad. (I used word pad for editing and lost my application)
3. Search defaultProxy in web.config
4. Change above system.net XML tag as shown below

<system.net>
<defaultProxy>
<proxy proxyaddress="http://<your proxyserver>:<Your Port>" bypassonlocal="true"/>
</defaultProxy>
</system.net>


5. Please make sure to place proxy address in above format http://: e.g.
http://192.186.0.1:8080 instead of 192.186.0.1:8080 otherwise you will encounter above error.

No comments:

Post a Comment