Page 1 of 1

Exception

Posted: Wed Jul 16, 2014 8:43 pm
by strannik
Hi All,

I'm getting System.AccessViolationException sometimes when running scripts.

Anyone could tell me how to stop or fix it. Please see an attachment.

Thank you.

Re: Exception

Posted: Wed Jul 16, 2014 9:37 pm
by krstcs
Are you running Ranorex using the "Run As Administrator" option?

Re: Exception

Posted: Thu Jul 17, 2014 7:25 am
by Support Team
Which Ranorex version do you use?
Do you experience this exception since an upgrade to a new Ranorex version?
Does the exception occur when automating a specific application or technology?
Do you use or reference any native assemblies (P/Invoke or C++/CLI) within your test projects?

Regards,
Alex
Ranorex Team

Re: Exception

Posted: Wed Jul 23, 2014 8:47 pm
by strannik
Version is 5.0.2.17874

I didn't upgrade and didn't use any application or technology as well any native assemblies.

Any idea.

Thanks.

Re: Exception

Posted: Mon Jul 28, 2014 1:58 pm
by Support Team
Hi strannik,

I would highly recommend to uninstall Ranroex and the .NET Framework completely from your machine and install Ranorex again using the Ranorex 5.0.4.exe or the Ranorex 5.1.1.exe file.
If this will not help please send your solution to [email protected]. Does the exception occur on a specific section in your test?

Regards,
Bernhard