Ranorex XP64 - Recoder issue

Bug reports.
akuhad
Posts: 2
Joined: Thu Feb 12, 2009 11:28 am

Ranorex XP64 - Recoder issue

Post by akuhad » Thu Feb 12, 2009 1:00 pm

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]."

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

Post by Support Team » Thu Feb 12, 2009 1:27 pm

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

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

Post by Support Team » Wed Feb 25, 2009 9:07 am

Ranorex V2.0.1 has been released, please download the newest setup from our homepage!

Regards,
Alex
Ranorex Support Team