服务器响应状态为500(内部服务器错误) [英] The server responded with a status of 500 (internal server error)

查看:1898
本文介绍了服务器响应状态为500(内部服务器错误)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

I am calling web service using Ajax
 $.ajax({
                type: "POST",
                contentType: "application/json; charset=utf-8",
                url: "../Common/CommonServices.asmx/Getclientdetails",
                data: JSON.stringify({ arr: ListArray1 }),
                dataType: "json",
});
It works good. I deployed this code it works when user loged in it works for a while 
but after some time it shows error.





我尝试了什么:



为了解决这个问题,我增加了执行时间和会话时间,但它没有工作。

我该怎么办?



What I have tried:

To fix this I increase the execution time out time and session but it dose not work.
what should I do?

推荐答案

.ajax({
type: POST
contentType: application / json; charset = utf-8
url: ../ Common / CommonServices.asmx / Getclientdetails
data: JSON .stringify({arr:ListArray1}),
dataType: json
});
它运作良好。我部署代码,当用户使用 时,它的工作原理 ,而
但过了一段时间后显示错误。
.ajax({ type: "POST", contentType: "application/json; charset=utf-8", url: "../Common/CommonServices.asmx/Getclientdetails", data: JSON.stringify({ arr: ListArray1 }), dataType: "json", }); It works good. I deployed this code it works when user loged in it works for a while but after some time it shows error.





我尝试了什么:



为了解决这个问题,我增加了执行时间和会话时间,但它没有我应该怎么办?



What I have tried:

To fix this I increase the execution time out time and session but it dose not work.
what should I do?


这篇关于服务器响应状态为500(内部服务器错误)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆