→ 🚀What's New? Join Us for the Fall Product Launch! Register Now !
‎11-29-2013 08:59 AM
Solved! Go to Solution.
‎11-29-2013 02:02 PM
Program Files (x86)\Lansweeper\Website\web.config
Program Files (x86)\Lansweeper\Service\Lansweeperservice.exe.config
use lansweeperdb
GO
update tsysasservers set servername='YourServer'
GO
update tblassets set scanserver='YourServer'
GO
‎12-06-2013 04:36 PM
‎11-29-2013 02:02 PM
Program Files (x86)\Lansweeper\Website\web.config
Program Files (x86)\Lansweeper\Service\Lansweeperservice.exe.config
use lansweeperdb
GO
update tsysasservers set servername='YourServer'
GO
update tblassets set scanserver='YourServer'
GO
‎11-29-2013 01:39 PM
use lansweeperdb
GO
EXEC sp_dropuser lansweeperuser
go
execute sp_droplogin lansweeperuser
go
use master
GO
EXEC sp_addlogin 'lansweeperuser', 'mysecretpassword0*', 'lansweeperdb', [English]
GO
use lansweeperdb
go
EXEC sp_grantdbaccess 'lansweeperuser', 'lansweeperuser'
GO
EXEC sp_addrolemember [db_owner], 'lansweeperuser'
Go
‎11-29-2013 09:44 AM
use lansweeperdb
GO
drop schema lansweeperuser
GO
drop user lansweeperuser
go
execute sp_droplogin lansweeperuser
go
use master
GO
EXEC sp_addlogin 'lansweeperuser', 'mysecretpassword0*', 'lansweeperdb', [English]
GO
use lansweeperdb
go
EXEC sp_grantdbaccess 'lansweeperuser', 'lansweeperuser'
GO
EXEC sp_addrolemember [db_owner], 'lansweeperuser'
Go
Msg 170, Level 15, State 1, Line 1
Line 1: Incorrect syntax near 'lansweeperuser'.
Msg 156, Level 15, State 1, Line 1
Incorrect syntax near the keyword 'user'.
Login dropped.
New login created.
Msg 15023, Level 16, State 1, Procedure sp_grantdbaccess, Line 147
User or role 'lansweeperuser' already exists in the current database.
'lansweeperuser' added to role 'db_owner'.
‎11-29-2013 09:26 AM
Experience Lansweeper with your own data. Sign up now for a 14-day free trial.
Try Now