Page 1 of 1

Ranorex EXE scripts crashing on and off with 3.0.2

Posted: Thu Jun 02, 2011 1:37 pm
by martinacc
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

Re: Ranorex EXE scripts crashing on and off with 3.0.2

Posted: Thu Jun 02, 2011 6:55 pm
by Support Team
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

Re: Ranorex EXE scripts crashing on and off with 3.0.2

Posted: Thu Jun 02, 2011 7:38 pm
by martinacc
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.

Re: Ranorex EXE scripts crashing on and off with 3.0.2

Posted: Fri Jun 03, 2011 10:19 am
by Support Team
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

Re: Ranorex EXE scripts crashing on and off with 3.0.2

Posted: Fri Jun 03, 2011 1:22 pm
by martinacc
Excellent suggestions :-) I will try that.

Thanks for your prompt response.