Error 500 , fail to load api/Pdfviewer/load

Dear Sir,

I encountered an error 500 issue when trying to load the Pdfviewer.

Please see the attached screenshot.

and this is my API routing.

 config.MapHttpAttributeRoutes();


            config.Routes.MapHttpRoute(

                name: "DefaultApi",

                routeTemplate: "api/{controller}/{action}/{id}",

                defaults: new { id = RouteParameter.Optional }


Moreover, I get this message when try to load the api/pdfviewer/load

<Error>
<Message>The requested resource does not support http method 'GET'.</Message>
</Error>

Please help me to check. Thank you.


Regards,

WK


Attachment: error_500_,_api_pdfviewer_load_70415e5b.zip

1 Reply

DM Dhivyabharathi Mohan Syncfusion Team January 11, 2022 03:24 AM UTC

Hi Chua, 
  
 
We suspect that the reported issue “Internal sever error” will be thrown if any exception was thrown in the Web serviceThe reported issue is not replicated on our end. We have shared the sample in which we tried to replicate this issue. 
  
 
 
 
  
 
 
Could you please try with the provided sample and let us know whether you are facing the same issue? And kindly share the modified sample in which you are facing this issue. So that it will be helpful for us to investigate further and provide the solution at the earliest. 
 
  
Regards, 
Dhivya. 


Loader.
Up arrow icon