Follow us on LinkedIn Find us on YouTube
home recent topics recent posts search faq  

Devolutions inc. > Forum

user:
psw:
| register | lost password   open id
Messages in this topic - RSS

Home » Remote Desktop Manager - SDK » Application Tool

Remote Desktop Manager - AddOn development forum
1/11/2011 12:30:24 PM

Sjoerd van den Berg
Sjoerd van den Berg
Posts: 150
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 (twitter.com/chanlerone)
0 permalink
1/11/2011 12:44:09 PM

David Hervieux
David Hervieux
Administrator
Posts: 4241
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
Devolutions inc.


0 permalink
1/11/2011 12:48:33 PM

Sjoerd van den Berg
Sjoerd van den Berg
Posts: 150
Never mind.... just found out that it could not open the app because it was hanging in the background.... sorry

--
Cheers!

Sjoerd (twitter.com/chanlerone)
0 permalink

Home » Remote Desktop Manager - SDK » Application Tool





Powered by Jitbit Forum 7.0.4.0 © 2006-2011 Jitbit Software