WCF - Random client timeout when making multiple calls

后端 未结 2 492
天命终不由人
天命终不由人 2021-02-06 01:39

I have a WPF client requesting data via WCF service hosted in IIS 7. The service method makes a call to a stored procedure (SQL 2012

2条回答
  •  悲哀的现实
    2021-02-06 02:00

    To find out what causes your timeouts you should trace what is going on in WCF. Adding the following to your config files will generate a trace file on your client and server:

    
       
           
              
                  
              
           
       
        
    
    

    Normally the file will tell you exactly what is going on and what fails. Make sure you have the C:\logs dir and the user has write permissions on the directory.

    Configure wcf tracing

提交回复
热议问题