Reputation: 31
I have a DB on Azure connected to WinForms app,with basic subscription in windows azure.
And works well about 95% of time.
However sometimes i get the error "A network-related or instance-specific error occurred while establishing a connection to SQL Server....
this error will disappear in about 1 or 2 minutes.But all these time my internet connection is good. I can access the Azure Portal as well.
What is this occasional error mean?
Upvotes: 0
Views: 65
Reputation: 24549
The issue occurs because the application is not able to connect to the server. According to your description, it seems that your network is not smooth. Since most of the time it works well.
But all these time my internet connection is good. I can access the Azure Portal as well.
We can access the azure portal, it doesn’t mean that network works smoothly.
telnet <myserver>.database.windows.net 1433
If telnet is successful, the window will change to a completely blank screen. If telnet is not successful, please have a try to use
tracert <myserver>.database.windows.net.
Upvotes: 1