C
C#2y ago
skrafi

✅ connecting c# asp.net with SQL Server

hello im meeting an error with connecting c# to SQL Server
10 Replies
skrafi
skrafiOP2y ago
skrafi
skrafiOP2y ago
Microsoft.Data.SqlClient.SqlException (0x80131904): A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: SNI_PN11, error: 26 - Error Locating Server/Instance Specified)
jcotton42
jcotton422y ago
@skrafio please do not crosspost
skrafi
skrafiOP2y ago
jcotton42
jcotton422y ago
especially when you are being actively helped
skrafi
skrafiOP2y ago
ye sorry but can i keep it?
jcotton42
jcotton422y ago
you were already being helped in #database why post here too?
skrafi
skrafiOP2y ago
because before i got helped i also created a post here and after i posted half of images i just wanted to send the rest
Unknown User
Unknown User2y ago
Message Not Public
Sign In & Join Server To View
MODiX
MODiX2y ago
TeBeCo
your connectiong string is wrong I think or the firewall on the server is not allowing that port ... but that would be a different error I think
Quoted by
<@689473681302224947> from #database (click here)
React with ❌ to remove this embed.

Did you find this page helpful?