4

我有一个 WCF 服务在现场给出以下错误

Event code: 3005 
Event message: An unhandled exception has occurred. 
Event time: 19/06/2012 10:39:09 
Event time (UTC): 19/06/2012 09:39:09 
Event ID: 501c1b630958413db7c7f746b0a467f7 
Event sequence: 74336 
Event occurrence: 742 
Event detail code: 0 

Application information: 
    Application domain: /LM/W3SVC/5/ROOT-1-129844753959691296 
    Trust level: Full 
    Application Virtual Path: / 
    Application Path: <private> 
    Machine name: <private> 

Process information: 
    Process ID: 6112 
    Process name: w3wp.exe 
    Account name: IIS APPPOOL\<private> 

Exception information: 
    Exception type: TimeoutException 
    Exception message: The HTTP request to '<private>/EndPoint.svc' has exceeded the allotted timeout of 00:01:00. The time allotted to this operation may have been a portion of a longer timeout.
   at System.ServiceModel.Channels.HttpChannelUtilities.ProcessGetResponseWebException(WebException webException, HttpWebRequest request, HttpAbortReason abortReason)
   at System.ServiceModel.Channels.HttpChannelFactory.HttpRequestChannel.HttpChannelRequest.WaitForReply(TimeSpan timeout)
   at System.ServiceModel.Channels.RequestChannel.Request(Message message, TimeSpan timeout)

The operation has timed out
   at System.Net.HttpWebRequest.GetResponse()
   at System.ServiceModel.Channels.HttpChannelFactory.HttpRequestChannel.HttpChannelRequest.WaitForReply(TimeSpan timeout)



Request information: 
    Request URL: http://<private>/ 
    Request path: / 
    User host address: <private> 
    User:  
    Is authenticated: False 
    Authentication Type:  
    Thread account name: IIS APPPOOL\<private>  

Thread information: 
    Thread ID: 110 
    Thread account name: IIS APPPOOL\<private>  
    Is impersonating: False 
    Stack trace:    at System.ServiceModel.Channels.HttpChannelUtilities.ProcessGetResponseWebException(WebException webException, HttpWebRequest request, HttpAbortReason abortReason)
   at System.ServiceModel.Channels.HttpChannelFactory.HttpRequestChannel.HttpChannelRequest.WaitForReply(TimeSpan timeout)
   at System.ServiceModel.Channels.RequestChannel.Request(Message message, TimeSpan timeout)


Custom event details: 

我们的网站已关闭,我不知道在这里做什么。任何想法都是最受欢迎的。

4

1 回答 1

3

尝试增加服务/客户端配置中的SendTimeoutReceiveTimeout属性。

WCF服务,如何增加超时?

于 2012-06-19T13:27:25.280 回答