Unhandled Exception has occured on startup

Bug reports.
PaulPalmer
Posts: 3
Joined: Thu Nov 10, 2011 1:15 pm

Unhandled Exception has occured on startup

Post by PaulPalmer » Thu Nov 10, 2011 1:22 pm

Hi,

I've just downloaded the Ranorex evaluation edition. Im using a virtual machine as I can more easily clean the system of the software Im testing and I can keep it seperate from my day to day working. Unfortunately Ranorex doesnt seem to like this. I have successfully installed and run on my "core" machine without any trouble. Below is the exception....and ideas how I can get it to work?

Cheers,

Paul

Ranorex Studio Version : 3.1.1.14266
.NET Version : 4.0.30319.1
OS Version : Microsoft Windows NT 5.1.2600 Service Pack 3
Current culture : English (United Kingdom) (en-GB)
Working Set Memory : 19216kb
GC Heap Memory : 892kb

Unhandled exception terminated RanorexStudio
Exception thrown:
System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.ArgumentException: Font 'Verdana' does not support style 'Regular'.
at System.Drawing.Font.CreateNativeFont()
at System.Drawing.Font.Initialize(FontFamily family, Single emSize, FontStyle style, GraphicsUnit unit, Byte gdiCharSet, Boolean gdiVerticalFont)
at System.Drawing.Font.Initialize(String familyName, Single emSize, FontStyle style, GraphicsUnit unit, Byte gdiCharSet, Boolean gdiVerticalFont)
at System.Drawing.Font..ctor(SerializationInfo info, StreamingContext context)
--- End of inner exception stack trace ---
at System.RuntimeMethodHandle._SerializationInvoke(IRuntimeMethodInfo method, Object target, SignatureStruct& declaringTypeSig, SerializationInfo info, StreamingContext context)
at System.Runtime.Serialization.ObjectManager.CompleteISerializableObject(Object obj, SerializationInfo info, StreamingContext context)
at System.Runtime.Serialization.ObjectManager.FixupSpecialObject(ObjectHolder holder)
at System.Runtime.Serialization.ObjectManager.DoFixups()
at System.Runtime.Serialization.Formatters.Binary.ObjectReader.Deserialize(HeaderHandler handler, __BinaryParser serParser, Boolean fCheck, Boolean isCrossAppDomain, IMethodCallMessage methodCallMessage)
at System.Runtime.Serialization.Formatters.Binary.BinaryFormatter.Deserialize(Stream serializationStream, HeaderHandler handler, Boolean fCheck, Boolean isCrossAppDomain, IMethodCallMessage methodCallMessage)
at System.Resources.ResourceReader.DeserializeObject(Int32 typeIndex)
at System.Resources.ResourceReader._LoadObjectV2(Int32 pos, ResourceTypeCode& typeCode)
at System.Resources.ResourceReader.LoadObjectV2(Int32 pos, ResourceTypeCode& typeCode)
at System.Resources.ResourceReader.LoadObject(Int32 pos)
at System.Resources.ResourceReader.ResourceEnumerator.get_Entry()
at System.Resources.ResourceReader.ResourceEnumerator.get_Current()
at System.ComponentModel.ComponentResourceManager.FillResources(CultureInfo culture, ResourceSet& resourceSet)
at System.ComponentModel.ComponentResourceManager.FillResources(CultureInfo culture, ResourceSet& resourceSet)
at System.ComponentModel.ComponentResourceManager.FillResources(CultureInfo culture, ResourceSet& resourceSet)
at System.ComponentModel.ComponentResourceManager.ApplyResources(Object value, String objectName, CultureInfo culture)
at Infralution.Licensing.EvaluationDialog.InitializeComponent()
at Infralution.Licensing.EvaluationDialog..ctor(String productName, String evaluationPassword)
at Ranorex.Core.ElementEngine.CheckLicense(Boolean showDialogs)
at Ranorex.Core.ElementEngine.AssertLicense()
at Ranorex.Core.ElementEngine..ctor()
at Ranorex.Core.ElementEngine.get_Instance()
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:

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

Re: Unhandled Exception has occured on startup

Post by Support Team » Thu Nov 10, 2011 2:14 pm

Hi,

We are sorry but Ranorex does not support Windows NT.
Please take a look at our System Requirements page, there you will find all the supported operating systems.
Normally there shouldn't be any problems with VM's, you just have to consider few things which are mentioned on the following site.


Regards,
Markus
Ranorex Support Team
.
Image

PaulPalmer
Posts: 3
Joined: Thu Nov 10, 2011 1:15 pm

Re: Unhandled Exception has occured on startup

Post by PaulPalmer » Thu Nov 10, 2011 3:06 pm

Hi Markus,

Thanks for the quick reply.

The OS Im using is XP Professional which I believe should be supported.
Is there any other avenue I could explore?

Regards,

Paul

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

Re: Unhandled Exception has occured on startup

Post by Support Team » Thu Nov 10, 2011 3:25 pm

PaulPalmer wrote:The OS Im using is XP Professional which I believe should be supported.
Sure, Windows XP (=Windows NT 5.1) is supported. I think Markus got mislead by the Windows NT in the exception message :wink:

The exception states that the font "Verdana" cannot be found on your system which is a standard Windows font and required to show the Ranorex UI. Please, reinstall that font from your Windows XP installation disc.

Regards,
Alex
Ranorex Team
.
Image

PaulPalmer
Posts: 3
Joined: Thu Nov 10, 2011 1:15 pm

Re: Unhandled Exception has occured on startup

Post by PaulPalmer » Thu Nov 10, 2011 3:53 pm

Quick update...found it was just a missing font. Works perfectly now.
Paul