cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
joegasper
Engaged Sweeper
Seeing the error very often.
Service crashes often also (like every 5-10 mins in morning when users are logging on).

-------------------------------------------------------------------------
5/21/2008 8:15:29 AM
System.ObjectDisposedException: Cannot write to a closed TextWriter.
at System.IO.StreamWriter.Flush(Boolean flushStream, Boolean flushEncoder)
at System.IO.StreamWriter.Write(Char[] buffer, Int32 index, Int32 count)
at System.IO.TextWriter.WriteLine(String value)
at Lansweeper31.Listen.DoListen()
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Threading.ThreadHelper.ThreadStart()
-------------------------------------------------------------------------
5/21/2008 8:16:48 AM : Database connection successful, starting up service

5/21/2008 8:18:25 AM : OFA-FA-212
System.Management.ManagementException: Provider failure
at System.Management.ManagementException.ThrowWithExtendedInfo(ManagementStatus errorCode)
at System.Management.ManagementObjectCollection.ManagementObjectEnumerator.MoveNext()
at Lansweeper31.sweeperthread.GetWMI(String Querystr, String Table, clsComputer mycomputer, String section, clsThreadinfo Threadinfo, SqlConnection& sqlcon)
-------------------------------------------------------------------------
5/21/2008 9:24:12 AM : BA-FA-632
System.Management.ManagementException: Provider failure
at System.Management.ManagementException.ThrowWithExtendedInfo(ManagementStatus errorCode)
at System.Management.ManagementObjectCollection.ManagementObjectEnumerator.MoveNext()
at Lansweeper31.sweeperthread.GetWMI(String Querystr, String Table, clsComputer mycomputer, String section, clsThreadinfo Threadinfo, SqlConnection& sqlcon)
-------------------------------------------------------------------------

A thread about the "Cannot write to a closed TextWriter"
http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=219412&SiteID=1

My setup (new, old was running great... win2k3):
Windows 2008 Ent x64 virtual machine running under VMware ESX 3.5
200 clients
The server is basically only running the Lansweeper service.

Thanks!
1 REPLY 1
Hemoco
Lansweeper Alumni
Windows 2008 is not yet supported (and tested)