Page 1 of 1

Problem Viewing Xmap / Xlocate

Posted: Mon May 13, 2019 1:32 pm
by dstest
Hi,
we are using .net Map-Control and have very often on Aplication start the problem that the control remeins grey. It seems that it does not initialize

Version of Ptv.XServer.Controls.Map is 1.6.0.16794

other xserver controls like xlocate also init with erros:

- $exception {"Es war kein an https://api-eu.cloud.ptvgroup.com/xlocate/ws/XLocate lauschender Endpunkt vorhanden, der die Nachricht annehmen konnte. Dies wird häufig durch eine fehlerhafte Adresse oder SOAP-Aktion verursacht. Weitere Details finden Sie unter ""InnerException"", sofern vorhanden."} System.ServiceModel.EndpointNotFoundException
- InnerException {"Der Remotename konnte nicht aufgelöst werden: 'api-eu.cloud.ptvgroup.com'"} System.Exception {System.Net.WebException}

Can you help me with that?
BR Frank

Re: Problem Viewing Xmap / Xlocate

Posted: Mon May 13, 2019 2:07 pm
by Bernd Welter
Hello Frank,

I forwarded this info to our DEV OPS because it is related to our production environment.

:!: Attention: topics which refer to PROD should always be handeled via support (prio A ticket!) and not on this discussion platform (as the forum doesn't grant any response times). Use the forum for strategic discussions such as
  • Is there a method that allows me to ...?
  • ...a parameter...
  • How to approach ....?
Best regards,
Bernd

Re: Problem Viewing Xmap / Xlocate

Posted: Tue May 14, 2019 8:40 am
by Marco
Hello Frank,

the mentioned System.ServiceModel.EndpointNotFoundException happens, if a domain name could not be resolved. If this happens often, it leads to assume a network problem.

To avoid a necessary application restart, if the map control stay grey, I recommend using a strict layer initialization. Please have a look to this code sample.

https://github.com/ptv-logistics/xserve ... cs#L52-L75