Project cannot be published. Readfile file has validation errors

studio
publish

#1

Whenever I am trying to publish my project it’s saying the project cannot be published although I checked the workflow everything seems right.


#2

Hi, can you post the error message?


#3

Hi @Asmit_Anand1

You said that the workflow seems fine. If you have reinstalled Studio please make sure to have all the necessary Activity Packs installed as well. The error you are getting might be because of this.


#4

Yes , I will


#5

Hi, Do you have any other .xaml file in the same project folder other than main.xaml?


#6

No, only this file.


#7

Ok. If you have a .xaml workflow in the same folder that has validation errors then it won’t let you publish it since it publishes all files in the folder. So, if that’s the case rename the file that has errors or fix the errors in all files, then publish should work.


#8

Hi Asmit,
Are you facing trouble with all projects or with this project only??
Create a sample project with message box and try to publish it.


#9

@Asmit_Anand1
Just to double-check: have you run ‘Validate’ (Check for Errors) in ‘Execute’ tab?


#10

In one of my .xaml file i am getting sheet does not exist exception can u suggest me the solution for this. Although that xaml file is working fine in download folders. But when i tried to run the same in different folder it is giving this sheet does not exist exception.


#11

Thanks bro


#12

Hi Asmit,

Can you try giving absolute path for the sheet?


#13

I don’t want to hard code the path. Is there is any way to set dynamic path.


#14

Yes , there are 2things

If file is within project folder then just provide file name

Create a variable , assign value as file path and use it wherever required.

But with hard coding , is your issue resolved ? Just to make sure things are fine


#15

Not yet, what i am doing is downloading a google sheet and want to use that sheet so that it can read the birthday date and send an email to the person on their date of birth. but after downloading it is not reading the sheet .


#16


#17

Downloading excel is an one time activity or workflow has to do always?

If always then I do not find open browser type activity to perform it in the workflow you shared…


#18

I haven’t shared the workflow regarding excel download yet it’s above this workflow. I only want to read that sheet from the download folder so that it can send an email on the DOB date. It is one time activity.


#19

Have created One flow of downloading excel from drove and merging into another… if your solution isn’t working and need this sample then let me know.


#20

Mine is not working, can u share me your .xaml file ?