We were working on moving our Lansweeper server from one machine to another. We made sure Lansweeper was up-to-date on Machine A, installed it on Machine B, connected to the SQL database (on an entirely different machine), and all was fine. We were able to access Lansweeper Web Console from both machines, but didn't need two Lansweeper servers.
When I uninstalled Lansweeper from Machine A, it seems to have taken the database with it, deleted from our SQL server.
I have a flat backup of the .mdf and .ldf files for lansweeperdb from the SQL server that are a couple of weeks old--we're fine with the loss of data, if that's the only option.
I uninstalled Lansweeper from Machine B, and attached our backup in SQL. However, when I open Lansweeper Web Console, I receive this message:
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()
The user "lansweeperuser" does exist in Lansweeperdb>Security>Users, but I notice it has no "Login name" associated with it. We had not modified that user in any way, relying on our own SQL credentials for linking the database.
Since I have the database with information in it, up-to-date as of a couple of weeks ago, we aren't panicking, but we're curious how to reattach it to an installation now.