System.IndexOutOfRangeException: Probable I/O race condition detected while copying memory. The I/O package is not thread safe by default. In multithreaded applications, a stream must be accessed in a thread-safe way, such as a thread-safe wrapper returned by TextReader's or TextWriter's Synchronized methods. This also applies to classes like StreamWriter and StreamReader. at System.Buffer.InternalBlockCopy(Array src, Int32 srcOffset, Array dst, Int32 dstOffset, Int32 count) at System.IO.StreamWriter.Write(Char[] buffer, Int32 index, Int32 count) at System.IO.TextWriter.WriteLine(String value) at System.IO.TextWriter.SyncTextWriter.WriteLine(String value) at System.Diagnostics.TextWriterTraceListener.WriteLine(String message) at System.Diagnostics.TraceInternal.WriteLine(String message) at System.Diagnostics.Debug.WriteLine(String message) at FrontierOnline.WwwV30.BusinessObjects.Collections.MenuLinkCollection.Fill(SqlCommand command) in C:\PROJECTS\FRONTIERONLINE.WWWV40\BusinessObjects\Collections\MenuLinkCollection.cs:line 157 at FrontierOnline.WwwV30.BusinessObjects.Collections.MenuLinkCollection.FillForGenericMenuLink() in C:\PROJECTS\FRONTIERONLINE.WWWV40\BusinessObjects\Collections\MenuLinkCollection.cs:line 106 at FrontierOnline.WwwV30.Controls.VirtualLinkControl.Page_Load(Object sender, EventArgs e)