
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-14-2007 08:33 AM
I've installed lansweeper on a windows xp sp2 machine with sqlexpress, I was able to install the webconsole. I was also succesful to install the lsservice.exe as a service and run as "lsuser" which is a member of domain admin and local computer admin on the server. However, when I try to run the service from the Services MMC, it gives out a dialogue box saying," The lssservice on Local Computer started and stopped. Some services stop automatically if they have no work to do, for example, the Performance Logs and Alert service".
Then I try to run lsclient manually from the workstation using the lsuser (also a domain admin member and admin for local computer or the client computer) It gives out an error like this:
d:\lansweeper21\lsclient.exe 172.16.2.46
-- LanSweeper client --
Connecting to 172.16.2.46: failed
Does the error " The lssservice on Local Computer started and stopped. Some services stop automatically if they have no work to do, for example, the Performance Logs and Alert service" which is shown everytime i start the service on the server related to the problem why my client computers fails to connect?
What should I do?
Need help Thanks!
Then I try to run lsclient manually from the workstation using the lsuser (also a domain admin member and admin for local computer or the client computer) It gives out an error like this:
d:\lansweeper21\lsclient.exe 172.16.2.46
-- LanSweeper client --
Connecting to 172.16.2.46: failed
Does the error " The lssservice on Local Computer started and stopped. Some services stop automatically if they have no work to do, for example, the Performance Logs and Alert service" which is shown everytime i start the service on the server related to the problem why my client computers fails to connect?
What should I do?
Need help Thanks!
Labels:
- Labels:
-
Archive
8 REPLIES 8

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-28-2007 12:48 PM
Another post gave me an idea, could you check the security settings of the dotnet framework on your server please.
= mscorcfg.msc
= mscorcfg.msc

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-16-2007 05:40 AM
In the mmc it states the service is running. But when i do a netstat -a I do not see anything listening on port 9524

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-15-2007 10:14 AM
Are you sure that the service is running?
Check with netstat -a if port 9524 is listening.
Check with netstat -a if port 9524 is listening.

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-15-2007 10:09 AM
I found the error on my xml and was able to run the service.. but still i get an error on my client end something like this:
--Lansweeper client --
Connecting to 172.16.2.46: failed
please help
--Lansweeper client --
Connecting to 172.16.2.46: failed
please help

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-15-2007 09:46 AM
You missed an end quote after p@$$word$
<add key="MM_CONNECTION_STRING_Lansweeper" value="Persist Security Info=False;Data Source=myserver\sqlexpress;Initial Catalog=Lansweeper;User ID=lsuser;Password=p@$$word$" />
<add key="MM_CONNECTION_STRING_Lansweeper" value="Persist Security Info=False;Data Source=myserver\sqlexpress;Initial Catalog=Lansweeper;User ID=lsuser;Password=p@$$word$" />

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-15-2007 09:29 AM
Oh and yes i forgot to paste my config file here it is:
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<appSettings>
<!-- User application and configured property settings go here.-->
<!-- Example: <add key="settingName" value="settingValue"/> -->
<add key="MM_CONNECTION_STRING_Lansweeper" value="Persist Security Info=False;Data Source=myserver\sqlexpress;Initial Catalog=Lansweeper;User ID=lsuser;Password=p@$$word$ />
<add key="ConcurrentThreads" value="20" />
</appSettings>
</configuration>
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<appSettings>
<!-- User application and configured property settings go here.-->
<!-- Example: <add key="settingName" value="settingValue"/> -->
<add key="MM_CONNECTION_STRING_Lansweeper" value="Persist Security Info=False;Data Source=myserver\sqlexpress;Initial Catalog=Lansweeper;User ID=lsuser;Password=p@$$word$ />
<add key="ConcurrentThreads" value="20" />
</appSettings>
</configuration>

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-15-2007 09:27 AM
Here's the event error everytime i run the service or start the service:
Event Type: Error
Event Source: LSservice
Event Category: None
Event ID: 0
Date: 11/15/2007
Time: 3:18:51 PM
User: N/A
Computer: SW-15D-CONF
Description:
Service cannot be started. System.TypeInitializationException: The type initializer for 'LSservice.starter' threw an exception. ---> System.TypeInitializationException: The type initializer for 'System.Data.SqlClient.SqlConnection' threw an exception. ---> System.TypeInitializationException: The type initializer for 'System.Data.SqlClient.SqlConnectionFactory' threw an exception. ---> System.TypeInitializationException: The type initializer for 'System.Data.SqlClient.SqlPerformanceCounters' threw an exception. ---> System.Configuration.ConfigurationErrorsException: Configuration system failed to initialize ---> System.Configuration.ConfigurationErrorsException: '<', hexadecimal value 0x3C, is an invalid attribute character. Line 7, position 3. (C:\lansweeper21\LSservice.exe.config line 7) ---> System.Xml.XmlException: '<', hexadecimal value 0x3C, is an invalid attribute character. Line 7, position 3.
at System.Xml.XmlTextReaderImpl.Throw(Exception e)
at System.Xml.XmlTextReaderImpl.Throw(String res, String[] args)
at Sys...
For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.
Event Type: Error
Event Source: LSservice
Event Category: None
Event ID: 0
Date: 11/15/2007
Time: 3:18:51 PM
User: N/A
Computer: SW-15D-CONF
Description:
Service cannot be started. System.TypeInitializationException: The type initializer for 'LSservice.starter' threw an exception. ---> System.TypeInitializationException: The type initializer for 'System.Data.SqlClient.SqlConnection' threw an exception. ---> System.TypeInitializationException: The type initializer for 'System.Data.SqlClient.SqlConnectionFactory' threw an exception. ---> System.TypeInitializationException: The type initializer for 'System.Data.SqlClient.SqlPerformanceCounters' threw an exception. ---> System.Configuration.ConfigurationErrorsException: Configuration system failed to initialize ---> System.Configuration.ConfigurationErrorsException: '<', hexadecimal value 0x3C, is an invalid attribute character. Line 7, position 3. (C:\lansweeper21\LSservice.exe.config line 7) ---> System.Xml.XmlException: '<', hexadecimal value 0x3C, is an invalid attribute character. Line 7, position 3.
at System.Xml.XmlTextReaderImpl.Throw(Exception e)
at System.Xml.XmlTextReaderImpl.Throw(String res, String[] args)
at Sys...
For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-14-2007 10:10 AM
There should be an error in your eventviewer, can you take a look at it please.
