Ranorex crashes on build

Ask general questions here.
IMamic23
Posts: 7
Joined: Mon Jun 26, 2017 10:03 am

Ranorex crashes on build

Post by IMamic23 » Tue Jul 04, 2017 1:35 pm

Hi, I upgraded to Ranorex 7.1,
first few runs/builds were ok, but now Ranorex crashes every time I try to run/build a project.
(It happens on two separate PC's and on demo solutions from Ranorex.)
When I Installed 7.0.1 again, it all works ok.

Also, on 7.0.1, when I randomly run recordings, sometimes Ranorex just closes during a build, and I have to restart windows and repair installation to fix it (I have exceptions for Ranorex on Avast).

screencast.com /t/ KYhj2Nkw6
Last edited by IMamic23 on Tue Jul 04, 2017 2:44 pm, edited 2 times in total.

IMamic23
Posts: 7
Joined: Mon Jun 26, 2017 10:03 am

Re: Ranorex crashes on build

Post by IMamic23 » Tue Jul 04, 2017 2:18 pm

Faulting application name: RanorexStudio.exe, version: 7.1.0.0, time stamp: 0x59526448
Faulting module name: KERNELBASE.dll, version: 10.0.15063.296, time stamp: 0x28e9cf15
Exception code: 0xe0434352
Fault offset: 0x000eb802
Faulting process id: 0x2fb8
Faulting application start time: 0x01d2f3dd85adc656
Faulting application path: C:\Program Files (x86)\Ranorex 7.1\RanorexStudio\bin\RanorexStudio.exe
Faulting module path: C:\WINDOWS\System32\KERNELBASE.dll
Report Id: e01f97b7-7ea7-418b-ba8e-161f8f187457
Faulting package full name:
Faulting package-relative application ID:

IMamic23
Posts: 7
Joined: Mon Jun 26, 2017 10:03 am

Re: Ranorex crashes on build

Post by IMamic23 » Tue Jul 04, 2017 2:19 pm

Application: RanorexStudio.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: System.ComponentModel.Win32Exception
at System.Diagnostics.Process.StartWithCreateProcess(System.Diagnostics.ProcessStartInfo)
at System.Diagnostics.Process.Start()
at ICSharpCode.SharpDevelop.Project.WorkerProcess.Start(System.Diagnostics.ProcessStartInfo)
at ICSharpCode.SharpDevelop.Project.BuildWorkerManager+BuildWorker..ctor(ICSharpCode.SharpDevelop.Project.BuildWorkerManager)
at ICSharpCode.SharpDevelop.Project.BuildWorkerManager.GetFreeWorker()
at ICSharpCode.SharpDevelop.Project.BuildWorkerManager.RunBuildJob(ICSharpCode.SharpDevelop.BuildWorker.BuildJob, ICSharpCode.SharpDevelop.Project.IMSBuildChainedLoggerFilter, System.Action`1<Boolean>, System.Threading.CancellationToken)
at ICSharpCode.SharpDevelop.Project.MSBuildEngine.StartBuild()
at ICSharpCode.SharpDevelop.Project.MSBuildEngine.StartBuild(ICSharpCode.SharpDevelop.Project.IProject, ICSharpCode.SharpDevelop.Project.ProjectBuildOptions, ICSharpCode.SharpDevelop.Project.IBuildFeedbackSink, System.Collections.Generic.IEnumerable`1<System.String>)
at CSharpBinding.CSharpProject.StartBuild(ICSharpCode.SharpDevelop.Project.ProjectBuildOptions, ICSharpCode.SharpDevelop.Project.IBuildFeedbackSink)
at ICSharpCode.SharpDevelop.Project.BuildEngine+BuildNode.DoStartBuild(System.Object)
at System.Threading.QueueUserWorkItemCallback.WaitCallback_Context(System.Object)
at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
at System.Threading.QueueUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem()
at System.Threading.ThreadPoolWorkQueue.Dispatch()
at System.Threading._ThreadPoolWaitCallback.PerformWaitCallback()

IMamic23
Posts: 7
Joined: Mon Jun 26, 2017 10:03 am

Re: Ranorex crashes on build

Post by IMamic23 » Thu Jul 06, 2017 12:25 pm

No answer in few days, really? :?: :?: :?: :?: :?:

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

Re: Ranorex crashes on build

Post by Support Team » Fri Jul 07, 2017 1:58 am

Hello IMamic23,

Thank you for posting your question in the Ranorex forum.

It appears that the Avast antivirus scanner is locking or removing needed files, and Ranorex software will have to be white-listed in order for it to function, and installing the Ranorex software again might be required to ensure all needed files are present.

Ranorex software installs to the following directory in windows by default: C:\Program Files (x86)\Ranorex 7.1

You may also need to white list the solution directories that you create as well. Please involve your local IT department, because it likely requires elevated privileges to bypass the company antivirus protection.

In your error there is a line that sticks out "Exception code: 0xe0434352", because this means .NET issues on the system, and making sure the computer has all the windows updates installed correctly, or installing .NET again might be required, but we need to make sure the antivirus is not removing the files first.

In the future if you have an issue that is stopping you from working please send email to [email protected] (USA Time zones) or [email protected] (European time zones or worldwide), and we will be happy to assist you.

I look forward to your response.

Sincerely,

-- M. Kendall McIntosh
Automation Support Engineer
.
Image