We are working on terminal server (windows server 2008 R2) with VS2010 + Ranorex.
Today i have updated ranorex from 3.0.1 to 3.0.2 and since than i can't find or highlight any objects with the Spy. It just don't do anything and show error window or crashes.
Installation performed by "Install to remote desktop" tool. There were no such problem before.
Error text:
- Code: Select all
System.IO.FileNotFoundException: [Resource lookup failed - infinite recursion or critical failure detected.]
System.Environment.GetResourceFromDefault(String key)+0xffffffff
System.ObjectDisposedException..ctor(String objectName)+0x0
System.Windows.Forms.Control.DestroyHandle()+0x8d
System.Windows.Forms.Control.Dispose(Boolean disposing)+0xef
System.Windows.Forms.Form.Dispose(Boolean disposing)+0x17e
Ranorex.Controls.SpyForm.Dispose(Boolean disposing)+0x16
System.ComponentModel.Component.Dispose()+0x0
System.Windows.Forms.Form.WmClose(Message& m)+0x242
System.Windows.Forms.Form.WndProc(Message& m)+0x1b5
System.Windows.Forms.Control+ControlNativeWindow.OnMessage(Message& m)+0x0
System.Windows.Forms.Control+ControlNativeWindow.WndProc(Message& m)+0x8e
System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd,Int32 msg,IntPtr wparam,IntPtr lparam)+0x25
However, tests are working perfectly.