I am getting the following error on xp64 for Ranorex Recorder.
"System.BadImageFormatException: Could not load file or assembly 'Ranorex.Core.WinApi, Version=2.0.0.5474, Culture=neutral, PublicKeyToken=b798506b574ebc9a' or one of its dependencies. An attempt was made to load a program with an incorrect format.
File name: 'Ranorex.Core.WinApi, Version=2.0.0.5474, Culture=neutral, PublicKeyToken=b798506b574ebc9a'
at Ranorex.Controls.Highlighter.HighlightBorderForm..ctor()
at Ranorex.Controls.Highlighter..ctor()
at Ranorex.Controls.TrackerCheckBox..ctor()
at Ranorex.Controls.ItemRecorder..ctor()
at Ranorex.Tools.RecorderForm.InitializeComponent()
at Ranorex.Tools.RecorderForm..ctor()
at Ranorex.Tools.Program.Main()
WRN: Assembly binding logging is turned OFF.
To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.
Note: There is some performance penalty associated with assembly bind failure logging.
To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog]."
Ranorex XP64 - Recoder issue
- Support Team
- Site Admin
- Posts: 11749
- Joined: Fri Jul 07, 2006 4:30 pm
- Location: Graz, Austria
The Ranorex 2.0.0 setup does not include assemblies for 64 bit, yet. We will provide these DLLs with the next update (v2.0.1) that will be released in the next two weeks.
For now you can either use the built-in Recorder/Spy in Ranorex Studio or you can enable a global flag that will tell Windows to start all .NET applications as 32 bit processes (this way you should be able to start the standalone Spy and Recorder).
Type the following in the Windows command line to enable the global flag:
C:\WINDOWS\Microsoft.NET\Framework64\v2.0.50727\Ldr64.exe setwow
To reset the flag type the following command:
C:\WINDOWS\Microsoft.NET\Framework64\v2.0.50727\Ldr64.exe set64
Regards,
Alex
Ranorex Support Team
For now you can either use the built-in Recorder/Spy in Ranorex Studio or you can enable a global flag that will tell Windows to start all .NET applications as 32 bit processes (this way you should be able to start the standalone Spy and Recorder).
Type the following in the Windows command line to enable the global flag:
C:\WINDOWS\Microsoft.NET\Framework64\v2.0.50727\Ldr64.exe setwow
To reset the flag type the following command:
C:\WINDOWS\Microsoft.NET\Framework64\v2.0.50727\Ldr64.exe set64
Regards,
Alex
Ranorex Support Team
- Support Team
- Site Admin
- Posts: 11749
- Joined: Fri Jul 07, 2006 4:30 pm
- Location: Graz, Austria