Nlog con Windows Phone 7

I'm studying programming and as part of my project I have to use the system log. I have therefore chosen NLog but I find myself confronted with a problem.

I followed the tutorial available on the official website of NLog ( Documentación de NLog ) but when I start the project I get an error endpoint.

The complete error: There was no endpoint listening at http://localhost:5000/LogReceiver.svc que pudiera aceptar el mensaje. A menudo, esto se debe a una dirección incorrecta o una acción SOAP.

Gracias de antemano.

preguntado el 10 de marzo de 12 a las 15:03

1 Respuestas

Its trying to connect to another application running on your phone (localhost) on port 5000. Likely there is no such aplication running. If you are running some log server on your machine, then you need to configure your phone app's nlog config to point to the ip address of your machine, or where ever the server is running.

respondido 10 mar '12, 15:03

Actually, I realized my mistake. Before starting my application (windows phone 7) I have to start the server to be available at the reception of message. Also, I noticed that port 5000 was not available so I withdraw to retrieve a random port. Thank you for responding so quickly. - David

No es la respuesta que estás buscando? Examinar otras preguntas etiquetadas or haz tu propia pregunta.