Do you know the cause of this error?

0

Good evening, my doubt is as follows, I have a website created on asp.net that is working with a SQLServer DB but at the moment of executing my code this error is resulting and I have tried to find a solution but I can not find What is causing this?

    
asked by DMya 06.10.2017 в 01:00
source

1 answer

0

The Indian error that there is no connection to the server, you can verify that you have the port of the sql (by default to 1433) from the console using a telnet servidorSql 1433 in case the telnet is not installed you can try it by powershell

'Test-NetConnection -Port 1433 -ComputerName servidorSql'

Or mendiante

(new-object Net.Sockets.TcpClient).Connect("10.45.23.109", 443)'  

Verify protocols tcp must be enabled.

    
answered by 06.10.2017 в 02:12