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

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
tomazj
Engaged Sweeper
Hi,
I'm struggling to make LS work, but I'm stuck with following problem.
Service does not work and I did not found out why. Then I tried LSwinap.exe and it pops up following error dialog:

28.11.2007 11:14:04 The ConnectionString property has not been initialized.


SQL server connection is working, I got UI on in browser (I tried with wrong pass in web.config and immediately receive SQL errors, so without SQL errors in browser SQL connection must be working).
Firewall is not running, I can establish SQL connection from server via ODBC without problems.
My LSwinap.exe.config looks like that (SQL server security):

<?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="data source=&quot;10.0.0.90&quot;;persist security info=True;initial catalog=Lansweeper;user id=lsuser;password=mypass" />
<add key="ConcurrentThreads" value="5" />
</appSettings>
</configuration>


I would need some help.
Thanks.
2 REPLIES 2
tomazj
Engaged Sweeper
Uh, now I see it, I don't know how this happened. Probably some copy+paste glitch.
It is working now, thanks for quick help 🙂
Hemoco
Lansweeper Alumni
you deleted a part in your config file:


<?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="ConnectionString" value="data source=&quot;10.0.0.90&quot;;persist security info=True;initial catalog=Lansweeper;user id=lsuser;password=mypass" />
<add key="ConcurrentThreads" value="5" />
</appSettings>
</configuration>

New to Lansweeper?

Try Lansweeper For Free

Experience Lansweeper with your own data.
Sign up now for a 14-day free trial.

Try Now