Error in Studio UIPATH at System.Diagnostics.Process.StartWithCreateProcess


I need some help please:

I put the programming to do the table extraction and then selection of unlimited pages so that done to all pages like the site, then the pages will start to do, but when it runs down all the pages at the end the error appears and I can’t same.
Can you help me what I need to do to fix this error below?

RemoteException wrapping System.ComponentModel.Win32Exception: O nome do arquivo ou a extensão é muito grande
at System.Diagnostics.Process.StartWithCreateProcess(ProcessStartInfo startInfo)
at System.Diagnostics.Process.Start()
at UiPath.Core.Activities.MessageBox.GetProcessResult(String text, TimeSpan autoCloseAfter, MessageBoxOptions buttons, String title, Boolean showTopMost)
at UiPath.Core.Activities.MessageBox.<>c.<.ctor>b__26_0(String text, TimeSpan autocloseAfter, MessageBoxOptions buttons, String title, Boolean showTopMost)
at UiPath.Core.Activities.MessageBox.Execute(CodeActivityContext context)
at System.Activities.CodeActivity.InternalExecute(ActivityInstance instance, ActivityExecutor executor, BookmarkManager bookmarkManager)
at System.Activities.ActivityInstance.Execute(ActivityExecutor executor, BookmarkManager bookmarkManager)
at System.Activities.Runtime.ActivityExecutor.ExecuteActivityWorkItem.ExecuteBody(ActivityExecutor executor, BookmarkManager bookmarkManager, Location resultLocation)
— End of stack trace from previous location where exception was thrown —
at UiPath.UIAutomationNext.Activities.NApplicationCard.OnFault(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 @Virtual_Dez,

The error seems to be related to using a long filename and extension.Do not use if you are trying to print with messagebox or writeline. Check the output by printing it on a notepad instead.

If you encounter this error while datascraping, can you share a screenshot?


thank you,


I will attach the structure that I programed the robo and the error.
When I click in run the robo do correct I’ve program, page for page…but unfortunatelly in the end when finish everthing instead I receive a list the information I’ve asked, just show the error you can see, ok ?

The Error

The Structure I’ve programmed


Please, if you need other information to help how to solve it, pleaselet me know ok ?


I guess your string in the MessageBox is too large. So can you try to use WrtiteTextFile instead of Messagebox, then check the text file?



I will try it right now.
And give you the return :slight_smile:



thank you a lot.

You solve it…

Thank you again :slight_smile:

1 Like


I’ve got the solution.
Thank you too to your attention :slight_smile: