I have a linked table on another server - it is used for inquiry only on a Navision form.
I don't want to cause an error for the user if the other SQL Server is down for any reason. They won't be able to open the linked-table form, but I don't want to crash them out of Navision.
Has anyone discovered or created any code to test if a remote SQL server is available?
Thanks
Ron
Ron
0
Comments
MVP - Dynamics NAV
My BLOG
NAVERTICA a.s.
Thx
Ron
Thanks for the sample code - I'm still not convinced that this will not return an error if the remote server is down - but I don't know for sure. I'm going to test it against a test server that I can bring down intentionally and see what happens.
Ron