Open Ranorex Studio error on windows8 64bit

Bug reports.
troy
Posts: 9
Joined: Wed Apr 29, 2009 3:39 am

Open Ranorex Studio error on windows8 64bit

Post by troy » Wed Jul 03, 2013 2:31 am

Untitled.png
Untitled.png (76.84 KiB) Viewed 1708 times
Ranorex Studio Version : 4.0.3.22982
.NET Version : 4.0.30319.17929
OS Version : Microsoft Windows NT 6.2.9200.0
Current culture : English (United States) (en-US)
Running under WOW6432, processor architecture: AMD64
Working Set Memory : 17088kb
GC Heap Memory : 372kb

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.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
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:
Think Different!

troy
Posts: 9
Joined: Wed Apr 29, 2009 3:39 am

Re: Open Ranorex Studio error on windows8 64bit

Post by troy » Wed Jul 03, 2013 4:00 am

How to fix it ?
Think Different!

User avatar
Support Team
Site Admin
Site Admin
Posts: 11709
Joined: Fri Jul 07, 2006 4:30 pm
Location: Graz, Austria

Re: Open Ranorex Studio error on windows8 64bit

Post by Support Team » Wed Jul 03, 2013 7:49 am

It looks like your Ranorex installation is corrupted or a required prerequisite is missing. Did you just recently install Ranorex or a new .NET Framework?
troy wrote:How to fix it ?
Please try to reinstall Ranorex using the Ranorex-4.0.4.exe installation file, which will also install all necessary prerequisites. Please, do not use an MSI file to install Ranorex or the "Repair" functionality!

Regards,
Alex
Ranorex Team
.
Image