Quantcast
Channel: UiPath Community Forum - Topics tagged error
Viewing all articles
Browse latest Browse all 4384

Use Excel File card throws an exception when used in a loop

$
0
0

@kaderms wrote:

Here is the scenario that my business team is working on with StudioX.
They need to open each excel file saved in a folder and perform some operation with them.
But Use Excel File card throws an exception like the one below when it runs for the second time in the loop (For each file in folder)

Tried inserting the excel card in any loop for that matter, I came across the same problem again.
This seems like an bug to me. Suggestions anyone?

image

20.2.0-beta.108+Branch.release-v2020.2.0.Sha.8a477a3ff8e9d37d84fd97a9b453d655d8f9dddd

Source: Use Excel File

Message: Workbook closed. Please re-initialize the workbook.

Exception Type: UiPath.Excel.ExcelException

RemoteException wrapping UiPath.Excel.ExcelException: Workbook closed. Please re-initialize the workbook. 
   at UiPath.Excel.WorkbookQuickHandle.CloseWorkbook()
   at UiPath.Excel.WorkbookQuickHandle.InitializeWorkbook(IExtendedWorkbookFactory workbookAppFactory)
   at UiPath.Excel.Activities.Business.ExcelApplicationCard.Execute(NativeActivityContext context)
   at System.Activities.NativeActivity.InternalExecute(ActivityInstance instance, ActivityExecutor executor, BookmarkManager bookmarkManager)
   at System.Activities.ActivityInstance.Execute(ActivityExecutor executor, BookmarkManager bookmarkManager)
   at System.Activities.Runtime.ActivityExecutor.ExecuteActivityWorkItem.ExecuteBody(ActivityExecutor executor, BookmarkManager bookmarkManager, Location resultLocation)

Excel Card Issues.zip (64.2 KB) This is a sample project I made to replicate the scenario quick -

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 4384

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>