I thought I’d post this just in case someone else runs thesame issue. Our shop uses AppLifeUpdate with a custom login form to update ourWindows applications. We had been doing so for a long time but recently updateson our Windows XP machines began to abort with an unhandled exception. Debug showed that AppLifeUpdatehad failed to close the host application. After some more trouble shooting Ifound that StrataFrame sessionlock is somehow interfering with AppLifeUpdate’sability to close the host application. I’m not sure if it started with SF1.7.7.1 or some Windows update. In any event stopping session monitoring priorto performing an update fixes the problem and session monitoring can then berestarted after the update. On Windows 7 machines leaving session monitoringactive during an update sometimes results in application terminated abnormally messages,but the update continues after closing the error message windows. Turing offsession monitoring eliminates the error messages. I didn’t do any additionaltrouble shooting to try and find the root cause but the environment was VS2010,VB .Net targeting the 4.0 framework, SF1.7.7.1, and AppLifeUpdate 5.0, Windows XP SP3 32-Bit and Windows 7 SP1 64-Bit.
-Larry
'-------------------------------------------------------------------------------'-- Check if there is an update available for the application.'-------------------------------------------------------------------------------With UpdateController Try frmSplashScreen.SetMessage("Please wait, checking for updates...") If .CheckForUpdate() Then '-- 5/6/2014: There is an issue reported by Larry Caylor at the SF forum in which he discovered that AppLifeUpdate could not closed ' the application properly before applying an update. ' http://forum.strataframe.net/FindPost32536.aspx SessionLock.StopSessionMonitoring() frmSplashScreen.HideSplash() UpdateController.UpdateInteractive() Else Basics.DisplayMessage("Application Version Error", "Sorry no update was found, please contact Progytech at www.progytech.com") End If Catch DownloadEx As Kjs.AppLife.Update.Controller.DownloadException SendErrorMessageViaEmail(DownloadEx) Catch ex As Exception SendErrorMessageViaEmail(ex) End TryEnd With