.NET Framework Developer Center > .NET Development Forums > ASMX Web Services and XML Serialization > ERROR_NO_DATA was thrown sometimes by web service/SOAP
Ask a questionAsk a question
 

QuestionERROR_NO_DATA was thrown sometimes by web service/SOAP

  • Friday, November 06, 2009 5:23 AMWood-MSDN Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    I've a web service on machine A which also has a WS client (for my experiment purpose). If I keep looping to call a WS foo(), occasionally I will get ERROR_NO_DATA HResult from the service. What is the reason and how do I eliminate this exception at all, if possible?

    Any pointer is appreicated.

    Thanks.

All Replies

  • Wednesday, November 11, 2009 4:00 PMranamauroModeratorUsers MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    ASMX would not return ERROR_NO_DATA, this sounds like it might be an error from the client API are you using to access the WS. What APIs are you using? And what is the full stack trace at the time of the error?
    Depending on what technologies you're using, you might be able to get some tracing information to help you diagnose the issue; using netmon is also a possibility for diagnosing based on what goes on over the network.
    ranamauro