Facing an error when loading PdfViewer

Dear Sir,


I face an error when trying to load the PdfViewer.

It seems the error is come from the connection to API.

https://localhost:44309/PdfViewer/undefinedapi/PdfViewer/Load Error 404

I am not sure how can I get rid of the "undefinedapi", it should be "api" only.

The rest of the function such as document editor, spreadsheet viewer is working fine.


Attached is the screenshot of the erorr, controller and views.


Regards,
WK


Attachment: PdfViewer_Error_2b3c85cb.zip

2 Replies

SK Shamini Kiruba Sobers Syncfusion Team January 12, 2022 01:59 PM UTC

Hi Chua, 
  
We suspect that the reported issue is due to the incorrect service URL. Kindly refer to the below documentation and the working sample links. 
  
  
  
Regards, 
Shamini 



CW Chua Wei Kiat January 13, 2022 07:46 AM UTC

Dear Sharmini,


Yes, this has been fixed after referring to your provided document.


Thanks a lot!


Regards,

WK


Loader.
Up arrow icon