1
訪問
配置:在Windows Server 2008 R2企業版,IIS 7.5服務超時而從IIS 7.5
網站部署不同的服務器(這是Windows Server 2003中)在訪問服務
我可以從訪問服務我本地機器;我在我的機器上安裝了IIS 7.5的網站,這是Win 7 Box。這工作得很好。
錯誤:
[SocketException (0x2746): An existing connection was forcibly closed by the remote host]
System.ServiceModel.Channels.SocketConnection.ReadCore(Byte[] buffer, Int32 offset, Int32 size, TimeSpan timeout, Boolean closing) +276
[CommunicationException: The socket connection was aborted. This could be caused by an error processing your message or a receive timeout being exceeded by the remote host, or an underlying network resource issue. Local socket timeout was '00:10:00'.]
System.ServiceModel.Channels.SocketConnection.ReadCore(Byte[] buffer, Int32 offset, Int32 size, TimeSpan timeout, Boolean closing) +16433296
System.ServiceModel.Channels.SocketConnection.Read(Byte[] buffer, Int32 offset, Int32 size, TimeSpan timeout) +132
System.ServiceModel.Channels.ConnectionStream.Read(Byte[] buffer, Int32 offset, Int32 count) +66
System.Net.FixedSizeReader.ReadPacket(Byte[] buffer, Int32 offset, Int32 count) +60
System.Net.Security.NegotiateStream.StartFrameHeader(Byte[] buffer, Int32 offset, Int32 count, AsyncProtocolRequest asyncRequest) +64
System.Net.Security.NegotiateStream.StartReading(Byte[] buffer, Int32 offset, Int32 count, AsyncProtocolRequest asyncRequest) +54
System.Net.Security.NegotiateStream.ProcessRead(Byte[] buffer, Int32 offset, Int32 count, AsyncProtocolRequest asyncRequest) +379
[IOException: The read operation failed, see inner exception.]
System.Net.Security.NegotiateStream.ProcessRead(Byte[] buffer, Int32 offset, Int32 count, AsyncProtocolRequest asyncRequest) +659
System.Net.Security.NegotiateStream.Read(Byte[] buffer, Int32 offset, Int32 count) +170
System.ServiceModel.Channels.StreamConnection.Read(Byte[] buffer, Int32 offset, Int32 size, TimeSpan timeout) +187
[CommunicationException: The socket connection was aborted. This could be caused by an error processing your message or a receive timeout being exceeded by the remote host, or an underlying network resource issue. Local socket timeout was '00:10:00'.]
System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg) +4727747
System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type) +1725
AB.RAPPublisher.InterfaceExt.IRAPPublisher.GetDashboardMessages(String messageType, DateTime businessDate) +0
AB.RAPPublisher.Client.RAPPublisherClient.GetDashboardMessages(String messageType, DateTime businessDate) +235
我的服務沒有安裝在IIS ..只訪問網站。服務安裝在單獨的計算機上......並通過網站 – Ocean
@Ocean引發此錯誤時出現此錯誤:您是否已在運行Web服務的服務器上安裝並啓用了此功能? – abatishchev
它不是web服務它是wcf服務。而Wcf服務不在IIS中託管。它作爲獨立服務託管在不同的機器中。 – Ocean