(1) EDIT: JUST UPGRADED (FINALLY AFTER MULTIPLE DAYS OF PAIN)
I will post instructions here soon enough and hopefully, it works for others. I am just testing my theory right now.
-------------------------------------------------------------------------------------------------------------------------------------
(2) UPDATED EDIT (04/06/2023): Ignore the above. Session DB keeps fucking up and I have to keep deleting.
All I did to break it was let session.db regenerate for an hour. I edited some session names for unattended access (keeps reverting back to the name when initially installed). Edited web config to enable auto-updates to new client version.
Error:
https://imgur.com/S5t3WOA
I also get errors regarding date / time or something on admin pages.
-------------------------------------------------------------------------------------------------------------------------------------
(3) FURTHER UPDATE: After it working and doing absolutely nothing other than rebooting the computer, session.db errors.
https://imgur.com/a/qz1NLEj
Yes, it seems simply reboots will fuck session.db. Should be easy for you to test @Arlecho. If you can't replicate it, contact me and I can demonstrate it on a stream or discord screen share.
-------------------------------------------------------------------------------------------------------------------------------------
(4) CONTINUING TO BASH MY HEAD AGAINST A WALL UPDATE:
So with the latest ver of patcher and the latest SC ver. If you reboot or edit webconfig etc. SessionDB is screwed. To "fix" you have to open patcher, select number 2 to stop all services, delete SessionDB and then open services.msc to manually start all the ScreenConnect services. The last option of the patcher does not generate SessionDB.
This needs fixing as it's losing all my edited Session Unattended information every time SessionDB needs to be regenerated.
EVENT VIEWER ERROR 1?:
System.IO.EndOfStreamException: Unable to read beyond the end of the stream.
at System.IO.BinaryReader.ReadByte()
at ScreenConnect.MessageSerializer.Deserialize(BinaryReader reader, Type requireBaseClass)
at ScreenConnect.EndPointManager.ReceiveMessage(BinaryReader reader, Type requiredBaseMessageType)
at ScreenConnect.SocketEndPointManager.RunIncomingThread(ThreadSharedState threadSharedState)
Version: 23.4.3.8545
Executable Path: C:\Program Files (x86)\ScreenConnect Client (8ax49x699c93565x)\ScreenConnect.ClientService.exe
EVENT VIEWER ERROR 2?:
System.Net.Sockets.SocketException (0x80004005): A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond XX.XXX.XXX.XXX:8041
at ScreenConnect.ClientNetworkExtensions.ConnectTcpSocket(Uri endPointUri)
at ScreenConnect.WindowsClientToolkit.ConnectNetworkConnection(Uri endPointUri, Uri httpProxyUri)
at ScreenConnect.SocketEndPointManager.Run()
Version: 23.4.3.8545
Executable Path: C:\Program Files (x86)\ScreenConnect Client (8ax49x699c93565x)\ScreenConnect.ClientService.exe