hello, I recently upgraded to the 4.0 version (Two Months ago) from 3.52. Since that time the service continues to crash. I have service set to automatically restart. I just upated to 4.0.0.42, perhaps that will correct my issue
Here are entries from the service log:
12/10/2010 23:47:25: SL9QVS00B SOFTWARE Server execution failed (Exception from HRESULT: 0x80080005 (CO_E_SERVER_EXEC_FAILURE))
at System.Runtime.InteropServices.Marshal.ThrowExceptionForHRInternal(Int32 errorCode, IntPtr errorInfo)
at System.Management.ManagementObject.InvokeMethod(String methodName, ManagementBaseObject inParameters, InvokeMethodOptions options)
at LansweeperService.mdlsoftware.GetSoftwareKey(String keytoscan, DataTable& rst, LSWComputer& mycomputer, Boolean& inerror, SqlConnection& sqlcon)
12/10/2010 23:51:19: dc=leviton,dc=inc W2HKDC1.leviton.inc The LDAP server is unavailable.
12/11/2010 00:05:38: BTFPKLP51 SOFTWARE The remote procedure call failed. (Exception from HRESULT: 0x800706BE)
at System.Runtime.InteropServices.Marshal.ThrowExceptionForHRInternal(Int32 errorCode, IntPtr errorInfo)
at System.Management.ManagementObject.Initialize(Boolean getObject)
at System.Management.ManagementBaseObject.get_wbemObject()
at System.Management.ManagementObject.get_ClassPath()
at System.Management.ManagementObject.GetMethodParameters(String methodName, ManagementBaseObject& inParameters, IWbemClassObjectFreeThreaded& inParametersClass, IWbemClassObjectFreeThreaded& outParametersClass)
at System.Management.ManagementObject.GetMethodParameters(String methodName)
at LansweeperService.mdlsoftware.GetSoftwareKey(String keytoscan, DataTable& rst, LSWComputer& mycomputer, Boolean& inerror, SqlConnection& sqlcon)
12/11/2010 00:08:21: CORPORATE\SL9QVS00B\1
at System.Runtime.InteropServices.Marshal.ThrowExceptionForHRInternal(Int32 errorCode, IntPtr errorInfo)
at System.Management.ManagementObjectCollection.ManagementObjectEnumerator.MoveNext()
at LansweeperService.MdlWmi.LSWindowsVersion(LSWComputer& mycomputer, SqlConnection& SqlconLSWIndowsversion)
12/11/2010 00:10:54: SL9QVS00B USERSINGROUP
at System.Runtime.InteropServices.Marshal.ThrowExceptionForHRInternal(Int32 errorCode, IntPtr errorInfo)
at System.Management.ManagementObjectCollection.ManagementObjectEnumerator.MoveNext()
at LansweeperService.sweeperthread.GetTheUsersAndGroups(LSWComputer mycomputer, String section, SqlConnection& sqlcon)
12/11/2010 00:17:08: SL9QVS00B PROCESS Thread was being aborted.
at System.Management.IEnumWbemClassObject.Next_(Int32 lTimeout, UInt32 uCount, IWbemClassObject_DoNotMarshal[] apObjects, UInt32& puReturned)
at System.Management.ManagementObjectCollection.ManagementObjectEnumerator.MoveNext()
at LansweeperService.MdlWmi.GetWMI(String Querystr, String Table, LSWComputer& mycomputer, String section, SqlConnection& sqlcon)
12/11/2010 00:17:08: Uncatched error: CORPORATE\SL9QVS00B\1 Thread was being aborted.
at LansweeperService.MdlWmi.GetWMI(String Querystr, String Table, LSWComputer& mycomputer, String section, SqlConnection& sqlcon)
at LansweeperService.MdlWmi.LSProcess(LSWComputer& mycomputer, String Section, SqlConnection& sqlcon)
at LansweeperService.sweeperthread.TheSweeper(Object myThreadinfo)
12/11/2010 00:27:55: Starting up service 4.0.0.42, port 9524, 60 computer threads, 10 IP threads
12/11/2010 00:27:55: Premium version