Community FAQ
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
itadmin2
Engaged Sweeper
When visiting the Web Console it still is not working...
http://localhost:8530/lansweeper32/

System.Data.SqlClient.SqlException: Login failed for user 'lansweeperuser'.
at System.Data.ProviderBase.DbConnectionPool.GetConnection(DbConnection owningObject)
at System.Data.ProviderBase.DbConnectionFactory.GetConnection(DbConnection owningConnection)
at System.Data.ProviderBase.DbConnectionClosed.OpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory)
at System.Data.SqlClient.SqlConnection.Open()
at DreamweaverCtrls.DataSet.DoInit()
--------------------------------------------------------------------------------
System.Data.SqlClient.SqlException: Login failed for user 'lansweeperuser'.
at System.Data.ProviderBase.DbConnectionPool.GetConnection(DbConnection owningObject)
at System.Data.ProviderBase.DbConnectionFactory.GetConnection(DbConnection owningConnection)
at System.Data.ProviderBase.DbConnectionClosed.OpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory)
at System.Data.SqlClient.SqlConnection.Open()
at DreamweaverCtrls.DataSet.DoInit()

-----------------------------------------------------------------------------------------------------------------------
old version
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<appSettings>
<add key="ConnectionString" value="Persist Security Info=False;Data Source=1SOURCEERP;Initial Catalog=lansweeperdb;User ID=lansweeperuser;Password=XXXXXXXXXXXXXXXX" />
<add key="ConcurrentThreads" value="20" />
<add key="ListenPort" value="9524" />
<add key="Activescanning" value="1" />
</appSettings>
</configuration>


-------------------------------------------------------------------------------------------------------------
Running version

<?xml version="1.0" encoding="utf-8"?>
<configuration>
<appSettings>
<add key="MM_CONNECTION_STRING_Lansweeper" value="Persist Security Info=False;Data Source=1SOURCEERP;Initial Catalog=lansweeperdb;User ID=lansweeperuser;Password=XXXXXXXXXXXXXXXX" />
<add key="ConcurrentThreads" value="20" />
<add key="ListenPort" value="9524" />
<add key="Activescanning" value="1" />
</appSettings>
</configuration>
16 REPLIES 16
itadmin2
Engaged Sweeper
issue is fixed. thanks for your assistance.
Looking at the dashboard section of the web console, i only see that a few computers have been registered.
Is there something else that I should do, in order to scan the whole network?
Moreover,
by executing
\domaincontrolermachinename\netlogon\lsclient
on serveral server the outcome is failed.
only on the system which has the service, is returned with success.
please advise.
Hemoco
Lansweeper Alumni
You password was "xxxxxx" in the other config file.
Is the password correct in your web.config file?
Lansweeper wrote:
You password was "xxxxxx" in the other config file.
Is the password correct in your web.config file?


do i have to make sure that the password in the same in both files? i.e
by changing the value of Password=mysecretpassword0*; in the config file?


itadmin2
Engaged Sweeper
<configuration>
<appSettings>
<add key="MM_CONNECTION_HANDLER_Lansweeper" value="sqlserver.htm"/>
<add key="MM_CONNECTION_STRING_Lansweeper" value="Persist Security Info=False;Data Source=1SOURCEERP;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>
Hemoco
Lansweeper Alumni
This is the configuration file for your service, could you also post your web.config file please.
Hemoco
Lansweeper Alumni
So your service is running with this connection and your webconsole isn't?
Correct?
Lansweeper wrote:
So your service is running with this connection and your webconsole isn't?
Correct?


Yes that is correct.
The service is running on the machine servername FILESERVER but the web console is not.

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