Page 1 of 1

I am unable to use breakpoints in Ranorex ver 2.3.8.10854

Posted: Wed Feb 02, 2011 9:12 pm
by clight76712
Ranorex Studio Version : 2.3.8.10854
.NET Version : 2.0.50727.3615
OS Version : Microsoft Windows NT 5.1.2600 Service Pack 3
Current culture : English (United States) (en-US)
Working Set Memory : 52668kb
GC Heap Memory : 25064kb

Exception thrown:
System.InvalidOperationException: This implementation is not part of the Windows Platform FIPS validated cryptographic algorithms.
at System.Security.Cryptography.MD5CryptoServiceProvider..ctor()
at ICSharpCode.SharpDevelop.Services.WindowsDebugger.<>c__DisplayClass8.<AddBreakpoint>b__1()
at ICSharpCode.SharpDevelop.Services.WindowsDebugger.<>c__DisplayClass8.<AddBreakpoint>b__3(Object , BreakpointEventArgs )
at Debugger.Breakpoint.OnSet(BreakpointEventArgs e)
at Debugger.Breakpoint.SetBreakpoint(Module module)
at Debugger.NDebugger.SetBreakpointsInModule(Module module)
at Debugger.Process.AddModule(Module module)
at Debugger.ManagedCallback.LoadModule(ICorDebugAppDomain pAppDomain, ICorDebugModule pModule)
at Debugger.ManagedCallbackSwitch.LoadModule(ICorDebugAppDomain pAppDomain, ICorDebugModule pModule)
at Debugger.ManagedCallbackProxy.<>c__DisplayClass1c.<LoadModule>b__1b()
at Debugger.Interop.MTA2STA.<>c__DisplayClass3.<EnqueueCall>b__0()
at Debugger.Interop.MTA2STA.PerformCall()
at Debugger.Interop.MTA2STA.PerformAllCalls()
at System.Windows.Forms.Control.InvokeMarshaledCallbackDo(ThreadMethodEntry tme)
at System.Windows.Forms.Control.InvokeMarshaledCallbackHelper(Object obj)
at System.Threading.ExecutionContext.runTryCode(Object userData)
at System.Runtime.CompilerServices.RuntimeHelpers.ExecuteCodeWithGuaranteedCleanup(TryCode code, CleanupCode backoutCode, Object userData)
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Windows.Forms.Control.InvokeMarshaledCallback(ThreadMethodEntry tme)
at System.Windows.Forms.Control.InvokeMarshaledCallbacks()

---- 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:
Installed 3rd party AddIns: [RxLogViewer 2.3.8.10854], [RxObjectRepository 2.3.8.10854], [RxRecorder 2.3.8.10854], [Workflow Foundation Designer 2.3.8.10854], [ElementTree 2.3.8.10854]
Workbench.ActiveContent: [TextEditorDisplayBindingWrapper C:\Documents and Settings\Administrator\My Documents\RanorexStudio Projects\ExcelConnector\MainForm.cs]
ProjectService.OpenSolution: [Solution: FileName=C:\Documents and Settings\Administrator\My Documents\RanorexStudio Projects\ExcelConnector\ExcelTestDataConnector.rxsln, HasProjects=True, ReadOnly=False]
ProjectService.CurrentProject: [CSharpProject: ExcelTestDataConnector]

Re: I am unable to use breakpoints in Ranorex ver 2.3.8.10854

Posted: Thu Feb 03, 2011 12:01 pm
by Support Team
Thank you for reporting this problem. We found the reason for this exception to be a Windows security setting called "FIPS algorithm policy". You need to disable this security policy in the Windows registry to enable breakpoints in Ranorex Studio.

To do this, set the following Windows registry keys to "0" (zero) by using a Windows registry tool like "regedit":
HKLM\System\CurrentControlSet\Control\Lsa\FIPSAlgorithmPolicy
HKLM\System\CurrentControlSet\Control\Lsa\FIPSAlgorithmPolicy\Enabled

For more information on this setting see the following links:
http://support.microsoft.com/kb/811833/en-us
http://blogs.msdn.com/b/shawnfa/archive ... 17975.aspx
http://support.microsoft.com/kb/911722/en-us

Regards,
Alex
Ranorex Team