→ 🚀What's New? Join Us for the Fall Product Launch! Register Now !

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
welmow
Engaged Sweeper
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!
8 REPLIES 8
Hemoco
Lansweeper Alumni
Another post gave me an idea, could you check the security settings of the dotnet framework on your server please.
= mscorcfg.msc
welmow
Engaged Sweeper
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
Hemoco
Lansweeper Alumni
Are you sure that the service is running?
Check with netstat -a if port 9524 is listening.
welmow
Engaged Sweeper
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
Hemoco
Lansweeper Alumni
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$" />
welmow
Engaged Sweeper
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>
welmow
Engaged Sweeper
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.
Hemoco
Lansweeper Alumni
There should be an error in your eventviewer, can you take a look at it please.