Page 1 of 1

Ranorex Studio starts and then crashes

Posted: Sat Apr 11, 2015 12:09 am
by ablang_58
Just installed 5.3.1 running on a virtual machine running XP.

Started Studio and just as the main screen appeared it crashed with an Unexpected Exception Encountered popup.
Clicked on Close which displayed the following:
The unhandled exception caused the application to be in an inconsistent state; the application needs to be restarted.
Clicked OK and this brought Studio up again with another crash (in a loop)

Note: Other 5.3.1 Ranorex apps operate as expected (Spy, Recorder, Test suite Runner). The previous version of Studio operates as expected, 3.0.5.

Details of the exception follows:
System.AccessViolationException: Attempted to read or write protected memory. This is often an indication that other memory is corrupt.
---STACKTRACE---
System.AccessViolationException: Attempted to read or write protected memory. This is often an indication that other memory is corrupt.
ICSharpCode.SharpDevelop.Sda.CallHelper.RunWorkbenchInternal(Object settings) +0x9b
ICSharpCode.SharpDevelop.Sda.CallHelper.RunWorkbench(WorkbenchSettings settings) +0x34
ICSharpCode.SharpDevelop.Sda.SharpDevelopHost.RunWorkbench(WorkbenchSettings settings) +0x1e
ICSharpCode.SharpDevelop.SharpDevelopMain.RunApplication() +0x24e
ICSharpCode.SharpDevelop.SharpDevelopMain.Run(String[] args) +0x85
ICSharpCode.SharpDevelop.SharpDevelopMain.Main(String[] args) +0xb

---ORIGINAL STACKTRACE---
System.AccessViolationException: Attempted to read or write protected memory. This is often an indication that other memory is corrupt.
at ICSharpCode.SharpDevelop.Sda.CallHelper.RunWorkbenchInternal(Object settings)
at ICSharpCode.SharpDevelop.Sda.CallHelper.RunWorkbench(WorkbenchSettings settings)
at ICSharpCode.SharpDevelop.Sda.SharpDevelopHost.RunWorkbench(WorkbenchSettings settings)
at ICSharpCode.SharpDevelop.SharpDevelopMain.RunApplication()
at ICSharpCode.SharpDevelop.SharpDevelopMain.Run(String[] args)
at ICSharpCode.SharpDevelop.SharpDevelopMain.Main(String[] args)

Re: Ranorex Studio starts and then crashes

Posted: Sat Apr 11, 2015 12:19 am
by Styris
are you using iOS 8.3 ? that could be the reason.

Re: Ranorex Studio starts and then crashes

Posted: Mon Apr 13, 2015 3:21 pm
by krstcs
This sounds like a corrupt install to me.

Please try performing a clean re-install.

1. Uninstall Ranorex 5.3.1.
2. Reboot.
3. Re-install Ranorex using the following file: http://www.ranorex.com/download/Ranorex-5.3.1.exe

If that doesn't fix it, then there may be something wrong with the prerequisites.

Re: Ranorex Studio starts and then crashes

Posted: Wed Apr 15, 2015 1:30 pm
by tomaszp
I installed 5.3.1 on two XP machines. One installation was an upgrade, second - a fresh install. In both cases Ranorex Studio crashes with the same errors as ablang_58 exhibited in his post. Reinstallation doesn't work. Is there any way to have Ranorex working on Windows XP?

Re: Ranorex Studio starts and then crashes

Posted: Thu Apr 16, 2015 5:05 pm
by Support Team
Hi tomaszp,

Could it be that an older version of Internet Explorer is installed on your XP machine?
With Ranorex 5 it is required to have IE7 or higher installed.

Please do let us know if updating the IE fixed the problem.

Thanks,
Markus