ASP.NET 500 Internal Server Error while calling webmethod from javascript

前端 未结 5 2057
爱一瞬间的悲伤
爱一瞬间的悲伤 2021-01-02 17:53

I\'m trying to call the webmethod fucntionality using AJAX but unable to get the appropriate results. I have googled my problem and found many solution but thos

5条回答
  •  傲寒
    傲寒 (楼主)
    2021-01-02 18:24

    This is not specific to this question but you can check a few things to get better understanding of what is causing the issue.

    • Check the status code and type of request in the General section of Request Headers.
    • Check the Response Headers if there is any json error.
    • Check the Response to get the message, stacktrace and exception type.
    • Check the Request Payload section in Headers for parameters passed.

    Check this post for more detail.

提交回复
热议问题