RSS Viewer : RssWebPart: Exception handed Fix


RSS Viewer : RssWebPart: Exception handed Fix

While configuring the RSS Web part on mysite I got  RssWebPart: Exception handed to HandleRuntimeException.HandleException System.Net.WebException: The remote name could not be resolved.  After some research I found some links to fix the issues.

http://suguk.org/forums/thread/3301.aspx

http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=1609877&SiteID=1

You face this issue if you are using proxy server at your environment.  You just need to provide the proxy address in you site web.config. e.g.

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

 

You can also use it the following way http://proxyservername:1234.

But because I was not aware what kind of proxy my client will use after deployment I use the following code

<system.net>
      <defaultProxy>
         <proxy usesystemdefault = "
true" bypassonlocal="true" />
      </defaultProxy>
   </system.net> 

Jerry