ashoks93
(ash)
October 31, 2018, 9:54pm
1
Hi All,
I’m trying read PDF and classify them based on number of pages on the PDF.
When I move try to move the file. I get the following error.
Error Message:
“message”: “Move file : The process cannot access the file because it is being used by another process.”,
“level”: “Error”,
I use following flow to count the page number.
PageCount.xaml (9.1 KB)
What is the best way to end the StreamReader before I move the file?
Thanks,
Ashok
Hi, I need help with this too, have you solved this problem?
Could you share the solution please?
1 Like
I know this is late reply but it may be helpful for someone, I have solve it by “Invoke code” activity and create an argument(in_SR) Direction = In , type = System.IO.StreamReader and Value = SR and write below code in invoke code:
in_SR.Close()
4 Likes
I confirm the solution of @Nhadapkar
1 Like
Nhadapkar
(Neeraj)
January 27, 2020, 5:31am
5
If my replay was helpful please mark it as solution to close this topic
system
(system)
Closed
January 30, 2020, 5:31am
6
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.