4

I have create a SQL Azure database on the Azure portal, now I want to connect to it using SQL Server Management Studio. I've set my properties like this:

Server Type:Database Engine:
Server Name:[mycred].database.windows.net
Authentification: SQL Server Authentification
username: myusername
password: mypassword

But when I try to connecting with these properties I get an error:

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) (Microsoft SQL Server, Error: 53)

Whereas I have configure firewall on my SQL Azure database. How to solve this issue?

4
  • which version of SSMS are you using? See this question Commented May 31, 2012 at 4:10
  • 1
    Are you sure you're still appearing to Azure as the same IP address you've configured the firewall for? This can change if your DHCP lease has been renewed by your provider, the service has gone down, you've rebooted your cable modem or router, you've connected to a VPN, etc. etc. Commented May 31, 2012 at 4:22
  • i'm using Microsoft SQL Server Management Studio version 10.0.1600.22, Commented May 31, 2012 at 4:41
  • My ip address still same which i configure on firewall, I have configure my local firewall which allow inbound and outbound port 1433 Any other suggesstions ? Commented May 31, 2012 at 4:43

1 Answer 1

3

Your request has not left your machine that's why it is returning network error. There could be several issues and first start with SQL Server Management Studio. You must have SSMS R2 2008. Any non R2 version will not work.

Here is a list of test you would need to perform to troubleshoot the problem and apply solution:

http://social.technet.microsoft.com/wiki/contents/articles/sql-azure-connectivity-troubleshooting-guide.aspx

Sign up to request clarification or add additional context in comments.

6 Comments

My my is SQL Server 2008 Management STudio, is it not R2 2008 too, in about page, it's show version 10.0.1600.22. is my mine right ?
I dont remember the version but I am dead sure that only SSMS 2008 R2 connects with SQL Azure and you must have it to connect with SQL Azure.
OK, i get some strange when troubleshoot my connection problem.I can't "telnet <myserver>.database.windows.net 1433" console say that couldnot open connection to host. Where as i have allow 1433 port on my compute firewall, i have allowed this port on both of inbound and outbound connection, any suggesstions?
Hi AvkashChauhan, i'm sorry i don't know how useful of this.OK begin now i will give rate for answer which help me :)
Any idea how to make sure that i can access 1433 port, because on my firewall i have allow that port both of inbound and outhbound port.I'm also have tried to disable my firewall, but still same.I can't access it
|

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.