Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- request s = new request ();
- s = db.request .Where(x => x.id_solicitud == 1).FirstOrDefault();
- return s;
- request s = new request();
- s.comment = "done";
- return s;
- Error al recibir la respuesta HTTP a http://localhost:50364/Service1.svc. Puede deberse a que el enlace del extremo de servicio no usa el protocolo HTTP. También puede deberse a que el servidor anula un contexto de solicitud HTTP (posiblemente por el cierre del servicio). Consulte los registros del servidor para obtener más información.
- Server stack trace:
- en System.ServiceModel.Channels.HttpChannelUtilities.ProcessGetResponseWebException(WebException webException, HttpWebRequest request, HttpAbortReason abortReason)
- en System.ServiceModel.Channels.HttpChannelFactory`1.HttpRequestChannel.HttpChannelRequest.WaitForReply(TimeSpan timeout)
- en System.ServiceModel.Channels.RequestChannel.Request(Message message, TimeSpan timeout)
- en System.ServiceModel.Dispatcher.RequestChannelBinder.Request(Message message, TimeSpan timeout)
- en System.ServiceModel.Channels.ServiceChannel.Call(String action, Boolean oneway, ProxyOperationRuntime operation, Object[] ins, Object[] outs, TimeSpan timeout)
- en System.ServiceModel.Channels.ServiceChannelProxy.InvokeService(IMethodCallMessage methodCall, ProxyOperationRuntime operation)
- en System.ServiceModel.Channels.ServiceChannelProxy.Invoke(IMessage message)
- Exception rethrown at [0]:
- en System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
- en System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
- en ISolicitud.obtenerSolicitud(Int32 id_solicitud)
- en SolicitudClient.obtenerSolicitud(Int32 id_solicitud)
- Inner Exception:
- Se ha terminado la conexión: Error inesperado de recepción.
- en System.Net.HttpWebRequest.GetResponse()
- en System.ServiceModel.Channels.HttpChannelFactory`1.HttpRequestChannel.HttpChannelRequest.WaitForReply(TimeSpan timeout)
- Inner Exception:
- No se puede escribir datos de en la conexión de transporte: Se ha forzado la interrupción de una conexión existente por el host remoto.
- en System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
- en System.Net.PooledStream.Read(Byte[] buffer, Int32 offset, Int32 size)
- en System.Net.Connection.SyncRead(HttpWebRequest request, Boolean userRetrievedStream, Boolean probeRead)
- Inner Exception:
- Se ha forzado la interrupción de una conexión existente por el host remoto
- en System.Net.Sockets.Socket.Receive(Byte[] buffer, Int32 offset, Int32 size, SocketFlags socketFlags)
- en System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement