
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-11-2008 02:28 PM
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.
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.
Labels:
- Labels:
-
Archive
6 REPLIES 6

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-20-2008 02:51 PM
It tests fine using the hostname and IP address but this is whay I get using FQDN. Scan's started with the lsclient work fine also. The product is great by the way. If there was one request, it would be for documentation on how Lansweeper works, especially in an AD environment.
Ping test FAILED
An exception occurred during a Ping request.
-----------------------------------------------
Remote registry test FAILED
The network path was not found.
-----------------------------------------------
Remote WMI access test FAILED
The RPC server is unavailable. (Exception from HRESULT: 0x800706BA)
Ping test FAILED
An exception occurred during a Ping request.
-----------------------------------------------
Remote registry test FAILED
The network path was not found.
-----------------------------------------------
Remote WMI access test FAILED
The RPC server is unavailable. (Exception from HRESULT: 0x800706BA)

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-21-2008 10:41 AM
Jrobinson wrote:
It tests fine using the hostname and IP address but this is whay I get using FQDN. Scan's started with the lsclient work fine also. The product is great by the way. If there was one request, it would be for documentation on how Lansweeper works, especially in an AD environment.
Ping test FAILED
An exception occurred during a Ping request.
-----------------------------------------------
Remote registry test FAILED
The network path was not found.
-----------------------------------------------
Remote WMI access test FAILED
The RPC server is unavailable. (Exception from HRESULT: 0x800706BA)
So everything works great except connecting to FQDN names (computer.domain.local)
This is caused by dns problems or incorrect dns configuration on the clients.
lsclient scans back based on Ip address.
Active scanning uses the FQDN name of the computer and resolves this to an IP (this is what's failing in your case)

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-14-2008 09:36 PM
You can download the connection tester from this thread : http://www.lansweeper.com/forum/yaf_postst251_Client-problems-gt-use-the-connection-tester-first.aspx
Test it first on the affected machine using hostname, FQDN and IP address.
Test it first on the affected machine using hostname, FQDN and IP address.

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-14-2008 02:33 PM
I changed the active scanning back to 0 and the errors have returned

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-12-2008 07:18 PM
I changed the active scanning value to 0 and most of the problems seem to have cleared up. I still have errors using the action screen even after following the fixes in the forum, but one thing at a time.
<?xml version="1.0" encoding="UTF-8"?>
<configuration><appSettings>
<add key="ConnectionString" value="Persist Security Info=False;Data Source=CP-2K3-EUSSERVR\SQLEXPRESS;Initial Catalog=Lansweeper32;User ID=lssqluser32;Password=mysecretpassword0*"/>
<add key="ConcurrentThreads" value="20"/>
<add key="ListenPort" value="9524"/>
<add key="Activescanning" value="0" />
</appSettings></configuration>
<?xml version="1.0" encoding="UTF-8"?>
<configuration><appSettings>
<add key="ConnectionString" value="Persist Security Info=False;Data Source=CP-2K3-EUSSERVR\SQLEXPRESS;Initial Catalog=Lansweeper32;User ID=lssqluser32;Password=mysecretpassword0*"/>
<add key="ConcurrentThreads" value="20"/>
<add key="ListenPort" value="9524"/>
<add key="Activescanning" value="0" />
</appSettings></configuration>

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-11-2008 07:53 PM
Which is the most common error on your clients, is it the RPC error?
When you run the connectiontester, do you see any errors?
When you run the connectiontester, do you see any errors?
