It seems that you have trouble getting an answer to your question in the first 24 hours.
Let us give you a few hints and helpful links.
First, make sure you browsed through our Forum FAQ Beginner’s Guide. It will teach you what should be included in your topic.
You can check out some of our resources directly, see below:
Always search first. It is the best way to quickly find your answer. Check out the icon for that.
Clicking the options button will let you set more specific topic search filters, i.e. only the ones with a solution.
Topic that contains most common solutions with example project files can be found here.
Read our official documentation where you can find a lot of information and instructions about each of our products:
Meet us and our users on our Community Slack and ask your question there.
Hopefully this will let you easily find the solution/information you need. Once you have it, we would be happy if you could share your findings here and mark it as a solution. This will help other users find it in the future.
Thank you for helping us build our UiPath Community!
Hi @VinayTiwari,
Could you describe it more? Which Studio version do you have. What means that you rebuilt .json file (this shouldn’t be edited or manually opened - can cause project damage). How looks the main.xaml file structure? Have you done anything with it before is starts to not working?
I am using “2020.10.0 beta. 754” version of the uipath tool.
Initially, the project.json file got corrupt, which leads to error message “Document is Invalid” while opening “main.xaml” file. Rebuilt the project.json file means just cross checked the entries of name, description and main looks good. I haven’t edited anything into .json files.
Initially, it was working fine later on restarted the uipath tool post it throws “Document is Invalid” error message.
Are you able to share this main.xaml and project.json file? You can do it via PM in case of any sensitive data. I would like just dive into it and check what happens.
Sure @Pablito will share the main.xaml and project.json file with you. As of now I am able to open my main.xaml file into Uipath studio and able publish the same at Orchestrator. In short there is no validation error in my child bot.
But once I place my main.xaml file into Master bot folder where all the child bots are present which we do publish at Orchestrator and call each one of them via Master bot, it throws validation error -
“Cannot set unknown member ‘UiPath.Excel.Activities.ExcelApplicationScope.InstanceCachePeriod’.”
I tried to update the project dependent packages to higher version but no luck.
What @Maneesha_de_silva said can be a solution but be careful here because messing with project.json might completely damage you project. For sure do a backup and remember dependencies you have used in the project as those would need to be re-installed in the project.
@Maneesha_de_silva the folder is having “project.json” file of my master bot only. For rest of the child bots there is no “project.json” file available in the directory. All the child bots are being invoked from master bot only.
Once I remove the “project.json” file it behaves abnormally, issues remain same.
@VinayTiwari
While aggred with @Pablito mention and in addition to that try below also
opening that file in notepad and removed the Out_Argument and the assign activity which is using the same argument.
if this is also not working means that your file may be corrupted ,
@JIHUN - I tried to install excel activities and install activities package. Once i reopen my bot it says excel application scope activities are missing with the below error message -
Thanks @JIHUN, I restarted my bot couple of times after installing the said packages. Post manually added excel application scope activities and it worked.
This time “InstanceCachePeriod=3000” property is not appearing in the property pane of “ExcelApplicationScope” activity within options area.