I have several error messages there. The last one is repeated for a number of computers.
2008-01-31 06:55:01 : VD0297
System.Management.ManagementException: Generic failure
at System.Management.ManagementException.ThrowWithExtendedInfo(ManagementStatus errorCode)
at System.Management.ManagementPath.GetManagementPath(IWbemClassObjectFreeThreaded wbemObject)
at System.Management.ManagementObject.GetManagementObject(IWbemClassObjectFreeThreaded wbemObject, ManagementScope scope)
at System.Management.ManagementObjectCollection.ManagementObjectEnumerator.get_Current()
at Lansweeper30.sweeperthread.GetWMI(String Querystr, String Table, clsComputer mycomputer, String section, clsThreadinfo Threadinfo, SqlConnection& sqlcon)
-------------------------------------------------------------------------
2008-01-31 08:28:54 : VD0318
System.Runtime.InteropServices.COMException (0x800706BE)
at System.Runtime.InteropServices.Marshal.ThrowExceptionForHRInternal(Int32 errorCode, IntPtr errorInfo)
at System.Management.ManagementObjectCollection.ManagementObjectEnumerator.MoveNext()
at Lansweeper30.sweeperthread.GetWMI(String Querystr, String Table, clsComputer mycomputer, String section, clsThreadinfo Threadinfo, SqlConnection& sqlcon)
-------------------------------------------------------------------------
2008-01-31 08:41:21 : VD0180
System.Management.ManagementException: Provider failure
at System.Management.ManagementException.ThrowWithExtendedInfo(ManagementStatus errorCode)
at System.Management.ManagementObjectCollection.ManagementObjectEnumerator.MoveNext()
at Lansweeper30.sweeperthread.GetWMI(String Querystr, String Table, clsComputer mycomputer, String section, clsThreadinfo Threadinfo, SqlConnection& sqlcon)