C
C#16mo ago
skrafi

✅ connecting c# asp.net with SQL Server

hello im meeting an error with connecting c# to SQL Server
10 Replies
skrafi
skrafiOP16mo ago
skrafi
skrafiOP16mo 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
jcotton4216mo ago
@skrafio please do not crosspost
skrafi
skrafiOP16mo ago
jcotton42
jcotton4216mo ago
especially when you are being actively helped
skrafi
skrafiOP16mo ago
ye sorry but can i keep it?
jcotton42
jcotton4216mo ago
you were already being helped in #database why post here too?
skrafi
skrafiOP16mo 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 User16mo ago
Message Not Public
Sign In & Join Server To View
MODiX
MODiX16mo 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.
Want results from more Discord servers?
Add your server