We have an excel file in a D drive folder which is a status file containing all the records processed.
Suddenly Bot is not able to read the file and creating multiple copies of the same file without any records.
File is blank without any column itself.
Check if file exist return true when you check whether the file is in the location or not
Yes file is in location. Looks like bot is not able to read the file.
But how come it is creating new files ?
Hi @kkpatel ,
Can you show a glimpse of code so that we can check.
Could you please share a screenshot of the error message?
Its just using Excel Application Scope and reading the file and writing the file.
Actually that’s where we did a mistake. Instead of exception.message we just printed some custom message in the Catch section.
May be Bot is finding any Temp file so it starts creating another file. In that case you can check in a control of no Temp file availability.
Can you print the Exception.Message in catch section and share it here. So that we can check and help you to resolve the issue.
In the server the folder and files were made read only. Hence Bot was not able to read the file.
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.