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

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s