暂无介绍
发布时间:2007-05-26 07:05:54
当使用.NET开发数据库应用时,有时会遇到下面的超时异常,Timeout expired. The timeout period elapsed prior to completion of the operation or the server is not responding.[@more@]现把解决方法总结一下:影响服务器产生超时的设置大致有:1. Server.scrīptTimeout,2. Connection对象的CommandTimeOut属性,3. Command对象的CommandTimeOut属性,4. IE浏览器的设置.Server.scrīptTimeout,默认值是90秒.要增大它,在你的asp文件中加一句,如下:Server.scrīptTimeout=999,将页面超时设为999秒.最初我只设置Server.scrīptTimeout,但仍会......【阅读全文】