WCF timeout exception detailed investigation

后端 未结 11 1290
失恋的感觉
失恋的感觉 2020-11-29 16:44

We have an application that has a WCF service (*.svc) running on IIS7 and various clients querying the service. The server is running Win 2008 Server. The clients are runnin

11条回答
  •  一向
    一向 (楼主)
    2020-11-29 17:19

    Looks like this exception message is quite generic and can be received due to a variety of reasons. We ran into this while deploying the client on Windows 8.1 machines. Our WCF client runs inside of a windows service and continuously polls the WCF service. The windows service runs under a non-admin user. The issue was fixed by setting the clientCredentialType to "Windows" in the WCF configuration to allow the authentication to pass-through, as in the following:

          
            
            
          
    

提交回复
热议问题