I'm using Visual Studio 2013 update 5 to connect to the SQL Azure database. I can do it without any issues from SQL Management Studio using the same host and connection string, but when I use Visual Studio (for example to publish my database project or generate sql script compare) I get the following error:
Microsoft Visual Studio
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)
OK
Some additional input:
- It seems that I start to get this error since I updated to Windows
-
10.
- Sql Azure firewall settings are configured properly (because I can connect from that host using Management Studio).
- The Windows Firewall is switched off.
- My Windows 10 is running in Parallels box on Mac OS X.
Please advise.