Can't Load attached pdf into PdfViewer, even in demo site. Its just spining, and thats all

Hi, Can't Load attached pdf into PdfViewer, even in demo site. Its just spining, and thats all.

It happend in latest release version 43
Unexpected token F in JSON at position 0
SyntaxError: Unexpected token F in JSON at position 0
    at JSON.parse ()
    at t.pdfViewer.serverActionSettings.loadRequestHandler.onSuccess (https://blazor.syncfusion.com/demos/_content/Syncfusion.Blazor.PdfViewer/scripts/pdfviewer-01062a.min.js:1:1167781)
    at t.successHandler (https://blazor.syncfusion.com/demos/_content/Syncfusion.Blazor.PdfViewer/scripts/pdfviewer-01062a.min.js:1:1355509)
    at Object.ioSuccessHandler (https://blazor.syncfusion.com/demos/_content/Syncfusion.Blazor.Core/scripts/syncfusion-blazor-extended-01062a.min.js:1:35677)
    at https://blazor.syncfusion.com/demos/_framework/blazor.server.js:8:31619
    at new Promise ()
    at e.beginInvokeJSFromDotNet (https://blazor.syncfusion.com/demos/_framework/blazor.server.js:8:31587)
    at https://blazor.syncfusion.com/demos/_framework/blazor.server.js:1:20052
    at Array.forEach ()
    at e.invokeClientMethod (https://blazor.syncfusion.com/demos/_framework/blazor.server.js:1:20022)
throwError @ syncfusion-blazor-extended-01062a.min.js:1



Attachment: 01Sport_Stretching_9babaf97.zip

4 Replies 1 reply marked as answer

VS Vasugi Sivajothi Syncfusion Team February 18, 2021 09:49 AM UTC

Hi Alex, 
 
 
Thanks for contacting Syncfusion support. 
 
We were able to reproduce the reported issue with the provided document. We suspect that the issue is due to the document specific. So, we will analyze further on this and update you with more details on February 22, 2021. 
  
 
Regards, 
Vasugi 



VS Vasugi Sivajothi Syncfusion Team February 22, 2021 06:34 PM UTC

Hi Alex,  
 
  
We have checked the given PDF document and found that it is corrupted (also in Adobe Acrobat there is no content is preserved). Please refer the below screenshot for more details,  
  
 
We can able to open the corrupted PDF document using OpenAndRepair overload. Please refer the below UG documentation for more details,  
  
However, the OpenAndRepair overload is capable of resolving basic cross reference offset issues and cannot repair complex document corruption. So we cannot able to repair the provided damaged file. 
  
Please let us know if you have any concerns on this.  
 
  
Regards, 
Vasugi 


Marked as answer

AL Alex February 25, 2021 02:07 PM UTC

Thanks for your answer, it was helpful


VS Vasugi Sivajothi Syncfusion Team February 26, 2021 06:38 AM UTC

Hi Alex, 
 
 
Thank you for the update. We are glad to know that the issue was resolved.  
 
 
Regards, 
Vasugi 


Loader.
Up arrow icon