Page 1 of 1

Advanced Security service not working

Posted: Sun Jul 19, 2020 10:19 pm
by SaleCar
Advanced Security Essentials 5.0.7.13
Windows Server 2019
Audit: Error - Service TSPlus-Security should be running

Error in windows event log:

Service cannot be started. LiteDB.LiteException: Cannot insert duplicate key in unique index 'HashCode'. The duplicate value is 'null'.
at LiteDB.IndexService.AddNode(CollectionIndex index, BsonValue key, Byte level, IndexNode last)
at LiteDB.IndexService.AddNode(CollectionIndex index, BsonValue key, IndexNode last)
at LiteDB.LiteEngine.<>c__DisplayClass17_0.<EnsureIndex>b__0(CollectionPage col)
at LiteDB.LiteEngine.Transaction[T](String collection, Boolean addIfNotExists, Func`2 action)
at LiteDB.LiteCollection`1.EnsureIndex(String field, String expression, Boolean unique)
at LiteDB.LiteCollection`1.EnsureIndex[K](Expression`1 property, Boolean unique)
at Security_Common.Events.DbLiteEventRepository..ctor(String databaseFile)
at $NisZRNclyX2Uas6yzESktK4JEisvPzJcUmd8TP7H2YI.​‎‬‭‌‏‪‏​‪‏‌​‫‌‮‎‬‏‏‍‮‏‍‫‬‌‬‬‮(String )
at $NisZRNclyX2Uas6yzESktK4JEisvPzJcUmd8TP7H2YI.E9Rng8dc1_rhBpWDrBuea6M(String[] )
at System.ServiceProcess.ServiceBase.ServiceQueuedMainCallback(Object state)


How to solve this?