Deleted mobicontroldb_archive db after upgrade

Solved Locked
DM
Dheeraj Mutha
Michaels Inc.

Hi,

We deleted the archive db by mistake after upgrade. Now whenever we try to access the logs of a device from the webconsle, it throws an and no logs show up.

Please suggest, how to fix this.

***********************************************************************
* Exception: Invalid object name 'MobiControlDB_Archive.dbo.MainLog'. *
***********************************************************************
[SqlException: Invalid object name 'MobiControlDB_Archive.dbo.MainLog'.]
at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)
at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose)

Regards,

Dheeraj

Edited 5 years ago
SOTI MobiControl
ANSWERS
J
JCMOD@SOTI
5 years ago (edited 5 years ago)

Hi Dheeraj,

Thank you for requesting a response from SOTI Support Staff. 

Re-run your MobiControl Installer, that should regenerate the MobiControlDB_Archive database. If it doesn't, try re-running the installer in the command prompt with -updatedb appended to the .exe path.

Regards,

Solution
DM
Dheeraj Mutha
5 years ago

This worked. Thanks!!!