Hi! First of all, thank you for your help. I’m working with UiPath studio and my problem is that when I try to publish my project the system show me this message:
Project cannot be published. Main file has validation errors.
But when I execute in design or execute mode works fine without any error.
This are the logs
System.Exception: Project cannot be published. Main file has validation errors. —> System.Activities.InvalidWorkflowException: Main
at UiPath.Workflow.ViewModels.MainViewModel.CheckProjectForErrors()
at UiPath.Workflow.ViewModels.MainViewModel.PackAndPush()
— End of inner exception stack trace —
It’s a simple job to download a report from a web and move it to a folder, but I can’t upload the file because I’m a new user
Can I send it by another way?
Well when you are publishing a project so is there any other files also exists in that project?
Suppose you have created a project name “Abc” and inside that created workflow1, workflow2 and so".
and if there is some eror in workflow1 and you are wants to publish and working on workflow 2 then it will not allow you to publish. it will publish project having all workflows inside it as with that package name. so make sure you are following such thing .
Correct, there were several xaml files in the same folder. I moved the project file to another folder and now it works!
I have now a .nupkg file but when I try to execute it from the UiPath robot, the system returns this message:
“Invalid package. Project json file was not found”
I’ll appreciate very much your help
I am getting following error when trying to publish a simple project
Project cannot be published. GetAppCredentials file has validation errors.
System.Exception: Project cannot be published. GetAppCredentials file has validation errors. —> System.Activities.InvalidWorkflowException: GetAppCredentials
at UiPath.Workflow.ViewModels.MainViewModel.CheckProjectForErrors()
at UiPath.Workflow.ViewModels.MainViewModel.PackAndPush()
— End of inner exception stack trace —
all this is not working in my case - I am wondering what may be the issue…
After reinstallation - and even from the first myexperiences with UiPath I have notice many samples (original ones) were not working at all. Like my VS2017 interferes with it or Nvidia CUDnn ?
Am facing the same issue where the following error keeps coming up.
Project cannot be published. ~Filtering rows file has validation errors.
System.Exception: Project cannot be published. ~Filtering rows file has validation errors. —> System.Activities.InvalidWorkflowException: ~Filtering rows
at UiPath.Workflow.ViewModels.MainViewModel.CheckProjectForErrors()
at UiPath.Workflow.ViewModels.MainViewModel.PackAndPush()
— End of inner exception stack trace —
The Filtering rows is an old sample example file which is not even in the folder in which my main xaml is present.
I have noticed one thing… The path of the file on the project pane is not the actual path of the main file.
The project pane in UiPath Studio shows the path as “C:\Users\Satin\Downloads”.
But the main file is actually present in “C:\Users\Satin\Downloads\Folderone\Foldertwo” and I have opened the file by navigating to that path. Filtering rows is not present in this folder.