Hello,
We have an application that we use to export footage for Milestone using the SDK (in Milestone .blk format), where it gets used with many different versions of Milestone. Previously we have had no issues, however now that I have recompiled the application using the 2020R1 SDK the export no longer work on versions of Milestone < 2020R1.
When attempting to open the exported project with the 2019R3 Smart Client the following exception gets thrown:
************** Exception Text **************
************** Outer Exception **************
Exception type:System.Runtime.InteropServices.SEHException
Exception message:External component has thrown an exception.
Exception source:VideoOS.DatabaseUtility.MediaStorage
Exception Target Site: NmDatabase.Utility.CmBankInfo.IsEncrypted
at NmDatabase.Utility.CmBankInfo.IsEncrypted(CmBankInfo* )
at VideoOS.RemoteClient.Application.Managers.FileManagers.FileManagerOffline.GetPasswordProtectedSources()
at VideoOS.RemoteClient.Application.Managers.FileManagers.FileManagerOffline.get_ProjectFileProtectionLevel()
at VideoOS.RemoteClient.Application.Managers.Offline.OfflineLoginManager..ctor(IControllerManager controllerManager, IServerConfiguration serverConfig, FrontPageModel frontPageModel)
at VideoOS.RemoteClient.Application.Managers.OfflineManager.Login(Boolean firstLogin)
at VideoOS.RemoteClient.Application.Application.Login(Boolean firstLogin)
at VideoOS.RemoteClient.Application.Application.Start()
at VideoOS.RemoteClient.MainApp.MainWindow.Start()
at VideoOS.RemoteClient.MainApp.App.OnStartup(StartupEventArgs e)
at System.Windows.Application.<.ctor>b__1_0(Object unused)
at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
If the same export is opened in 2020R1 Smart Client it works as expected. I have tried exporting with and without encryption but there appears to be no difference.
Thanks,
Andrew