且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

在SQL Server -2005&中执行Sql查询时超时异常2008年

更新时间:2022-11-27 13:58:16

尝试增加CommandTimeout属性: ^ ]
Try increasing the CommandTimeout property : http://msdn.microsoft.com/en-us/library/system.data.sqlclient.sqlcommand.commandtimeout.aspx[^]




将此代码添加到您的Web.Config中

Hi ,

Add This Code On Your Web.Config

<system.web>
    <httpRuntime maxRequestLength="2097151" 

     enable = "True" executionTimeout="45" />
  </system.web>




希望对您有帮助




Hope this may help you