RDM 2024.2.12.0 64-bit Convert RDP entry to Host session entry crash closes RDM
Right click entry -> Edit -> Edit (special actions).. -> Change Type 'Template' -> Host Session
Crashed but completed the action. Reopening program showed entry changed from rdp to host session.
[6/27/2024 2:02:15 PM - 2024.2.12.0 - 64-bit] Error silent: System.InvalidOperationException: Value Dispose() cannot be called while doing CreateHandle().
at System.Windows.Forms.Control.Dispose(Boolean disposing)
at System.Windows.Forms.Form.Dispose(Boolean disposing)
at DevExpress.Utils.Win.StickLookAndFeelForm.Dispose(Boolean disposing)
at DevExpress.XtraSplashForm.SplashFormBase.Dispose(Boolean disposing)
at DevExpress.XtraWaitForm.WaitForm.Dispose(Boolean disposing)
at Devolutions.RemoteDesktopManager.Forms.FrmWaitProgress.Dispose(Boolean disposing)
at System.ComponentModel.Component.Dispose()
at DevExpress.XtraSplashScreen.ThreadManagerBase.ThreadEntryPointCore(ThreadParameters params)
at DevExpress.XtraSplashScreen.ThreadManagerBase.ThreadEntryPoint(Object params)
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
--- End of stack trace from previous location ---
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)RDM Open with Template not inheriting variable from host
[7/21/2023 12:12:56 PM]DEBUG TreeView.LoadConnectionList...
[7/21/2023 12:12:56 PM]DEBUG BeginUpdate...
[7/21/2023 12:12:56 PM]DEBUG LoadConnectionInTreeNode : 7292 ms
[7/21/2023 12:12:56 PM]DEBUG PreCreateGroups : 5 ms - Run count : 1
[7/21/2023 12:12:56 PM]DEBUG BeginUpdate : 7309 ms
[7/21/2023 12:12:56 PM]DEBUG TreeView.LoadConnectionList : 7310 ms
[7/21/2023 12:12:56 PM]DEBUG Load Expand States...
[7/21/2023 12:12:56 PM]DEBUG Nodes...
[7/21/2023 12:12:56 PM]DEBUG Expand : 0 ms - Run count : 0
[7/21/2023 12:12:56 PM]DEBUG Collapse : 0 ms - Run count : 0
[7/21/2023 12:12:56 PM]DEBUG Nodes : 1 ms
[7/21/2023 12:12:56 PM]DEBUG Load Expand States : 3 ms
[7/21/2023 12:12:56 PM]DEBUG SelectionChanged - Default...
[7/21/2023 12:12:56 PM]DEBUG Finally : 13 ms
[7/21/2023 12:12:56 PM]DEBUG SelectionChanged - Default : 15 ms
[7/21/2023 12:16:12 PM]DEBUG SelectionChanged - Default...
[7/21/2023 12:16:12 PM]DEBUG LoadConnectionDetails...
[7/21/2023 12:16:12 PM]DEBUG LoadConnectionInControls:FreConnectionDashBoard : 1 ms
[7/21/2023 12:16:12 PM]DEBUG LoadConnectionDetails : 5 ms
[7/21/2023 12:16:12 PM]DEBUG Finally : 10 ms
[7/21/2023 12:16:12 PM]DEBUG SelectionChanged - Default : 16 ms
[7/21/2023 12:16:21 PM]DEBUG ~~CLEAR~~
[7/21/2023 12:16:21 PM]DEBUG ~~CLEAR~~
[7/21/2023 12:16:21 PM]DEBUG GlobalConnectionManager.Refresh...
[7/21/2023 12:16:21 PM]DEBUG LoadConnections UI - [SQLite : Local Data Source] - Disabled - 64-bit...
[7/21/2023 12:16:21 PM]DEBUG Engine.Clear - DisposeInternalList : 7 ms
[7/21/2023 12:16:21 PM]DEBUG Reload: False - HasSecurityChanged: True - HasChanged: True
[7/21/2023 12:16:21 PM]DEBUG Engine.Clear - DisposeInternalList - ClearRoot : 0 ms
[7/21/2023 12:16:21 PM]DEBUG LoadConnectionsFromDataSource...
[7/21/2023 12:16:21 PM]DEBUG --> SELECT 1 FROM sqlite_master limit 1; : 1 ms
[7/21/2023 12:16:21 PM]DEBUG LoadDataSourceSettingsFromDataSource...
[7/21/2023 12:16:21 PM]DEBUG GetDataSourceSettings...
[7/21/2023 12:16:21 PM]DEBUG --> SELECT 1 FROM sqlite_master limit 1; : 1 ms
[7/21/2023 12:16:21 PM]DEBUG --> SELECT * FROM DatabaseInfo : 1 ms
[7/21/2023 12:16:21 PM]DEBUG GetDataSourceSettings : 5 ms
[7/21/2023 12:16:21 PM]DEBUG LoadDataSourceSettingsFromDataSource : 5 ms
[7/21/2023 12:16:21 PM]DEBUG SecurityDataSource.IsSupported is False, exiting Devolutions.RemoteDesktopManager.Business.DataSources.SQLiteSecuritySubDataSource
[7/21/2023 12:16:21 PM]DEBUG GetConnections...
[7/21/2023 12:16:21 PM]DEBUG Database.GetConnections...
[7/21/2023 12:16:21 PM]DEBUG --> [SQL]...
[7/21/2023 12:16:21 PM]DEBUG Reading connections from database : 218 ms
[7/21/2023 12:16:21 PM]DEBUG --> SELECT c.ID, c.Data, c.SecurityGroup, c.ConnectionType, c.AttachmentCount, c.AttachmentPrivateCount FROM Connections c; : 221 ms
[7/21/2023 12:16:21 PM]DEBUG DecryptData : 15 ms - Count : 19970
[7/21/2023 12:16:21 PM]DEBUG DeserializeData : 424 ms - Count : 19970
[7/21/2023 12:16:21 PM]DEBUG Database.GetConnections : 672 ms
[7/21/2023 12:16:21 PM]DEBUG GetConnections : 672 ms
[7/21/2023 12:16:21 PM]DEBUG DoSetConnections - Disabled...
[7/21/2023 12:16:21 PM]DEBUG Engine.Clear - DisposeInternalList : 0 ms
[7/21/2023 12:16:22 PM]DEBUG DoSetConnections - Disabled : 304 ms
[7/21/2023 12:16:22 PM]DEBUG LoadConnectionsFromDataSource : 987 ms
[7/21/2023 12:16:22 PM]DEBUG FavoriteManager.LoadFolders : 1 ms
[7/21/2023 12:16:22 PM]DEBUG LoadConnections UI - [SQLite : Local Data Source] - Disabled - 64-bit : 1351 ms
[7/21/2023 12:16:22 PM]DEBUG --> SELECT ConnectionCacheID FROM DatabaseInfo LIMIT 1 : 1 ms
[7/21/2023 12:16:22 PM]DEBUG GlobalConnectionManager.Refresh : 1354 ms
[7/21/2023 12:16:26 PM]DEBUG --> INSERT INTO ConnectionLog (
[ID]
,[Username]
,[MachineName]
,[Message]
,[MessageType]
,[ConnectionName]
,[ConnectionTypeName]
,[ConnectionID]
,[ConnectionUserName]
,[StartDateTime]
,[EndDateTime]
,[StartDateTimeUTC]
,[EndDateTimeUTC]
,[GroupName]
,[Comment]
,[LoggedUserName]
,[Prompt]
,[TicketNumber]
,[SecurityGroup]
,[Cost]
,[Data]
,[UserInfoID]
,[SupportClose]
,[CloseMode]
,[OpenMode]
,[HostName]
,[Application]
,[Version]
,[IsEmbedded]
)
VALUES (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?) : 9 ms
[7/21/2023 12:16:34 PM]DEBUG --> INSERT INTO ConnectionLog (
[ID]
,[Username]
,[MachineName]
,[Message]
,[MessageType]
,[ConnectionName]
,[ConnectionTypeName]
,[ConnectionID]
,[ConnectionUserName]
,[StartDateTime]
,[EndDateTime]
,[StartDateTimeUTC]
,[EndDateTimeUTC]
,[GroupName]
,[Comment]
,[LoggedUserName]
,[Prompt]
,[TicketNumber]
,[SecurityGroup]
,[Cost]
,[Data]
,[UserInfoID]
,[SupportClose]
,[CloseMode]
,[OpenMode]
,[HostName]
,[Application]
,[Version]
,[IsEmbedded]
)
VALUES (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?) : 5 ms
[7/21/2023 12:16:39 PM]DEBUG --> UPDATE ConnectionLog SET
[EndDateTime] = ?,
[EndDateTimeUTC] = ?,
[ManualEndDateTime] = ?,
[ManualClosedBy] = ?,
[CloseMode] = ?,
[ClosePrompt] = ?,
[ActiveTime] = ?
WHERE [ID] = ? : 9 ms
[7/21/2023 12:17:19 PM]DEBUG FrmConnection.CreateConnectionSettingsFrame : Putty : 1062 ms
[7/21/2023 12:17:19 PM]DEBUG --> INSERT INTO ConnectionLog (
[ID]
,[Username]
,[MachineName]
,[Message]
,[MessageType]
,[ConnectionName]
,[ConnectionTypeName]
,[ConnectionID]
,[ConnectionUserName]
,[StartDateTime]
,[EndDateTime]
,[StartDateTimeUTC]
,[EndDateTimeUTC]
,[GroupName]
,[Comment]
,[LoggedUserName]
,[Prompt]
,[TicketNumber]
,[SecurityGroup]
,[Cost]
,[Data]
,[UserInfoID]
,[SupportClose]
,[CloseMode]
,[OpenMode]
,[HostName]
,[Application]
,[Version]
,[IsEmbedded]
)
VALUES (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?) : 9 ms
[7/21/2023 12:18:59 PM]DEBUG RDMCmd: Closed
RDM Open with Template not inheriting variable from host
Hello,
Thank you for your patience.
Could you update your RDM to version 2023.2.18.0 and check if your issue still occurs?
Best regards,
Yes just completed the update and the issue is persisting and still there isn't anything appearing within the logs to indicate root cause of the abend.
RDM Open with Template not inheriting variable from host
Patrick,
With the debug at the high settings, 65407 there doesn't seem to be anything showing up related to attempts to use the templates in the Application Logs.

[7/18/2023 9:45:23 AM - 2023.2.14.0 - 64-bit] Error Silent: System.Threading.ThreadAbortException: Thread was being aborted.
at System.Threading.WaitHandle.WaitOneNative(SafeHandle waitableSafeHandle, UInt32 millisecondsTimeout, Boolean hasThreadAffinity, Boolean exitContext)
at System.Threading.WaitHandle.InternalWaitOne(SafeHandle waitableSafeHandle, Int64 millisecondsTimeout, Boolean hasThreadAffinity, Boolean exitContext)
at System.Threading.WaitHandle.WaitOne(Int32 millisecondsTimeout, Boolean exitContext)
at Devolutions.RemoteDesktopManager.Business.HttpBrowserLinker.Run()
[7/18/2023 9:45:23 AM - 2023.2.14.0 - 64-bit] Error Silent: System.Threading.ThreadAbortException: Thread was being aborted.
at Devolutions.RemoteDesktopManager.Business.HttpBrowserLinker.Run()
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Threading.ThreadHelper.ThreadStart()
[7/18/2023 2:37:07 PM - 2023.2.14.0 - 64-bit] Error Silent: System.Threading.ThreadAbortException: Thread was being aborted.
at System.Runtime.InteropServices.SafeHandle.InternalDispose()
at System.Threading.WaitHandle.Dispose(Boolean explicitDisposing)
at System.Threading.WaitHandle.Close()
at Devolutions.RemoteDesktopManager.Business.HttpBrowserLinker.Run()
[7/18/2023 2:37:07 PM - 2023.2.14.0 - 64-bit] Error Silent: System.Threading.ThreadAbortException: Thread was being aborted.
at Devolutions.RemoteDesktopManager.Business.HttpBrowserLinker.Run()
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Threading.ThreadHelper.ThreadStart()
[7/18/2023 3:54:36 PM - 2023.2.14.0 - 64-bit] Error Silent: System.Threading.ThreadAbortException: Thread was being aborted.
at System.Runtime.InteropServices.SafeHandle.InternalDispose()
at System.Threading.WaitHandle.Dispose(Boolean explicitDisposing)
at System.Threading.WaitHandle.Close()
at Devolutions.RemoteDesktopManager.Business.HttpBrowserLinker.Run()
[7/18/2023 3:54:36 PM - 2023.2.14.0 - 64-bit] Error Silent: System.Threading.ThreadAbortException: Thread was being aborted.
at Devolutions.RemoteDesktopManager.Business.HttpBrowserLinker.Run()
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Threading.ThreadHelper.ThreadStart()
[7/18/2023 3:54:44 PM - 2023.2.14.0 - 64-bit] Error Silent: System.ObjectDisposedException: Cannot access a disposed object.
Object name: 'FrmMainDocumentManager'.
at System.Windows.Forms.Control.MarshaledInvoke(Control caller, Delegate method, Object[] args, Boolean synchronous)
at System.Windows.Forms.Control.Invoke(Delegate method, Object[] args)
at Devolutions.RemoteDesktopManager.Managers.ThreadManager.Invoke(MethodInvoker invoker, Boolean force)Winscp Template not working in 2023.2.14.0 64 bit windows 10
I'm having similar issues passing variable to putty for telnet via template using $HOST$ as well. RDM Open with Template not inheriting variable from host (devolutions.net)
RDM Open with Template not inheriting variable from host
Seems like there is same problem passing variable to external application just posted in Winscp Template not working in 2023.2.14.0 64 bit windows 10 (devolutions.net)
RDM Open with Template not inheriting variable from host
Just upgraded to 2023.2.14.0 64-bit and Open with a Template is no longer working. Have several embedded putty ssh hosts and the templates are just an alternate login method using embedded telnet but $HOST$ is not populating from any host entry that is trying to be opened with a template. Have tried several different settings changes and refreshes but continue to get an error stating "The host is required". Have 4 of these templates that worked without issue on previous versions of RDM.
