I'm having trouble connecting to a SQL Database hosted on Azure, via a WCF Service I created. I got the connection string from Azure itself by clicking on the link.
Things i have done:
Here is my ADO.NET(SQL authentication) Connection string if it helps:
Server=tcp:thebutlrserver.database.windows.net,1433;Data Source=thebutlrserver.database.windows.net;Initial Catalog=btlrDB;Persist Security Info=False;User ID=******;Password=******;MultipleActiveResultSets=False;Encrypt=True;TrustServerCertificate=False;Connection Timeout=120;
The Error I'm getting is:
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: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server)
Hi all i was able to fix this issue by Going to Uninstall or change a program> Turn Windows features on or off> en just enabling everything
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With