Project cannot be published - Kill Processes Per User - Validation errors

Hi Team,

I’m having trouble publishing a project in studio, I’ve researched several topics, but I could not find a solution.

Project cannot be published. KillProcessesPerUser file has validation errors.

System.Exception: Project cannot be published. KillProcessesPerUser file has validation errors. —> System.Activities.InvalidWorkflowException: KillProcessesPerUser
at UiPath.Workflow.ViewModels.MainViewModel.CheckProjectForErrors()
at UiPath.Workflow.ViewModels.MainViewModel.PackAndPush()
— End of inner exception stack trace —

error

SolicitacaoApontamentoTratado.xaml (20.3 KB)

I was able to publish the exact xaml file that you attached without any change. Do you have mutliple other xaml files within the same package?

Thanks,
Rammohan B.

@Rammohan91 :tired_face:

I did not understand. but I do not think there are several.
My doubt still continues and the error also, but now this was it.

error

I mean how many workflows you have within the same project?

Is there any file called Outlook file within your project? Go through all the workflows along with all the activities and see if you can see any of the activity throwing any error?

Are you able to run the workflow successfully from the studio?

Thanks,
Rammohan B.

Got it. Sorry, I’m still starting, sometimes I have some difficulties. :rofl:
Well, I do not have multiple streams and no files called Outlook. Which makes my doubt even greater. No error is displayed in the studio. The workflow runs perfectly.

File that you attached is SolicitacaoApontamentoTratado.xaml what is KillProcessesPerUser?

Attach a screenshot of ur project explorer?

Thanks,
Rammohan B.

Good question, I do not have in this project any KillProcessesPerUser

thank you for your attention,

Got it. Thats where you went wrong.

Create a specific folder for your project and place your xaml within that folder. Open UiPath Studio and from the studio try to navigate to that folder and select your xaml file.

Save, Execute & Try Publishing.

Thanks,
Rammohan B.

Hi @Rammohan91
thanks. I got

1 Like