.NET VS- [WebException: The operation has timed out]

0

I am developing a program in C # with Web Forms that consume methods of a WCF service.

The following error is coming to me:

  

Exception "The operation has timed out".

     

Description: An unhandled exception occurred during the execution of   the current web request. Please review the stack trace for more   information about the error and where it originated in the code.

How can I solve this? Such error is not compilation.

    
asked by fernando_c 17.10.2016 в 00:30
source

1 answer

0

Normally the exception "The operation has timed out" means that the server has exhausted the maximum waiting time for an operation, and your program has not received a response. That can happen because the connection is bad, or because the server is saturated, or because the operation you want to do requires a lot of processing, or enters into rare loops.

Even so, check that what happens is not that you are giving an exception in the webservice with the data you send.

    
answered by 17.10.2016 в 08:53