日志时间:2019-03-27 15:45:04,971 日志级别:ERROR 日 志 类:errorinfo [(null)] localhost admin 应用启动 null System.Exception: 未知的WCF服务错误: 未知的WCF服务错误: 接收对 http://localhost:8938/GeneralService.svc 的 HTTP 响应时发生错误。这可能是由于服务终结点绑定未使用 HTTP 协议造成的。这还可能是由于服务器中止了 HTTP 请求上下文(可能由于服务关闭)所致。有关详细信息,请参见服务器日志。 ---> System.Exception: 未知的WCF服务错误: 接收对 http://localhost:8938/GeneralService.svc 的 HTTP 响应时发生错误。这可能是由于服务终结点绑定未使用 HTTP 协议造成的。这还可能是由于服务器中止了 HTTP 请求上下文(可能由于服务关闭)所致。有关详细信息,请参见服务器日志。 ---> System.ServiceModel.CommunicationException: 接收对 http://localhost:8938/GeneralService.svc 的 HTTP 响应时发生错误。这可能是由于服务终结点绑定未使用 HTTP 协议造成的。这还可能是由于服务器中止了 HTTP 请求上下文(可能由于服务关闭)所致。有关详细信息,请参见服务器日志。 ---> System.Net.WebException: 基础连接已经关闭: 接收时发生错误。 ---> System.IO.IOException: 无法从传输连接中读取数据: 远程主机强迫关闭了一个现有的连接。。 ---> System.Net.Sockets.SocketException: 远程主机强迫关闭了一个现有的连接。 在 System.Net.Sockets.Socket.Receive(Byte[] buffer, Int32 offset, Int32 size, SocketFlags socketFlags) 在 System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size) --- 内部异常堆栈跟踪的结尾 --- 在 System.Net.ConnectStream.Read(Byte[] buffer, Int32 offset, Int32 size) 在 System.Net.HttpWebRequest.MakeMemoryStream(Stream stream) --- 内部异常堆栈跟踪的结尾 --- 在 System.Net.HttpWebRequest.GetResponse() 在 System.ServiceModel.Channels.HttpChannelFactory`1.HttpRequestChannel.HttpChannelRequest.WaitForReply(TimeSpan timeout) --- 内部异常堆栈跟踪的结尾 --- Server stack trace: 在 System.ServiceModel.Channels.HttpChannelUtilities.ProcessGetResponseWebException(WebException webException, HttpWebRequest request, HttpAbortReason abortReason) 在 System.ServiceModel.Channels.HttpChannelFactory`1.HttpRequestChannel.HttpChannelRequest.WaitForReply(TimeSpan timeout) 在 System.ServiceModel.Channels.RequestChannel.Request(Message message, TimeSpan timeout) 在 System.ServiceModel.Dispatcher.RequestChannelBinder.Request(Message message, TimeSpan timeout) 在 System.ServiceModel.Channels.ServiceChannel.Call(String action, Boolean oneway, ProxyOperationRuntime operation, Object[] ins, Object[] outs, TimeSpan timeout) 在 System.ServiceModel.Channels.ServiceChannelProxy.InvokeService(IMethodCallMessage methodCall, ProxyOperationRuntime operation) 在 System.ServiceModel.Channels.ServiceChannelProxy.Invoke(IMessage message) Exception rethrown at [0]: 在 System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg) 在 System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type) 在 QMAPP.ServicesAgent.CenterGeneralService.IGeneralService.RecevieRequest(String request) 在 QMAPP.ServicesAgent.CenterGeneralService.GeneralServiceClient.RecevieRequest(String request) 位置 E:\Projects\ADIENT_CD_MES\trunk\CDMES\AppCommon\QMAPP.ServicesAgent\Service References\CenterGeneralService\Reference.cs:行号 56 在 QMAPP.ServicesAgent.ServiceAgent.InvokeServiceFunction(String functionName, Object[] parameters) 位置 E:\Projects\ADIENT_CD_MES\trunk\CDMES\AppCommon\QMAPP.ServicesAgent\ServiceAgent.cs:行号 146 --- 内部异常堆栈跟踪的结尾 --- 在 QMAPP.ServicesAgent.ServiceAgent.InvokeServiceFunction(String functionName, Object[] parameters) 位置 E:\Projects\ADIENT_CD_MES\trunk\CDMES\AppCommon\QMAPP.ServicesAgent\ServiceAgent.cs:行号 166 在 QMAPP.ServicesAgent.ServiceAgent.Init() 位置 E:\Projects\ADIENT_CD_MES\trunk\CDMES\AppCommon\QMAPP.ServicesAgent\ServiceAgent.cs:行号 42 --- 内部异常堆栈跟踪的结尾 --- 在 QMAPP.ServicesAgent.ServiceAgent.Init() 位置 E:\Projects\ADIENT_CD_MES\trunk\CDMES\AppCommon\QMAPP.ServicesAgent\ServiceAgent.cs:行号 58 在 QMAPP.Web.MvcApplication.Application_Start() 位置 E:\Projects\ADIENT_CD_MES\trunk\CDMES\APP\QMAPP.Web\Global.asax.cs:行号 105