Server Error in '/' Application.
The process cannot access the file 'C:\Users\www.womble.co.za\cable_map\landing_stations.js' because it is being used by another process.
Line 236: public void PutFileContents(string filename, string txt)
Line 237: {
Line 238: TextWriter tw = new StreamWriter(filename);
Line 239: tw.Write(txt);
Line 240: tw.Close();
It seems that there is a race condition where each web request tries to open this file, and Windows doesn't let you have the file open multiple times (at least with the chosen options).