→ 🚀Are you a Lansweeper Champion?! Join our Contributor Program Sign up here!

Community FAQ
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Taylor_Pilewski
Engaged Sweeper
Fresh Windows XP SP 3 install.

Active Scanning: Enabled

Domain DNS Name: US01.rootz.net

Domain NetBiosName: US01

Connection Tester works fine.

LanSweeper Queue shows that LanSweeper is working, but is not processing PC's.

I can login to the Configuration Tool no prob.

I can ping the box from another computer on the network. And the Lansweeper server can ping that computer in return.

I have no idea what I'm doing wrong.

7 REPLIES 7
Taylor_Pilewski
Engaged Sweeper
I feel obligated to reply with what the actual solution was here.

When I was entering my license key, I was getting the error message I reported in my first post.

So I was exectuting the following code:

SET ANSI_WARNINGS OFF

What this did was force the serial key into the app but not actually activate Premium mode. Even though it said it did. So this is why the Active Scanning wasn't working.

After consulting via email with LanSweeper tech support, I was directed to this thread:

http://www.lansweeper.com/forum/yaf_postst1875_Registration-error--String-or-binary-data-would-be-truncated.aspx

Where I then was told to execute this code instead:


ALTER TABLE tsysconfig ALTER COLUMN Licensekey varchar(2000)
GO


This ACTUALLY validated my Premium purchase and allowed me to use Active Scanning the right way.

I was also informed that I might be using an outdated LanSweeper installer, but I'm pretty sure I'm on the current version. I think my license key is just too long for the table it's being entered into.

Don't make the mistake I did and force the key in. Expand the character limit in the table so you can activate properly.

Hope no one else runs into this problem.

LanSweeper service and the app have been great, and I'm already getting great scans from my network

Thanks LanSweeper team!!
Taylor_Pilewski
Engaged Sweeper
I did enter my license, and it says I am valid.

Using 3.5.1

Sending an email to support now referencing this thread.
Taylor.Pilewski wrote:

Sending an email to support now referencing this thread.

Replied
Hemoco
Lansweeper Alumni
I see in the screenshot: freeware version, upgrade to premium.

Did you apply your license key?
If yes, please contact us by mail and send us your license key so we can check for problems.

Which version of Lansweeper service are you using?
Taylor_Pilewski
Engaged Sweeper
I meant to say Scheduled Scan.

When I add a single computer to be scanned, LanSweeper sees it without a problem.

Taylor_Pilewski
Engaged Sweeper
Also,

If I add a computer manually, I am able to scan it.

That's why the results display 2 computers.




Here is my web.config:

<configuration>
<appSettings>
<add key="MM_CONNECTION_HANDLER_Lansweeper" value="sqlserver.htm"/>
<add key="MM_CONNECTION_STRING_Lansweeper" value="Persist Security Info=False;Data Source=CSHDT2000\SQLLANSWEEPER;Initial Catalog=lansweeperdb;User ID=lansweeperuser;Password=mysecretpassword0*;Connect Timeout=120"/>
<add key="MM_CONNECTION_DATABASETYPE_Lansweeper" value="SQLServer"/><add key="MM_CONNECTION_SCHEMA_Lansweeper" value=""/>
<add key="MM_CONNECTION_CATALOG_Lansweeper" value=""/>
<add key="dateformat" value="dd/MM/yyyy"/>
</appSettings>
<system.web>
<compilation debug="false" strict="false" explicit="true">
<assemblies><add assembly="System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
<add assembly="System.Design, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/>
<add assembly="System.Web.Extensions.Design, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
<add assembly="System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>
</assemblies>
</compilation>
<httpHandlers>
<remove verb="*" path="*.asmx"/>
<add verb="*" path="*.asmx" type="System.Web.Script.Services.ScriptHandlerFactory" validate="false"/>
<add verb="*" path="*_AppService.axd" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" validate="false"/>
<add verb="GET,HEAD" path="ScriptResource.axd" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" validate="false"/>
</httpHandlers>
<httpModules>
<add name="ScriptModule" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
</httpModules>
</system.web>
</configuration>





Here is my Lansweeperservice.exe:

<?xml version="1.0" encoding="UTF-8"?>
<configuration>
<appSettings>
<add key="ConnectionString" value="Persist Security Info=False;Data Source=CSHDT2000\SQLLANSWEEPER;Initial Catalog=lansweeperdb;User ID=lansweeperuser;Password=mysecretpassword0*;Connect Timeout=120"/>
</appSettings>
</configuration>
Taylor.Pilewski wrote:

If I add a computer manually, I am able to scan it.
That's why the results display 2 computers.

What exactly do you mean by this?

Could you also please upload your errorlog.txt file.

Archive

This board contains archived posts from the retired Lansweeper Forum and Insiders Community.

New to Lansweeper?

Try Lansweeper For Free

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

Try Now