I've been having problems with Lansweeper since upgrading and finally bit the bullet after not being able to diagnose the error messages I was getting. I blew away sql and lansweeper and did fresh installs. I am still getting information from only about 8% of machines. These are a few of the messages in the error log. They seem to refer to lansweeper31, which isn't installed. All the other message are machine specific versions of these.
11/10/2008 3:46:58 PM : HP-XP-MC-6
System.InvalidCastException: Specified cast is not valid.
at System.Runtime.InteropServices.Marshal.ThrowExceptionForHRInternal(Int32 errorCode, IntPtr errorInfo)
at System.Management.ManagementScope.InitializeGuts(Object o)
at System.Management.ManagementScope.Initialize()
at System.Management.ManagementScope.Connect()
at Lansweeper31.sweeperthread.GetWMI(String Querystr, String Table, clsComputer mycomputer, String section, clsThreadinfo Threadinfo, SqlConnection& sqlcon)
-------------------------------------------------------------------------
11/10/2008 3:46:58 PM : HP-XP-MC-6
System.Runtime.InteropServices.COMException (0x800706D3): The authentication service is unknown. (Exception from HRESULT: 0x800706D3)
at System.Runtime.InteropServices.Marshal.ThrowExceptionForHRInternal(Int32 errorCode, IntPtr errorInfo)
at System.Management.ManagementScope.InitializeGuts(Object o)
at System.Management.ManagementScope.Initialize()
at System.Management.ManagementScope.Connect()
at Lansweeper31.sweeperthread.GetWMI(String Querystr, String Table, clsComputer mycomputer, String section, clsThreadinfo Threadinfo, SqlConnection& sqlcon)
-------------------------------------------------------------------------
11/11/2008 1:25:10 AM
System.DirectoryServices.ActiveDirectory.ActiveDirectoryOperationException: This operation returned because the timeout period expired.
---> System.Runtime.InteropServices.COMException (0x800705B4): This operation returned because the timeout period expired.
at System.DirectoryServices.DirectoryEntry.Bind(Boolean throwIfFail)
at System.DirectoryServices.DirectoryEntry.Bind()
at System.DirectoryServices.DirectoryEntry.get_AdsObject()
at System.DirectoryServices.PropertyValueCollection.PopulateList()
at System.DirectoryServices.PropertyValueCollection..ctor(DirectoryEntry entry, String propertyName)
at System.DirectoryServices.PropertyCollection.get_Item(String propertyName)
at System.DirectoryServices.ActiveDirectory.PropertyManager.GetPropertyValue(DirectoryContext context, DirectoryEntry directoryEntry, String propertyName)
--- End of inner exception stack trace ---
at System.DirectoryServices.ActiveDirectory.PropertyManager.GetPropertyValue(DirectoryContext context, DirectoryEntry directoryEntry, String propertyName)
at System.DirectoryServices.ActiveDirectory.Forest.GetForest(DirectoryContext context)
at System.DirectoryServices.ActiveDirectory.Forest.GetCurrentForest()
at Lansweeper31.starter.ActiveScan()
-------------------------------------------------------------------------
I want to add that I am also getting the error The RPC server is unavailable. (Exception from HRESULT: 0x800706BA). Remote access is enabled on the PC's, the firewall is off and my account is a domain admin.