locked
Web Service 过一段时间没有访问后,第一次访问会超时,再次访问就好了。请教是怎么回事?怎么解决。 RRS feed

  • 问题

  • Web Service 过一段时间没有访问后,第一次访问会超时,再次访问就好了。

    请教是怎么回事?怎么解决。

    这个web service  是一些产品价格供客户访问查询

     

    2010年5月21日 5:57

答案

  • 看event log里面有没有application pool被recycle的信息。如果有的话,在application pool设置里面把recycle时间设置长一点。

    The following is signature, not part of post
    Please mark the post answered your question as the answer, and mark other helpful posts as helpful.
    Visual C++ MVP
    2010年5月21日 13:08

全部回复

  • 看event log里面有没有application pool被recycle的信息。如果有的话,在application pool设置里面把recycle时间设置长一点。

    The following is signature, not part of post
    Please mark the post answered your question as the answer, and mark other helpful posts as helpful.
    Visual C++ MVP
    2010年5月21日 13:08
  • 一般是应用程序次回收了导致此类的问题出现


    I see you~http://hi.baidu.com/1987raymondMy Blog~~~
    2010年5月23日 1:53
  • 那么 时间该长一点,  始终还是会被回收,  比如隔几天访问一次,  回收后第一次访问又会超时,

    我想知道的是如果被回收了,怎么才能保证第一次访问正常而不超时?

    请斑竹赐教!

     

    ----------明白了  我新建了个App Pool 关于回收的属性都不勾,这样就不回收了.   谢谢

    2010年5月24日 5:19