>FileStream stream = null; >try >{ > stream = File.Create(saveName); > XmlSerializer xml = new XmlSerializer(record.GetType()); > xml.Serialize(stream, record); >} > >where "saveName" is equal to >"C:\\DevelopCSharp\\Pacifica.Tracker\\TrackerClient\\Database\\SpotQueue\\Spot_3-11-2009(15:49:59).xml" >or since I thought the Pacifica.Tracker with a period in it might be the problem >"C:\\DevelopCSharp\\TrackerClientTemp\\Database\SpotQueue\\Spot_3-11-2009(15:49:59).xml" >>None of this works. The file name with the time in parens was working for weeks, the only thing that changed was the app directory.
string saveName = @"C:\DevelopCSharp\TrackerClientTemp\Database\SpotQueue\Spot_3-11-2009(15:49:59).xml";Then you don't have to mess with the double slash