Unhandled exception in Ranorex Studio

Bug reports.
mmackay23
Posts: 14
Joined: Wed Sep 01, 2010 4:36 pm
Location: Dundee, Scotland
Contact:

Unhandled exception in Ranorex Studio

Post by mmackay23 » Mon Sep 13, 2010 12:11 pm

Trying to run a trial version of Ranorex Studio 2.3.4 on a Windows Server 2003 SP2 OS. It has never run on this server before.
Error message: "An unhandled exception has occurred in Ranorex Studio. This is unexpected and we'd ask you to help us improve Ranorex Studio by reporting this error to the Ranorex Studio team"

Main error:
"Ranorex Studio Version : 2.3.4.9270
.NET Version : 2.0.50727.3053
OS Version : Microsoft Windows NT 5.2.3790 Service Pack 2
Current culture : English (United Kingdom) (en-GB)
Terminal Server Session
Working Set Memory : 26392kb
GC Heap Memory : 2106kb

Unhandled exception terminated RanorexStudio
Exception thrown:
System.Configuration.ConfigurationErrorsException: Configuration system failed to initialize ---> System.Configuration.ConfigurationErrorsException: Unrecognized configuration section system.serviceModel. (C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Config\machine.config line 146)
at System.Configuration.ConfigurationSchemaErrors.ThrowIfErrors(Boolean ignoreLocal)
at System.Configuration.BaseConfigurationRecord.ThrowIfParseErrors(ConfigurationSchemaErrors schemaErrors)
at System.Configuration.BaseConfigurationRecord.ThrowIfInitErrors()
at System.Configuration.ClientConfigurationSystem.EnsureInit(String configKey)
--- End of inner exception stack trace ---
at System.Configuration.ClientConfigurationSystem.EnsureInit(String configKey)
at System.Configuration.ClientConfigurationSystem.PrepareClientConfigSystem(String sectionName)
at System.Configuration.ClientConfigurationSystem.System.Configuration.Internal.IInternalConfigSystem.GetSection(String sectionName)
at System.Configuration.ConfigurationManager.GetSection(String sectionName)
at System.Configuration.ConfigurationManager.get_AppSettings()
at ICSharpCode.SharpDevelop.SharpDevelopMain.RunApplication()
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:"

Thanks for any feedback.

Martin Mackay

User avatar
Support Team
Site Admin
Site Admin
Posts: 12145
Joined: Fri Jul 07, 2006 4:30 pm
Location: Houston, Texas, USA
Contact:

Re: Unhandled exception in Ranorex Studio

Post by Support Team » Mon Sep 13, 2010 12:20 pm

Hi,

Thanks for posting the Bug Report. Have you installed .Net Framework 3.5 on this computer?
If not please install the framework and try it again. Because the error message looks like that the framework is missing.

Link to framwork
http://www.microsoft.com/downloads/en/d ... en&pf=true

Regards,
Peter
Ranorex Team

mmackay23
Posts: 14
Joined: Wed Sep 01, 2010 4:36 pm
Location: Dundee, Scotland
Contact:

Re: Unhandled exception in Ranorex Studio

Post by mmackay23 » Mon Sep 13, 2010 1:07 pm

Thanks for the quick reply to my question.
No I don't think the server has .NET Framework version 3.5 installed. I will get the framework updated and report back.

Thanks

Martin Mackay
Martin Mackay
Automation Test Analyst

"To improve is to change, to be perfect is to change often."
-Winston Churchill