Just got an error message when trying to open the Proxy Application Tool AddOn.
This is the error when clicking on the tool:


5.9.0.12 Beta

InvalidOperationException - Process has exited, so the requested information is not available.

at System.Diagnostics.Process.EnsureState(State state)
at System.Diagnostics.Process.get_MainWindowHandle()
at RemoteDesktopManager.AddOn.ProxyAddOn.ProxyApplicationToolAddOn.Execute()
at Devolutions.RemoteDesktopManager.Managers.ApplicationToolAddOn.Execute()
at Devolutions.RemoteDesktopManager.Managers.ApplicationToolManager.OnMenuOnClick(Object sender, EventArgs args)
at System.Windows.Forms.ToolStripItem.RaiseEvent(Object key, EventArgs e)
at System.Windows.Forms.ToolStripMenuItem.OnClick(EventArgs e)
at System.Windows.Forms.ToolStripItem.HandleClick(EventArgs e)
at System.Windows.Forms.ToolStripItem.HandleMouseUp(MouseEventArgs e)
at System.Windows.Forms.ToolStripItem.FireEventInteractive(EventArgs e, ToolStripItemEventType met)
at System.Windows.Forms.ToolStripItem.FireEvent(EventArgs e, ToolStripItemEventType met)
at System.Windows.Forms.ToolStrip.OnMouseUp(MouseEventArgs mea)
at System.Windows.Forms.ToolStripDropDown.OnMouseUp(MouseEventArgs mea)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
at System.Windows.Forms.ToolStrip.WndProc(Message& m)
at System.Windows.Forms.ToolStripDropDown.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


Any ideas?

Cheers!

Sjoerd

Clock8 yrs

Just to ve sure, the error is raised in your code I think? you shoud verify if the process is closed or not with something like that

process.Refresh();

if (this.Process.HasExited) {
return;
}

David Hervieux

signaturesignature

Clock8 yrs

Never mind.... just found out that it could not open the app because it was hanging in the background.... sorry

Cheers!

Sjoerd

Clock8 yrs