请求在Asp.net页中超时

编程入门 行业动态 更新时间:2024-10-24 20:13:01
本文介绍了请求在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页中超时

本文发布于:2023-11-12 01:43:55,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1580156.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:Asp   net

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!