FOROS PROFESIONALES
WINDEV
,
WEBDEV
y
WINDEV Mobile
Inicio
|
Mensajes recientes
|
Conéctese...
|
Desconectar
|
Español
Inicio
→
WINDEV 2024
→
[WD25] Nativ MSSQL connection lost
[WD25] Nativ MSSQL connection lost
Iniciado por Marlus Mair, 08,abr. 2021 22:27 - 1 respuesta
Conéctese…
Marlus Mair
#1
Publicado el 08,abril 2021 - 22:27
Hi,
i have an Windows Service made in WD25 that use native MSSQL connector to get the data from an other server. If the connection lost because the remote server was down or the network connection was down the service crashs. Its there a way to check conection lost and reconnect the DB after the DB server is comming up?
Informar
0
0
Andrea Chiadò Piat
#2
Miembro registrado
54 mensajes
Popularité : +2 (2 votes)
Publicado el 09,abril 2021 - 12:51
Hello Marlus,
probably you can test if your connection is ok using a read-test in a WHEN EXCEPTION mechanism
https://help.windev.com/en-US/…
If no exceptions, your connection is ok and you can proceed, otherwise [do some other code]
Hope this helps
Andrea
Informar
0
0
→ Volver a WINDEV 2024
WINDEV 2024
WEBDEV 2024
WINDEV Mobile 2024
WINDEV (versiones precedentes)
Français
English
Español
Portuguesa
Fermer cette fenêtre
Búsqueda Tipo
Sólo temas
Todos los mensajes
Periodo Buscar
Cualquier fecha
Última hora
Última 24 horas
Última semana
Último mes
Último año
Cancelar
Vista previa del mensaje
Añadiendo una imagen
Importar una imagen desde una URL
Enviar una imagen desde un archivo de su disco
Arrastrar un archivo o click en "Examinar..."
o
Cancelar
0%
WLanguage
SQL
XML, HTML
JAVA, Javascript
Texto