Getting File not found exception while Parsing excel file
Hi All,
I am uploading the excel file using file path control and trying to parse it using OOTB activity MSOParseExcelFile. I am getting File not found exception while Parsing excel file.
Also the pyFileUpload property is not being populated in pxRequestor Page. So I am hardcoding path and passing it as a parameter to MSOParseExcelFile activity, but still getting the below error in logs.
2016-08-09 13:24:32,305 [-bio-8080-exec-19751] [dalProcess] [ ] [ FXMM:01.01.01] (rseExcelFile._baseclass.Action) ERROR pegacloud.io|ip-10-123-0-55.eu-west-1.compute.internal - java.io.FileNotFoundException: file://default:/Users/584539/Desktop/TestingExportData1.xlsx
2016-08-09 13:24:32,306 [-bio-8080-exec-19751] [dalProcess] [ ] [ FXMM:01.01.01] (rseExcelFile._baseclass.Action) ERROR pegacloud.io|ip-10-123-0-55.eu-west-1.compute.internal - Error in parsing Excel file C:\Users\584539\Desktop\TestingExportData1.xlsx
Error in Tracer : Getting the below error message in tracer The uploaded file template could not be recognized. Please upload a valid file. Refer to template OpInfo_tmp1 for details.
The uploaded file is same as template but still getting the error.
Please help. Thanks In Advance.
***Updated by moderator: Lochan to add Category***
Hi,
Sorry for delayed response.
As you are uploading it in screenflow, it might not upload the file in each stage. May be upload it after the screen flow got complete. Just an assumption.
Can you try the below.
Create a button on the screenflow to upload.
On the button invoke local action. In the local action you will have one flow action referred. On the section of the flow action use the filePath control. Now on the post processing of the flow action try to parse the excel.
If you already fixed the problem , let us know your approach.
-Saikat