Exception/error during process execution

Hi,
We faced below exception/error while executing a process through AE studio. Not able to understand the exact reason. Can you please help by checking the below -

System.Exception: Access is denied at EV.AE.Studio.ActivityLibrary.Utils.NativeActivityBase.OnActivityCompletedAction(NativeActivityContext activityContext) at EV.AE.Studio.ActivityLibrary.Utils.NativeActivityBase.OnActivityCompletedAction(NativeActivityContext activityContext, Activity childFailedActivity) at EV.AE.Studio.ActivityLibrary.AEApplication.OnFaulted(NativeActivityFaultContext faultContext, Exception propagatedException, ActivityInstance propagatedFrom) at System.Activities.Runtime.FaultCallbackWrapper.Invoke(NativeActivityFaultContext faultContext, Exception propagatedException, ActivityInstance propagatedFrom) at System.Activities.Runtime.FaultCallbackWrapper.FaultWorkItem.Execute(ActivityExecutor executor, BookmarkManager bookmarkManager)

Hi,

Are you using any File Ops activity which is trying to read write in a folder.

Regards,
Amit Anand

Hi Amit,

We are using excel loop and writing to same excel by using “Write to excel” activity.

Hi,

Kindly ensure that excel file which your are writing is not marked read only. Also, ensure that you are not killing the excel.exe process

Regards,
Amit Anand

Hi Amit,

We had approximately 60 records/rows in excel. Process has executed 50 records and then it got fail by giving the mentioned error.
So I think, file was not in read only mode. Also, I am not killing the excel during or after the process execution.

Hi,

Can you please check if your memory is shooting during process execution

If the exception always comes at specific row or any row in random

Regards,
Amit Anand