请求在Asp.net页中超时 [英] Request timed out in Asp.net page

查看:75
本文介绍了请求在Asp.net页中超时的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



我已经用一个sp绑定了gridview,但是它给我错误请求超时".我还在web.config文件中设置了timeout = 30.请给我解决方法.

问候
lalit

Hi ,

I have bind gridview with one sp but it give me error "Request timed out". I also set timeout=30 in web.config file. Please give me solution for it.

regards
lalit

推荐答案



请检查发生了什么超时,然后相应地设置超时属性.

在system.web标记下的httpRuntime中设置执行超时
< httpruntime executetimeout ="120">

如果数据库发生超时,则在SQLCommand obj中设置命令超时.
Hi,

Please check what time out is occuring and then set timeout property accordingly.

Set execution timeout in httpRuntime under system.web tag
<httpruntime executiontimeout="120">

If timeout is happening from DB then set command timeout in SQLCommand obj.



这篇关于请求在Asp.net页中超时的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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