Hi everyone,
This morning I tried to update LS to version 3.5, but got stopped by a problem...
are the configuration keys for 3.2 still usable on 3.5? I have my .config file for the LS service with custom values on there keys:
<add key="ListenPort" value="9525" />
<add key="Activescanning" value="0" />
<add key="ConcurrentThreads" value="20" />
I'm not using the default listen port here, because I actually have 2 instances of the service: one of them performs active scanning on my Ad, the other one scans production servers, that are not inside the domain (workgroup mode). This is because I execute the service with a different user name on each case.
When I tried to upgrade with the new version of the service, it looks like the config keys are being ignore and both instances are trying to use the default port (9524), so one of them crashes with this error:
3/11/2009 8:50:24 AM: Failed to listen on prefix 'http://*:9524/' because it conflicts with an existing registration on the machine.
at System.Net.HttpListener.AddAll()
at System.Net.HttpListener.Start()
at LansweeperService.Listen.DoListen()
at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Threading.ThreadHelper.ThreadStart()
So, are these configuration keys still applicable? did their name change on the new version? or am I missing something?
Thanks,
Juan G