Ranorex EXE scripts crashing on and off with 3.0.2

Ranorex Studio, Spy, Recorder, and Driver.
martinacc
Posts: 5
Joined: Wed Mar 23, 2011 1:49 pm

Ranorex EXE scripts crashing on and off with 3.0.2

Post by martinacc » Thu Jun 02, 2011 1:37 pm

Hello,

Is this a known issue?

We have an intermintent problem when calling EXE scripts compiled with Ranorex 3.0.2.

Double clicking on the EXE results in a hard crash on startup (Windows report window)

We tried on 3 different machines and it happens on and off on those machines.

These machine uses the Runtime license. (License server is at 3.0.2 and as well as the local machine)

Code: Select all

Unhandled Exception: System.IO.FileNotFoundException: Could not load file or assembly 'Ranorex.Core, Version=3.0.2.12718, Culture=neutral, PublicKeyToken=b798506b574ebc9a' or one of its dependencies. Le fichier spcifi est introuvable.
File name: 'Ranorex.Core, Version=3.0.2.12718, Culture=neutral, PublicKeyToken=b798506b574ebc9a'
   at FRT_ACC_createPerson.Program.Main(String[] args)

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

The same EXE with NO changes works on another machine (which have exactly the same hardware, setup)



Windows XP - SP3

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

Re: Ranorex EXE scripts crashing on and off with 3.0.2

Post by Support Team » Thu Jun 02, 2011 6:55 pm

As the error message says, the Ranorex Core DLLs (V3.0.2) cannot be found. Do you have Ranorex 3.0.2 installed on those machines? For tests compiled with Ranorex 3.0.2, you need to have the Ranorex runtime V3.0.2 or higher installed on the machines in order to execute tests.

Regards,
Alex
Ranorex Team

martinacc
Posts: 5
Joined: Wed Mar 23, 2011 1:49 pm

Re: Ranorex EXE scripts crashing on and off with 3.0.2

Post by martinacc » Thu Jun 02, 2011 7:38 pm

Yup has been installed. And like I said it is intermittent.

For example, yesterday that same script was running on Machine X, and this morning stopped working.

And Ranorex is installed properly 3.0.2.

I even rebooted the machine.

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

Re: Ranorex EXE scripts crashing on and off with 3.0.2

Post by Support Team » Fri Jun 03, 2011 10:19 am

This still seems to be an install problem. The only thing I can suggest is to try reinstalling Ranorex. Also, maybe you have an antivirus software on the system that is interfering with Ranorex. I have seen cases where anti software has quarantined or even deleted Ranorex dlls. One other issue could be that you have installed to a removable media or network drive. Installing to something other then the local hard drive could also prevent the system from being able to load the dlls.

Regards,
Ron
Support Team

martinacc
Posts: 5
Joined: Wed Mar 23, 2011 1:49 pm

Re: Ranorex EXE scripts crashing on and off with 3.0.2

Post by martinacc » Fri Jun 03, 2011 1:22 pm

Excellent suggestions :-) I will try that.

Thanks for your prompt response.