My application start from a ISO (Read-Only).
When i call GetDataAsync from VideoOS.Platform.Data.SequenceDataSource I receive following errors:
Exception thrown: ‘System.Runtime.InteropServices.SEHException’ in VideoOS.DatabaseUtility.MediaStorage.dll
MIP: Error: DatabaseSequences ():Error in SequencesGetAroundWithSpan. SequenceType RecordingSequence, CenterTime 2022-05-10T09:00:19.6370000, MaxTimeBefore 00:00:00, MaxCountBefore 0, MaxTimeAfter 00:59:55, MaxCountAfter 300
MIP: Error: SequencesGetAroundWithSpan ():Exception source: VideoOS.DatabaseUtility.MediaStorage
Exception type: VideoOS.DatabaseUtility.MediaStorage.MediaStorageUtilityException
Exception message: Failed to open database!
Exception target site: Open
in VideoOS.DatabaseUtility.MediaStorage.MediaStorageDatabase.Open()
in VideoOS.Platform.SDK.Export.DatabaseSequences.InternalOpenConnection()
in VideoOS.Platform.SDK.Export.DatabaseSequences.SequencesGetAroundWithSpan(SequenceType sequenceType, DateTime centerTime, TimeSpan maxTimeBefore, Int32 maxCountBefore, TimeSpan maxTimeAfter, Int32 maxCountAfter)
in VideoOS.Platform.SDK.Export.SDKInternalCommandService.SequencesGetAroundWithSpan(FQID deviceFQID, Guid sequenceType, DateTime centerTime, TimeSpan maxTimeBefore, Int32 maxCountBefore, TimeSpan maxTimeAfter, Int32 maxCountAfter, Boolean throwException)
SequencesGetAroundWithSpanSequencesGetAroundWithSpan ()Failed to open database! in VideoOS.DatabaseUtility.MediaStorage.MediaStorageDatabase.Open()
in VideoOS.Platform.SDK.Export.DatabaseSequences.InternalOpenConnection()
in VideoOS.Platform.SDK.Export.DatabaseSequences.SequencesGetAroundWithSpan(SequenceType sequenceType, DateTime centerTime, TimeSpan maxTimeBefore, Int32 maxCountBefore, TimeSpan maxTimeAfter, Int32 maxCountAfter)
in VideoOS.Platform.SDK.Export.SDKInternalCommandService.SequencesGetAroundWithSpan(FQID deviceFQID, Guid sequenceType, DateTime centerTime, TimeSpan maxTimeBefore, Int32 maxCountBefore, TimeSpan maxTimeAfter, Int32 maxCountAfter, Boolean throwException)
Instead, the same app works normally if it starts not from an ISO
What could be the problem ?
Thanks
Daniele