We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Hangs while converting pdf file into CSV file

while converting pdf file into CSV file, the program hangs and goes in deadlock condition.

@MukundGadre

Could you please ZIP and attach your input PDF file here for testing? We will investigate the issue and provide you more information on it.

Shreyas10122021.pdf (804.4 KB)

@MukundGadre

We have converted the shared PDF to CSV using the latest version of Aspose.PDF for .NET 21.12 with following code example. We have not found the shared issue. So, please use Aspose.PDF for .NET 21.12.

Aspose.Pdf.Document doc = new Aspose.Pdf.Document(MyDir + "Shreyas10122021.pdf");
ExcelSaveOptions excelSave = new ExcelSaveOptions { Format = ExcelSaveOptions.ExcelFormat.CSV };
doc.Save(MyDir + "21.12.csv", excelSave);

Shreyas10122021.pdf (799.0 KB)
Shreyas10122021.pdf (799.0 KB)
Tried convertion using version 21.12. Ater conversion, the csv file does not maintain the column alignment matching with table in pdf file.
For example, see the table on page 4 of original pdf file.
Compare the contents in CSV file (opened using MS Ecxel). The corresponding conversion is shown in Row 125 and Row 126 of the CSV file. The corresponding part in PDF is highlighted for convinience.

Also tried converting it to DOCx. The converted file cant be opened in MS Word. Gives error message as “there is error in the file.”
Shreyas10122021.pdf (799.0 KB)

@MukundGadre

We have managed to reproduce the same issue at our side. For the sake of correction, we have logged this problem in our issue tracking system as PDFNET-51126. You will be notified via this forum thread once this issue is resolved.

We have logged this problem in our issue tracking system as PDFNET-51127. You will be notified via this forum thread once this issue is resolved.

We apologize for your inconvenience.

We are waiting for the solution. My decision on “whether to go for latest upgrade or not” depends on success of this solution.

Thanks.

@MukundGadre

Currently, your issues are pending for analysis and are in the queue. Once we complete the analysis of your issues, we will then be able to provide you an estimate.

2 posts were split to a new topic: PDF to CSV conversion hangs