C
Craig Deelsnyder
I am having trouble writing a file stream to a file. I get the following error:
Exception Details: System.ArgumentException: Stream was not writable.
Source Error:
Line 108: //xmlDataSet.WriteXml(Server.MapPath("/xml/rss.xml"));
Line 109:
Line 110: rssDocument.Save(fs);
Line 111: fs.Close();
Line 112: panel1.Visible = false;
I am sure I am overlooking something small, but I can't seem to figure it out. Any help would be appreciated.
does aspnet user have write access to whatever folder fs is pointing at?
Also make sure the file is not locked, perhaps by another write process...