.NET Framework Developer Center > .NET Framework Forums > ASMX Web Services and XML Serialization > aspnet webservice thread going on sleep mode while retrieving data from DB2

Unanswered aspnet webservice thread going on sleep mode while retrieving data from DB2

  • Monday, March 22, 2010 7:23 AM
     
     

    we created a service through which we retrive data from JDEdwards(DB2 database) based on time constraint of 24 hrs. The server is  hosted in asp.net 2.0 web application in IIS 6.0 on Win 2003 Server.

    But after invocation of thread, firstday data retrieval is doing fine. On the very next day the thread is not retrieving data and the thread is going on sleepmode.

     

    in our testing environment, the service is working fine. Data retrieval is also happening as per scheduled time, even though the system is logged off by all the users.

    Please advice in this regard.

    thanks

    Sibaram

All Replies

  • Monday, March 22, 2010 4:59 PM
    Moderator
     
     

    There is no such thing as "sleep mode" for a thread. The thread may be waiting for something - you need to find out what it's waiting for and why.

     


    John Saunders
    WCF is Web Services. They are not two separate things.
    Use WCF for All New Web Service Development, instead of legacy ASMX or obsolete WSE
    Use File->New Project to create Web Service Projects