Page 1 of 1

Unhandled Exception at Studio Launch

Posted: Tue Mar 05, 2013 6:12 pm
by csqepaul
This happens each time I try to launch the Studio. I have checked for the file in question and it does exist in the proper folder(s). I have uninstalled and reinstalled the software with no change.

Ranorex Studio Version : 4.0.2.21666
.NET Version : 4.0.30319.269
OS Version : Microsoft Windows NT 6.1.7601 Service Pack 1
Current culture : English (United States) (en-US)
Running under WOW6432, processor architecture: AMD64
Terminal Server Session
Working Set Memory : 17884kb
GC Heap Memory : 532kb

Unhandled exception terminated RanorexStudio
Exception thrown:
System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.TypeInitializationException: The type initializer for 'Ranorex.Core.ElementEngine' threw an exception. ---> System.IO.FileNotFoundException: Could not load file or assembly 'Ranorex.Core.WinApi.dll' or one of its dependencies. The specified module could not be found.
at Ranorex.Core.ElementEngine..cctor()
--- End of inner exception stack trace ---
at Ranorex.Core.ElementEngine.set_SepChar(Char value)
--- End of inner exception stack trace ---
at System.RuntimeMethodHandle._InvokeMethodFast(IRuntimeMethodInfo method, Object target, Object[] arguments, SignatureStruct& sig, MethodAttributes methodAttributes, RuntimeType typeOwner)
at System.RuntimeMethodHandle.InvokeMethodFast(IRuntimeMethodInfo method, Object target, Object[] arguments, Signature sig, MethodAttributes methodAttributes, RuntimeType typeOwner)
at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture, Boolean skipVisibilityChecks)
at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
at System.Reflection.RuntimePropertyInfo.SetValue(Object obj, Object value, BindingFlags invokeAttr, Binder binder, Object[] index, CultureInfo culture)
at System.Reflection.RuntimePropertyInfo.SetValue(Object obj, Object value, Object[] index)
at ICSharpCode.SharpDevelop.SplashScreenForm..ctor()
at ICSharpCode.SharpDevelop.SplashScreenForm.ShowSplashScreen()
at ICSharpCode.SharpDevelop.SharpDevelopMain.Run(String[] args)
at ICSharpCode.SharpDevelop.SharpDevelopMain.Main(String[] args)

---- Recent log messages:
Failed to append recent log messages.
System.InvalidOperationException: Sequence contains no elements
at System.Linq.Enumerable.Single[TSource](IEnumerable`1 source)
at ICSharpCode.SharpDevelop.Sda.LogMessageRecorder.AppendRecentLogMessages(StringBuilder sb, ILog log)
at ICSharpCode.SharpDevelop.Sda.ExceptionBox.getClipboardString()

---- Post-error application state information:

Re: Unhandled Exception at Studio Launch

Posted: Wed Mar 06, 2013 5:37 pm
by Support Team
Hello,

Could you please verify if all prerequisites of Ranorex are met?
Please take a look at the System Requirements of Ranorex.

Have you installed Ranorex with setup.exe?
If not, please install it in order to install all prerequisites.
You could download it from our Download Archive.

Regards,
Markus (T)