Hi
This might be a port problem. if i do a netstat -a i don't see port 9524. even if i use tcpview ... it still show no port
Ways i've tried to add ports.
1 Start, Control Panel, Windows Firewall,exeptions, add port
2 Start, Control Panel, Windows Firewall,Advanced,Select Local Area Connection, Settings, Add and fill ion the fields as follows:
Lansweeper,127.0.0.1, 9524,9524 and check TCP
.
I've open ports in different ways, but hell I can't see that port. All I want to do is get lswinap to run but it says"
"When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server down not allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server)"
Then you click OK and it opens the white lansweeper box with no data.
Lsservice can log in and runs perfectly but as soon as you open the website it gives errors.
The top box under description:
<%@ Page Language="VB" ContentType="text/html" %>
<%@ Register TagPrefix="MM" Namespace="DreamweaverCtrls" Assembly="DreamweaverCtrls,version=1.0.0.0,publicKeyToken=836f606ede05d46a,culture=neutral" %>
<MM:DataSet
runat="Server"
id="DScomputers"
IsStoredProcedure="true"
CreateDataSet="true"
ConnectionString='<%# System.Configuration.ConfigurationSettings.AppSettings("MM_CONNECTION_STRING_Lansweeper") %>'
DatabaseType='<%# System.Configuration.ConfigurationSettings.AppSettings("MM_CONNECTION_DATABASETYPE_Lansweeper") %>'
CommandText="dbo.WebComputers"
Debug="true"
><Parameters>
<Parameter Name="@RETURN_VALUE" Type="Int" Direction="ReturnValue" />
<Parameter Name="@computername" Value='<%# request("computername") %>' Type="VarChar" Direction="Input" />
<Parameter Name="@description" Value='<%# request("description") %>' Type="VarChar" Direction="Input" />
<Parameter Name="@addomaindns" Value='<%# request("addomaindns") %>' Type="VarChar" Direction="Input" />
</Parameters></MM:DataSet>
<MM:PageBind runat="server" PostBackBind="true" />
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>New Page 3</title>
<link href="CSS/lansweeper.css" rel="stylesheet" type="text/css">
</head>
<body topmargin="0" leftmargin="0" rightmargin="0" marginwidth="0" marginheight="0" bottommargin="0">
<table border="0" cellpadding="2" cellspacing="0" width="100%" id="table1">
<tr>
<td bgcolor="#FFFFFF"><table width="100%" border="0" cellpadding="1" cellspacing="1" id="Resulttable">
<tr>
<td width="18" class="columngrey"> </td>
<td class="columngrey">Computer (<%= DScomputers.RecordCount %>)</td>
<td class="columngrey">Description</td>
<td class="columngrey">Domain</td>
<td class="columngrey">Last seen</td>
</tr>
<ASP:Repeater runat="server" DataSource='<%# DScomputers.DefaultView %>'>
<ItemTemplate>
<tr>
<td width="18"><font size="1"><img src="Icons/exe.gif" width="16" height="16"></font></td>
<td><font size="1"><a href="process.aspx?computername=<%# DScomputers.FieldValue("Computername", Container) %>&description=<%# DScomputers.FieldValue("theDescription", Container) %>" target="frmprocess" class="hotlink"><%# DScomputers.FieldValue("Computername", Container) %></a></font></td>
<td><font size="1"><%# DScomputers.FieldValue("thedescription", Container) %></font></td>
<td><font size="1"><%# DScomputers.FieldValue("ADdomainDNS", Container) %></font></td>
<td><font size="1"><%# DScomputers.FieldValue("Lastseen", Container) %></font></td>
</tr>
</ItemTemplate>
</ASP:Repeater>
</table></td>
</tr>
</table>
</body>
</html>
and the box underneath that shows:
<%@ page language="VBSCRIPT" ASPCompat="true"%>
<%
if request("link") <> "" then
session("bottomsubbar")= request("link")
else
'session("bottomsubbar")= "empty"
end if
if session("bottomsubbar")="" then
session("bottomsubbar")= "empty"
end if
%>
<Script runat="server">
function getclass(byval sessie as string) as string
if session("bottomsubbar") = sessie then
return "seltext"
else
return "normaltext"
end if
end function
</script>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>New Page 1</title>
<link href="CSS/lansweeper.css" rel="stylesheet" type="text/css">
<SCRIPT LANGUAGE=javascript>
function change() {
parent.parent.frames["frmbottom"].document.location = "<%=session("bottomsubbar")%>.aspx?computername=<%=session("computername")%>";
}
</SCRIPT>
</head>
<body bgcolor="#FFFFFF" text="#000000" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" onload="return change()">
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<%select case session("bottombar")%>
<%case "extra"%>
<tr>
<td align="left" valign="top" > <span class="small"><img src="Icons/scan.gif" align="absbottom"> <a href="bottomsubbar.aspx?link=lastscan" class="<%=getclass("lastscan")%>">Last Scan</a> </span> <span class="small"> |</span><span class="small"> </span><span class="small"><img src="Icons/error.gif" width="16" height="16" align="absbottom"> <a href="bottomsubbar.aspx?link=errors" class="<%=getclass("errors")%>">Errors</a> </span> <span class="small"> |</span><img src="Icons/linkicon_external.gif" width="26" height="12"><a href="http://www.lansweeper.com" target="_blank">Lansweeper.com</a></td>
</tr>
<%case "userinfo"%>
<tr>
<td align="left" valign="top" > <img src="Icons/logoninfo.gif" width="16" height="16" align="absbottom"> <a href="bottomsubbar.aspx?link=logoninfo" class="<%=getclass("logoninfo")%>">Logon</a> <span class="small">|</span><span class="small"> <img src="Icons/user.gif" width="16" height="16" align="absbottom"> </span><a href="bottomsubbar.aspx?link=users" class="<%=getclass("users")%>">Users</a> <span class="small">| <img src="Icons/groups.gif" width="16" height="16" align="absbottom"> </span><a href="bottomsubbar.aspx?link=groups" class="<%=getclass("groups")%>">Groups</a> <span class="small">| <img src="Icons/usersgroups.gif" width="16" height="16" align="absbottom"> </span><a href="bottomsubbar.aspx?link=usergroups" class="<%=getclass("usergroups")%>">Users in Groups</a></td>
</tr>
<%case "hardware"%>
<tr>
<td align="left" valign="top" > <img src="Icons/printer.gif" width="16" height="16" align="absbottom"> <a href="bottomsubbar.aspx?link=Printers" class="<%=getclass("Printers")%>">Printer</a><span class="small"> | <img src="Icons/netw.gif" width="16" height="16" align="absbottom"> </span><a href="bottomsubbar.aspx?link=Network" class="<%=getclass("Network")%>">Network</a><span class="small"> |</span><span class="small"> </span><img src="Icons/floppy.gif" width="16" height="16" align="absbottom"> <a href="bottomsubbar.aspx?link=Floppy" class="<%=getclass("Floppy")%>">Floppy</a><span class="small"> |</span><img src="Icons/cpu.gif" width="16" height="16" align="absbottom"> <a href="bottomsubbar.aspx?link=Baseboard" class="<%=getclass("Baseboard")%>">Baseboard</a><span class="small"> |</span><img src="Icons/battery.gif" width="16" height="16" align="absbottom"> <a href="bottomsubbar.aspx?link=Battery" class="<%=getclass("Battery")%>">Battery</a><span class="small"> |</span><img src="Icons/empty.gif" width="16" height="16" align="absbottom"> <a href="bottomsubbar.aspx?link=Bus" class="<%=getclass("Bus")%>">Bus</a><span class="small"> |</span> <img src="Icons/cd.gif" width="16" height="16" align="absbottom"> <a href="bottomsubbar.aspx?link=Cdrom" class="<%=getclass("Cdrom")%>">CDrom</a><span class="small"> |</span><img src="Icons/system2.gif" width="16" height="16" align="absbottom"> <a href="bottomsubbar.aspx?link=Systemproduct" class="<%=getclass("Systemproduct")%>">SystemProduct</a><span class="small"> | </span><img src="Icons/ide.gif" width="16" height="16" align="absbottom"> <a href="bottomsubbar.aspx?link=IDE" class="<%=getclass("IDE")%>">IDE</a><span class="small"> |</span><img src="Icons/infrared.gif" width="16" height="16" align="absbottom"> <a href="bottomsubbar.aspx?link=Infrared" class="<%=getclass("Infrared")%>">Infared</a><span class="small"> |</span> <img src="Icons/keyboard.gif" width="16" height="16" align="absbottom"> <a href="bottomsubbar.aspx?link=Keyboard" class="<%=getclass("Keyboard")%>">Keyboard</a><span class="small"> |</span><br>
<img src="Icons/device.gif" width="16" height="16" align="absbottom"> <a href="bottomsubbar.aspx?link=Onboard" class="<%=getclass("Onboard")%>">Onboard</a><span class="small"> |<img src="Icons/port.gif" width="16" height="16" align="absbottom"> <a href="bottomsubbar.aspx?link=Parallelport" class="<%=getclass("Parallelport")%>">Parallelport</a> |</span><img src="Icons/pcmcia.gif" width="16" height="16" align="absbottom"> <a href="bottomsubbar.aspx?link=pcmcia" class="<%=getclass("pcmcia")%>">PCMCIA</a><span class="small"> |</span><img src="Icons/mice.gif" width="16" height="16" align="absbottom"> <a href="bottomsubbar.aspx?link=pointing" class="<%=getclass("pointing")%>">Pointing</a><span class="small"> |</span><img src="Icons/battery.gif" width="16" height="16" align="absbottom"> <a href="bottomsubbar.aspx?link=portablebattery" class="<%=getclass("portablebattery")%>">PortableBattery</a><span class="small"> |<img src="Icons/device.gif" width="16" height="16" align="absbottom"> <a href="bottomsubbar.aspx?link=portconnector" class="<%=getclass("portconnector")%>">Portconnector</a> |</span><img src="Icons/modem.gif" width="16" height="16" align="absbottom"> <a href="bottomsubbar.aspx?link=modem" class="<%=getclass("modem")%>">Modem</a><span class="small"> |</span><img src="Icons/processor.gif" width="16" height="16" align="absbottom"> <a href="bottomsubbar.aspx?link=processor" class="<%=getclass("processor")%>">Processor</a><span class="small"> |</span><img src="Icons/ide.gif" width="16" height="16" align="absbottom"> <a href="bottomsubbar.aspx?link=scsi" class="<%=getclass("scsi")%>">SCSI</a><span class="small"> |<img src="Icons/port.gif" width="16" height="16" align="absbottom"> <a href="bottomsubbar.aspx?link=serialport" class="<%=getclass("serialport")%>">Serialport</a> |</span><img src="Icons/sound.gif" width="16" height="16" align="absbottom"> <a href="bottomsubbar.aspx?link=sound" class="<%=getclass("sound")%>">Sound</a><span class="small"> |<br>
<img src="Icons/tape.gif" width="16" height="16" align="absbottom"> <a href="bottomsubbar.aspx?link=tape" class="<%=getclass("tape")%>">Tape</a> |<img src="Icons/rdp.gif" width="16" height="16" align="absbottom"> <a href="bottomsubbar.aspx?link=Terminal" class="<%=getclass("Terminal")%>">Terminal</a> |</span><img src="Icons/usb.gif" width="16" height="16" align="absbottom"> <a href="bottomsubbar.aspx?link=Usb" class="<%=getclass("Usb")%>">USB</a><span class="small"> |</span><img src="Icons/device.gif" width="16" height="16" align="absbottom"> <a href="bottomsubbar.aspx?link=Video" class="<%=getclass("Video")%>">Video</a><span class="small"> </span></td>
</tr>
<%case "installation"%>
<tr>
<td align="left" valign="top" > <img src="Icons/arp.gif" width="16" height="16" align="absbottom"> <a href="bottomsubbar.aspx?link=Software" class="<%=getclass("Software")%>">Software</a><span class="small"> | <img src="Icons/dcom.gif" width="16" height="16" align="absbottom"> </span><a href="bottomsubbar.aspx?link=Com" class="<%=getclass("Com")%>">COM</a><span class="small"> |</span><img src="Icons/dcom.gif" width="16" height="16" align="absbottom"> <a href="bottomsubbar.aspx?link=dcom" class="<%=getclass("dcom")%>">DCOM</a><span class="small"> |</span><img src="Icons/dcom.gif" width="16" height="16" align="absbottom"> <a href="bottomsubbar.aspx?link=componentcategory" class="<%=getclass("componentcategory")%>">ComponentCategory</a><span class="small"> |</span><img src="Icons/codec.gif" width="16" height="16" align="absbottom"> <a href="bottomsubbar.aspx?link=codecs" class="<%=getclass("codecs")%>">Codecs</a></td>
</tr>
<%case "configuration"%>
<tr>
<td align="left" valign="top" > <img src="Icons/empty.gif" width="16" height="16" align="absbottom"> <a href="bottomsubbar.aspx?link=boot" class="<%=getclass("boot")%>">Boot</a><span class="small"> | <img src="Icons/desktop.gif" width="16" height="16" align="absbottom"> </span><a href="bottomsubbar.aspx?link=desktop" class="<%=getclass("desktop")%>">Desktop</a><span class="small"> |</span><img src="Icons/monitor.gif" width="16" height="16" align="absbottom"> <a href="bottomsubbar.aspx?link=desktopmonitor" class="<%=getclass("desktopmonitor")%>">Desktopmonitor</a><span class="small"> |</span><img src="Icons/disk.gif" width="16" height="16" align="absbottom"> <a href="bottomsubbar.aspx?link=diskpartition" class="<%=getclass("diskpartition")%>">Diskpartition</a><span class="small"> |</span><img src="Icons/vid.gif" width="16" height="16" align="absbottom"> <a href="bottomsubbar.aspx?link=display" class="<%=getclass("display")%>">Display</a><span class="small"> |</span><img src="Icons/device.gif" width="16" height="16" align="absbottom"> <a href="bottomsubbar.aspx?link=displaycontroller" class="<%=getclass("displaycontroller")%>">Displaycontroller</a><span class="small"> |</span><img src="Icons/driver.gif" width="16" height="16" align="absbottom"> <a href="bottomsubbar.aspx?link=drivers" class="<%=getclass("drivers")%>">Drivers</a><span class="small"> |</span><img src="Icons/empty.gif" width="16" height="16" align="absbottom"> <a href="bottomsubbar.aspx?link=environment" class="<%=getclass("environment")%>">Environment</a><span class="small"> |</span><img src="Icons/empty.gif" width="16" height="16" align="absbottom"> <a href="bottomsubbar.aspx?link=extensionaction" class="<%=getclass("extensionaction")%>">ExtensionAction</a><span class="small"> |</span><br>
<img src="Icons/empty.gif" width="16" height="16" align="absbottom"> <a href="bottomsubbar.aspx?link=logicalprogramgroup" class="<%=getclass("logicalprogramgroup")%>">LogicalProgramGroup</a><span class="small"> |</span><img src="Icons/empty.gif" width="16" height="16" align="absbottom"> <a href="bottomsubbar.aspx?link=recovery" class="<%=getclass("recovery")%>">Recovery</a><span class="small"> | </span> </td>
</tr>
<%case "windows"%>
<tr>
<td align="left" valign="top" > <img src="Icons/shares.gif" width="16" height="16" align="absbottom"> <a href="bottomsubbar.aspx?link=shares" class="<%=getclass("shares")%>">Shares</a><span class="small"> | <img src="Icons/disk.gif" width="16" height="16" align="absbottom"> </span><a href="bottomsubbar.aspx?link=harddisk" class="<%=getclass("harddisk")%>">Harddisk</a><span class="small"> |</span><img src="Icons/service.gif" width="16" height="16" align="absbottom"> <a href="bottomsubbar.aspx?link=services" class="<%=getclass("services")%>">Services</a><span class="small"> |</span><span class="small"> </span><img src="Icons/netw.gif" width="16" height="16" align="absbottom"> <a href="bottomsubbar.aspx?link=networkclient" class="<%=getclass("networkclient")%>">Networkclient</a><span class="small"> | </span><img src="Icons/pagefile.gif" width="16" height="16" align="absbottom"> <a href="bottomsubbar.aspx?link=pagefile" class="<%=getclass("pagefile")%>">Pagefile</a><span class="small"> | </span><img src="Icons/fix.gif" width="16" height="16" align="absbottom"> <a href="bottomsubbar.aspx?link=quickfix" class="<%=getclass("quickfix")%>">Quickfix</a><span class="small"> | </span></td>
</tr>
<%case "running"%>
<tr>
<td align="left" valign="top" > <img src="Icons/run.gif" width="16" height="16" align="absbottom"> <a href="bottomsubbar.aspx?link=autorun" class="<%=getclass("autorun")%>">Autorun</a><span class="small"> | <img src="Icons/process.gif" width="16" height="16" align="absbottom"> </span><a href="bottomsubbar.aspx?link=processes" class="<%=getclass("processes")%>">Processes</a><span class="small"> |</span><span class="small"> </span>
</td>
</tr>
<%case "ie"%>
<tr>
<td align="left" valign="top" > <img src="Icons/activex.png" width="16" height="15" align="absbottom"> <a href="bottomsubbar.aspx?link=activex" class="<%=getclass("activex")%>">ActiveX</a> <span class="small">| <img src="Icons/activex.png" width="16" height="15" align="absbottom"> </span><a href="bottomsubbar.aspx?link=bars" class="<%=getclass("bars")%>">Browser Bars</a><span class="small"> |</span><span class="small"> </span><span class="small"><img src="Icons/activex.png" width="16" height="15" align="absbottom"> </span><a href="bottomsubbar.aspx?link=bho" class="<%=getclass("bho")%>">Browser Helper Objects</a><span class="small"> |</span><span class="small"> </span><span class="small"><img src="Icons/activex.png" width="16" height="15" align="absbottom"> </span><a href="bottomsubbar.aspx?link=extensions" class="<%=getclass("extensions")%>">Browser Extensions</a><span class="small"> |</span><span class="small"> </span> </td>
</tr>
<%case else%>
<%end select%>
</table>
</body>
</html>
i've tried everything and i still can't get this thing running. Please assit