试一试在连接对象中的timeout参数。
还有连接字符串中加入timeout参数,因为这两个地方,好像都带超时参数。
调用数据库的存储过程的commmand也有timeout参数。所以你看看这几个地方的timeout都设置的怎么样?
我估计可能是调用存储过程的command超时。

解决方案 »

  1.   

    <processModel
                enable="true"
                timeout="Infinite"
                idleTimeout="Infinite"
                shutdownTimeout="0:00:05"
                requestLimit="Infinite"
                requestQueueLimit="5000"
                restartQueueLimit="10"
                memoryLimit="60"
                webGarden="false"
                cpuMask="0xffffffff"
                userName="machine"
                password="AutoGenerate"
                logLevel="Errors"
                clientConnectedCheck="0:00:05"
                comAuthenticationLevel="Connect"
                comImpersonationLevel="Impersonate"
                responseRestartDeadlockInterval="00:09:00"
                responseDeadlockInterval="00:03:00"
                maxWorkerThreads="25"
                maxIoThreads="25" />是不是改这里的timeout?应该怎么写?多谢啦各位
      

  2.   

    timeout=2000000
    反正就是timeout等于一个特别大的数字。1是1秒。2000000是多少?
      

  3.   

    你是不是用了webservice
    如果用了的话
    那就着样:
    localhost.service aa = new localhost.service() //这里是你的webservice
    aa.TimeOut = 10000;  //这里是你的时间
      

  4.   

    如果你每次都是这种情况,从来没有正确显示过页面,这说明你的程序写的有问题,但.net没给你查出来,好好修改一下程序应该可以解决。我也碰到过类似的错误!