studio 4.0.1 doesnt load after installation
Posted: Wed Dec 26, 2012 2:18 pm
hi all,
after installation, when i try to load the studio for the first time i get an unhandeled exception -
Ranorex Studio Version : 4.0.1.21107
.NET Version : 4.0.30319.17929
OS Version : Microsoft Windows NT 6.1.7601 Service Pack 1
Current culture : Hebrew (Israel) (he-IL)
Running under WOW6432, processor architecture: AMD64
Working Set Memory : 21832kb
GC Heap Memory : 636kb
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.Configuration.ConfigurationErrorsException: Configuration system failed to initialize ---> System.Configuration.ConfigurationErrorsException: Section or group name 'log4net' is already defined. Updates to this may only occur at the configuration level where it is defined. (C:\Program Files (x86)\Ranorex 4.0\RanorexStudio\bin\RanorexStudio.exe.Config line 3)
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 NLog.Config.XmlLoggingConfiguration.get_AppConfig()
at NLog.LogFactory.get_Configuration()
at NLog.LogFactory.GetLogger(LoggerCacheKey cacheKey)
at NLog.LogFactory.GetLogger(String name)
at NLog.LogManager.GetCurrentClassLogger()
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:
spy seems to be working fine and recognizing all objects.
please advise.
Roy
after installation, when i try to load the studio for the first time i get an unhandeled exception -
Ranorex Studio Version : 4.0.1.21107
.NET Version : 4.0.30319.17929
OS Version : Microsoft Windows NT 6.1.7601 Service Pack 1
Current culture : Hebrew (Israel) (he-IL)
Running under WOW6432, processor architecture: AMD64
Working Set Memory : 21832kb
GC Heap Memory : 636kb
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.Configuration.ConfigurationErrorsException: Configuration system failed to initialize ---> System.Configuration.ConfigurationErrorsException: Section or group name 'log4net' is already defined. Updates to this may only occur at the configuration level where it is defined. (C:\Program Files (x86)\Ranorex 4.0\RanorexStudio\bin\RanorexStudio.exe.Config line 3)
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 NLog.Config.XmlLoggingConfiguration.get_AppConfig()
at NLog.LogFactory.get_Configuration()
at NLog.LogFactory.GetLogger(LoggerCacheKey cacheKey)
at NLog.LogFactory.GetLogger(String name)
at NLog.LogManager.GetCurrentClassLogger()
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:
spy seems to be working fine and recognizing all objects.
please advise.
Roy