日韩无码专区无码一级三级片|91人人爱网站中日韩无码电影|厨房大战丰满熟妇|AV高清无码在线免费观看|另类AV日韩少妇熟女|中文日本大黄一级黄色片|色情在线视频免费|亚洲成人特黄a片|黄片wwwav色图欧美|欧亚乱色一区二区三区

RELATEED CONSULTING
相關咨詢
選擇下列產品馬上在線溝通
服務時間:8:30-17:00
你可能遇到了下面的問題
關閉右側工具欄

新聞中心

這里有您想知道的互聯(lián)網營銷解決方案
對WCF數據量進行詳細介紹

希望我對WCF數據量的一點經驗能給大家?guī)韼椭旅嫱ㄟ^IIS服務器的真實處理,以及代碼和異常的使用問題,進行解釋說明,下面就把編制的代碼一一列數下來,歡迎大家學習研究。

創(chuàng)新互聯(lián)建站專注于鐘山網站建設服務及定制,我們擁有豐富的企業(yè)做網站經驗。 熱誠為您提供鐘山營銷型網站建設,鐘山網站制作、鐘山網頁設計、鐘山網站官網定制、成都微信小程序服務,打造鐘山網絡公司原創(chuàng)品牌,更為您提供鐘山網站排名全網營銷落地服務。

昨天下午在作WCF數據量并發(fā)的測試,同時啟動40個客戶端進程,在碰到比較耗時的服務處理時,IIS服務器返回403錯誤。異常信息如下:]

 
 
  1. System.ServiceModel.Security.MessageSecurityException: System.Net.HttpWebRequest.GetResponse()     
  2. System.ServiceModel.Channels.HttpChannelFactory.HttpRequestChannel.HttpChannelRequest.WaitForReply(TimeSpan timeout)    
  3. Server stack trace:     
  4. System.ServiceModel.Channels.HttpChannelUtilities.ValidateAuthentication(HttpWebRequest request, HttpWebResponse response, 
    WebException responseException, HttpChannelFactory factory)     
  5. System.ServiceModel.Channels.HttpChannelUtilities.ValidateRequestReplyResponse(HttpWebRequest request, 
    HttpWebResponse response, HttpChannelFactory factory, WebException responseException)     
  6. System.ServiceModel.Channels.HttpChannelFactory.HttpRequestChannel.HttpChannelRequest.
    WaitForReply(TimeSpan timeout)  System.ServiceModel.Channels.RequestChannel.Request(Message message, TimeSpan timeout)     
  7. System.ServiceModel.Dispatcher.RequestChannelBinder.Request(Message message, TimeSpan timeout)     
  8. System.ServiceModel.Channels.ServiceChannel.Call(String action, Boolean oneway, ProxyOperationRuntime operation, Object[] ins, Object[] outs, TimeSpan timeout)     
  9. System.ServiceModel.Channels.ServiceChannel.Call(String action, Boolean oneway, ProxyOperationRuntime operation, Object[] ins, Object[] outs)     
  10. System.ServiceModel.Channels.ServiceChannelProxy.InvokeService(IMethodCallMessage methodCall, ProxyOperationRuntime operation)     
  11. System.ServiceModel.Channels.ServiceChannelProxy.Invoke(IMessage message)     
  12. Exception rethrown at [0]:     
  13. System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)     
  14. System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)     
  15. terminal.ViolationService.IViolationService.QueryVioImg(String vioSeq)     
  16. terminal.ViolationService.ViolationServiceClient.QueryVioImg(String vioSeq),terminal.Program.Main(String[] args) 

通過各種方法監(jiān)控WCF數據量的錯誤消息,可是這些出錯的調用都沒有到達WCF,所有監(jiān)測WCF的地方和WCF的TraceLog都沒有任何的錯誤。隨后又拿出***法寶wireshark,抓包也看不到任何錯誤,就是客戶端請求了服務器一下,然后IIS就返回了403錯誤,并報告上面的異常。#t#

于是把WCF的服務部署到了Win2003server的iis6下面。這樣程序正常運行不會有任何錯誤。于是查了一下IIS5.1 造成403錯誤的原因。原來是IIS5.1的***連接數的問題。于是總結了一下:

同時修改了幾個方面:

1.windowsXP SP3的TCP連接數,改為512。(有專門的工具破解)

2.WCF數據量會話數,調用數和實例數


文章標題:對WCF數據量進行詳細介紹
當前地址:http://www.5511xx.com/article/cocdeep.html