If you use RSS Bandit and recently installed .NET Framework 1.1 SP1 you may have noticed that you started getting errors of the form

Refresh feed 'SomeCategory\SomeFeed' failed with error: The underlying connection was closed: The server committed an HTTP protocol violation.

This is due to changes made to the System.Net.HttpWebRequest class to make it more compliant to the HTTP specification. For example, it now errors when fetching the Microsoft Research feeds because the web server returns the Content-Location header as "Content Location" with a space. The fix is straightforward and involves placing the following element as a child of the configuration element within the rssbandit.exe.config file in the C:\Program Files\RssBandit folder.

<system.net>
 <settings>
  <httpWebRequest useUnsafeHeaderParsing="true" />
 </settings>
</system.net>

This is also taken care of by v1.2.0.117 of RSS Bandit. When running it detects whether this option is available and enables it automatically so you don't have to mess around with XML configuration files.


 

Sunday, 05 September 2004 18:49:23 (GMT Daylight Time, UTC+01:00)
I'm getting this error with v1.2.0.117 and .Net 1.1 (not SP1). See my post here: http://dotnet.org.za/matt/archive/2004/09/05/3826.aspx
Sunday, 05 September 2004 19:41:28 (GMT Daylight Time, UTC+01:00)
This is the opposite error. I changed the installer for v1.2.0.117 to put the new entry in the rssbandit.exe.config file but this blows up if you have .NET 1.1 (not SP1). I'll fix the installer in a few hours but in the meantime you have 2 choices

(a) upgrade to .NET 1.1 SP1
(b) remove that entry from rssbandit.exe.config although you'll need to put it back if you ever upgrade to .NET 1.1 SP1
Monday, 06 September 2004 06:47:53 (GMT Daylight Time, UTC+01:00)
Thanks!
Comments are closed.