C
C#14mo ago
skrafi

✅ connecting c# asp.net with SQL Server

hello im meeting an error with connecting c# to SQL Server
10 Replies
skrafi
skrafi14mo ago
skrafi
skrafi14mo 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
jcotton4214mo ago
@skrafio please do not crosspost
skrafi
skrafi14mo ago
jcotton42
jcotton4214mo ago
especially when you are being actively helped
skrafi
skrafi14mo ago
ye sorry but can i keep it?
jcotton42
jcotton4214mo ago
you were already being helped in #database why post here too?
skrafi
skrafi14mo 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 User14mo ago
Message Not Public
Sign In & Join Server To View
MODiX
MODiX14mo 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