Advertisement
Guest User

Untitled

a guest
Jul 22nd, 2014
235
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.64 KB | None | 0 0
  1. request s = new request ();
  2. s = db.request .Where(x => x.id_solicitud == 1).FirstOrDefault();
  3. return s;
  4.  
  5. request s = new request();
  6. s.comment = "done";
  7. return s;
  8.  
  9. 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.
  10.  
  11. Server stack trace:
  12. en System.ServiceModel.Channels.HttpChannelUtilities.ProcessGetResponseWebException(WebException webException, HttpWebRequest request, HttpAbortReason abortReason)
  13. en System.ServiceModel.Channels.HttpChannelFactory`1.HttpRequestChannel.HttpChannelRequest.WaitForReply(TimeSpan timeout)
  14. en System.ServiceModel.Channels.RequestChannel.Request(Message message, TimeSpan timeout)
  15. en System.ServiceModel.Dispatcher.RequestChannelBinder.Request(Message message, TimeSpan timeout)
  16. en System.ServiceModel.Channels.ServiceChannel.Call(String action, Boolean oneway, ProxyOperationRuntime operation, Object[] ins, Object[] outs, TimeSpan timeout)
  17. en System.ServiceModel.Channels.ServiceChannelProxy.InvokeService(IMethodCallMessage methodCall, ProxyOperationRuntime operation)
  18. en System.ServiceModel.Channels.ServiceChannelProxy.Invoke(IMessage message)
  19.  
  20. Exception rethrown at [0]:
  21. en System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
  22. en System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
  23. en ISolicitud.obtenerSolicitud(Int32 id_solicitud)
  24. en SolicitudClient.obtenerSolicitud(Int32 id_solicitud)
  25.  
  26. Inner Exception:
  27. Se ha terminado la conexión: Error inesperado de recepción.
  28. en System.Net.HttpWebRequest.GetResponse()
  29. en System.ServiceModel.Channels.HttpChannelFactory`1.HttpRequestChannel.HttpChannelRequest.WaitForReply(TimeSpan timeout)
  30.  
  31. Inner Exception:
  32. 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.
  33. en System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
  34. en System.Net.PooledStream.Read(Byte[] buffer, Int32 offset, Int32 size)
  35. en System.Net.Connection.SyncRead(HttpWebRequest request, Boolean userRetrievedStream, Boolean probeRead)
  36.  
  37. Inner Exception:
  38. Se ha forzado la interrupción de una conexión existente por el host remoto
  39. en System.Net.Sockets.Socket.Receive(Byte[] buffer, Int32 offset, Int32 size, SocketFlags socketFlags)
  40. en System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement