Community FAQ
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
jacobsenm
Engaged Sweeper III
Hi,

I am using LANSweeper 3.5.1.28957

I recently upgraded from version 3.2 to 3.5.1.28957
Now I found that the software search from the right upper corner does not work anymore.
When I type the software name, it displays it in the lookup.
But when I press enter or click on the "magnifying glass" icon no results are displayed.

When I try to find for instance all Autocad software (find on auto) it display a script error:

Line 27
Char 9
Error 'document.getElementByID(....) is null or not an object
Code 0
URL: http://euedeap04/lansweeper32/default.aspx?
software=auto&item=searchsoftware

Can you help to resolve this ?

Thank you.
15 REPLIES 15
jacobsenm
Engaged Sweeper III
1) done
2) I removed the old connect string and replaced with the below mentioned
Copy the connectionstring:
<add key="MM_CONNECTION_STRING_Lansweeper" value="Persist Security Info=False;Data Source=EUEDEAP04\SQLEXPRESS;Initial Catalog=Lansweeper32;User ID=lssqluser32;Password=mysecretpassword0*;Connect Timeout=120"/>

3) I copied the website from the 3.2 to 3.5 update zip file (first removed all old files and replaced with the update-zip files
4) see point 2.)


I see no difference.
The user and computer lookup works fine.
the software lookup does not work fine.
When I type the software name is automatically filters the names, so I can see the software names.
When I select one, there is no computer found that has the software.

Any other suggestions ?

Thanks you
Hemoco
Lansweeper Alumni
1)I would suggest to remove the complete website (make a backup first)

2)Copy the connectionstring:
<add key="MM_CONNECTION_STRING_Lansweeper" value="Persist Security Info=False;Data Source=EUEDEAP04\SQLEXPRESS;Initial Catalog=Lansweeper32;User ID=lssqluser32;Password=mysecretpassword0*;Connect Timeout=120"/>

3) reinstall the website using the normal setup (only select the website)
4) change the connectionstring to your old connectionstring in the web.config file.
jacobsenm
Engaged Sweeper III
I just uploaded the default.aspx as a zipped file

Hemoco
Lansweeper Alumni
Could you upload your default.aspx file please.
jacobsenm
Engaged Sweeper III
The other searches work well. Only the software search does not.
I will attach the config file



<configuration>
<appSettings>
<add key="MM_CONNECTION_HANDLER_Lansweeper" value="sqlserver.htm"/>
<add key="MM_CONNECTION_STRING_Lansweeper" value="Persist Security Info=False;Data Source=EUEDEAP04\SQLEXPRESS;Initial Catalog=Lansweeper32;User ID=lssqluser32;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>
Hemoco
Lansweeper Alumni
Most likely it's a problem with the website upgrade.

Could you upload your web.config file please.
Are the other searches working?

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