本文介绍了请求在Asp页中超时的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我已经用一个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页中超时
发布评论