RPA Starter Training - 1st Bot - Access Denied Error - Help needed

Good day,

I’m building my first project by following instructions for Starter Training for RPA. When I run the project, I get an error “Access Denied”. See below for Error log.

Your help is greatly appreciated. Thanks in advance.

20.6.0-beta.93+Branch.release-v20.6.0.Sha.520fc7e20bd9baa56becf2fa30e75d1a9000a01d

Access is denied

RemoteException wrapping System.ComponentModel.Win32Exception: Access is denied
at System.Diagnostics.ProcessManager.OpenProcess(Int32 processId, Int32 access, Boolean throwIfExited)
at System.Diagnostics.Process.GetProcessHandle(Int32 access, Boolean throwIfExited)
at System.Diagnostics.Process.OpenProcessHandle(Int32 access)
at System.Diagnostics.Process.set_EnableRaisingEvents(Boolean value)
at UiPath.Service.UserHost.AttendedServiceProxy.RegisterClientProcess(Int32 clientPid)
at UiPath.Service.UserHost.StudioOperations.d__3.MoveNext()
— End of stack trace from previous location where exception was thrown —
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at UiPath.Service.Core.Utils.TaskUtils.d__0.MoveNext()
— End of stack trace from previous location where exception was thrown —
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at UiPath.Service.UserHost.StudioOperations.<>c__DisplayClass5_0.<b__0>d.MoveNext()
— End of stack trace from previous location where exception was thrown —
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at UiPath.CoreIpc.CancellationHelper1.<Invoke>d__31.MoveNext()
— End of stack trace from previous location where exception was thrown —
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at UiPath.CoreIpc.Server.d__22.MoveNext()
— End of stack trace from previous location where exception was thrown —
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at UiPath.CoreIpc.Server.d__21.MoveNext()
— End of stack trace from previous location where exception was thrown —
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at UiPath.CoreIpc.Server.<>c__DisplayClass4_2.<<-ctor>b__6>d.MoveNext()
— End of stack trace from previous location where exception was thrown —
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at UiPath.CoreIpc.IOHelpers.d__10.MoveNext()
— End of stack trace from previous location where exception was thrown —
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at UiPath.CoreIpc.IOHelpers.d__16`1.MoveNext()

Please note that I believe that the access denied is a licensing issue, which I fixed by configuring UiPath Assistant Orchestrator settings based on this YouTube video (covered in the 1st 10 minutes).

After this I got the following error:
Activity Use Excel File ( Excel Application Card ) failed:

Error opening workbook. Make sure Excel is installed.

The YouTube clip I watched is titled " UiPath RPA Beginners Tutorial [2020]" by Anders Jensen.

I just learned that Orchestrator connection not required to get it to StudioX project to run.

I was able to get ti to work by installing StudioX and Excel (Office365) on a Windows 7 VM. I was originally trying this on my computer which has Windows 10 with Office365.

It seems to me that Studio X is quite unstable, it should work on Windows 10 but only after installing on Windows 7 VM it works (?). I am still in the reviewing phase if the whole Uipath suite would be suitable for our company (multinational) but this product seems to me very buggy and inconsistent and remembers me to the days of Windows 3.11 back in the 80"s.

Hey Zeinma. It’s my video, you’ve watched. The video is about Studio and not StudioX just to have that cleared :blush: You need to have Excel installed in order to work with the Excel activities, however you can use the Workbook activities instead (combine with the Data Table activities). In fact I almost never use the build in Excel activities myself. Let me know, if that helped? Kind regards, Anders