Problem with MSRSS

While testing some RSS stuff tonight with the Windows RSS Platform, I tried to delete a feed. The results below:

************** Exception Text **************
System.IO.FileLoadException: The process cannot access the
file because it is being used by another process.
(Exception from HRESULT: 0x80070020)
at Feeds.IFeed.Delete()
at FeedExplorer.MainWindow.tsmMainTree_FeedDeleteFeed(Object
sender, EventArgs e) in G:\Projects\Feed Explorer\
Feed Explorer\UI\MainWindow.cs:line 1217
at System.Windows.Forms.ToolStripItem.RaiseEvent(Object key,
EventArgs e)
at System.Windows.Forms.ToolStripMenuItem.OnClick(EventArgs e)
...

I had Internet Explorer open, that might have caused it, and I had also recently done a complete update of every feed in the store. Regardless, I should not be getting –

System.IO.FileLoadException: The process cannot access the file because it is being used by another process.

exceptions when calling Delete on an IFeed. My customers will not be happy if they get errors simply because another application (or feed update thread) has a file handle open. I’ll chalk this up to MSRSS being at Beta for now, cross your fingers.

Another gripe, MSRSS doesn’t pick up feed changes very well. I recently posted to my blog and forgot an article title. It was pretty cool when I opened Feed Explorer a little while later and found my new post already archived, but when I hit refresh (IFeed.asyncDownload()) I was bummed when the feed store failed to pick up the article title update.

Update – I’ve addressed this through changes in my event watcher code thanks to some fixes in the Beta 3 release.

2 thoughts on “Problem with MSRSS

  1. messagem de erro 0X80070020 ,como posso solucionar o probelam,tento abril uma pasta criado com nero shwo time e aparece o codigo 0X80070020 dizendo que o aplicativo esdta sendo usado por outro
    Sem mais obrigado

Leave a Reply

Your email address will not be published. Required fields are marked *