Cannot connect to SQL Azure

Hello,
I have tried everything I could think of and still did not manage to connect to SQL Azure server instance I have created.
1) Using the SQL Server Management Studio 2008 R2 -
    I get: "A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible.  ...."
    I have the 1433 port allowed by my firewall (even placed a machine in the DMZ) and I have added my IP address to the SQL Azure firewall.
2) Using this app: https://onlinedemo.cerebrata.com/SQLAzureClient/default.aspx
   I get "Unable to retrieve the list of databases...."
   Now, in this case enabling the TCP port 1433 from my network is not even required as I this tools connects directly to SQL Azure. And yes, I have added the firewall rule on my SQL Azure Server.
3) Using this tool: http://hanssens.org/tools/sqlazuremanager/
   I get a message similar to what I get at 1)
The only thing that works is the "Test Connection" performed on SQL Azure site.
Can someone please help?
Regards,
Luc

I cannot connect either using that Omega tool but I have no problem from SSMS R2.
Let's try something simple: connecting from Project Houston:
Check "Allow Microsoft Services access to this database"
Go to http://sqlazurelabs.com. Click Project Houston CTP 1 on left.
When asked for data center, click the one where your db is deployed.
Agree to terms
Enter full database name - somename.database.windows.net -
along with database name, username, and password. Note: if you didn't allow Microsoft Services access to your database, you'll get an error
You should now be connected to your database.
If that worked, at least you know your database is up and running correctly. Now try connecting from SSMS R2. The parameters should be identical,
except you don't have to specify which database to connect to.

Similar Messages

  • Cannot connect to SQL Azure by allowing Domain Name in Firewall

    *.database.windows.net:1433/tcp is getting resolved as IP address in corporate firewall but the corporate firewall is configured to allow only domain names.Is there a way to connect to SQL Azure without domain name getting resolved into IP.
    All the http traffic are allowed by firewall for blobs,queues and tables.

    Hello,
    Did you means that you connect to the SQL database with IP address? If I understand correctly, you can not rely on the IP address when connect to Windows Azure SQL database.
    SQL database is hosted on a virtual machine at the Microsoft datacenter and shared resource with other databases. Static IP addresses are not supported on Windows Azure virtual machines, it is use dynamic address.
    What's more, one SQL Database keep at least three SQL Server databases replica that are distributed across multiple physical servers in a single data center and automatic cluster failover when a hardware fails on one server. In that case, the real IP that
    is behind server might change in any moment.
    Regards,
    Fanny Liu
    Fanny Liu
    TechNet Community Support

  • Why i cannot create the sql azure database from my own country 'Nepal' ?. why it is not include in the list of country when we sign up for azure database. :( !!!

    why i cannot create the sql azure database from my own country 'Nepal' ?. why it is not include in the list of country when we sign up for azure database. :(  !!!
    canot we try this new feature ,dosnot we need to try this too..why such discermination for our country nepal. :(

    Hi Anil,
    I am Mahesh from Microsoft Innovation Center. From August 2014 we have made Azure Available to Nepal. You can now directly sign in to azure with your Nepal Based Mobile Number as Verification.
    Thanks for showing your Interest in our Product.
    Mahesh Dahal

  • Critical Error: Cannot Connect to SQL Server. {SQL Server} not found. Timeout expired.

    Greetings,
    I have been having some issues with various areas in a SharePoint 2013 farm.  While working my way through a bazillion errors in the event logs, I have found the following error.  It looks to be happening every hour; almost exactly 5 minutes after
    every hour.
    "Cannot connect to SQL Server. A_PROD_SP01 not found. Additional error information from SQL Server is included below.
    Timeout expired.  The timeout period elapsed prior to completion of the operation or the server is not responding."
    I also find, a health analyzer rule that is failing at the same time:
    Availability: One or more servers is not responding.
    However, there isn't any server listed in the Failing Servers section.
    Any thoughts?
    Thank you,
    Bob

    Hi Bob,
    For your issue, it can be caused by that the SharePoint  database access account might not have the necessary permissions to communicate with the SQL Server. Please grant correct permissions to the database access account:
    You must be a member of the Farm Administrators group to perform this task.
    Assign the database access account:
    On the Central Administration home page, click Security and in the
    General Security section click Configure service accounts.
    On the Service Accounts page, in the Credential Management section, in the upper drop-down list click the correct Web application pool for your Web application.
    In the Select an account for this component drop-down list, click the domain account that you want to associate with this Web application pool, or click
    Register new managed account to associate a new domain account with this application pool.
    Click OK to save changes.
    Reference:
    https://technet.microsoft.com/en-in/library/ee513066(v=office.14).aspx
    http://blogs.technet.com/b/wbaer/archive/2009/10/06/intermittent-database-server-connectivity-and-microsoft-sharepoint-products-and-technologies.aspx
    Best Regards,
    Eric
    TechNet Community Support
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
    [email protected]

  • Connection to SQL Azure client application

    Dear all,
    I have setup an SQL azure database that will be accessible from a Desktop client application.
    So that when I need to connect to the database, I need to go to the Admin portal and then allows my current PC IP to the firewall rules tables acess. When this is done my client application is allowed to access the database.
    I am actually accessing the database from a local WCF services hosted as an NT service which have the connection string to the SQL azure database.
    By testing different scenario I have found weird issue and hope you can help on the best way to approach it :
    Question 1 : Client application PC IP adress
    When I distribute my application to a customer which try to run it, it cannot access to the azure database simply because its client IP address PC is not in the list of the firewall on my azure account. As I do not know in advance the IP address of my customer,
    what is the way to allows the connection automatically ?
    I understand that it can be a security feature in a way to authorize a user or not to the data.
    Question 2 : Connection string password
    Actually the connection string to my SQL azure database is visible in the config file of my Nt service host for my WCF endpoint. The problem is that the password is in clear text here and I would like to avoid that. To solve that issue I guess I have
    2 posiibilities :
     - Encrypt the connection string password from my config file, but then how Azure will be able to understand it fro decrypting ?
     - Host my WCF service under azure ? if yes how ? will it be better it terms of performance as well ?
    Thnaks for your feedback and help
    regards 

    Hello,
    1. SQL Database use
    server-level firewall to prevents all access to SQL Database server until the client computers have permission.The firewall grants access based on the originating IP address of each request.
    So, you should configure the firewall rule by adding the IP address of the client PC before connect to the SQL Database.
    2. Windows Azure provides a secure
    certificate store where you can maintain your certificates. After encrypt sensitive data in your configuration files, you can deploy certificate with a key pair to Windows Azure and it can be used for encryption/decryption.
    Reference:
    Wiki: Windows Azure SQL Database Connection Security
    Regards,
    Fanny Liu
    Fanny Liu
    TechNet Community Support

  • Need a better way than killing connections in SQL Azure - Governor

    I've been pushing the boundaries of  SQL azure (S0 and S1) recently. 
    I'm at a point where normal T-SQL code needs to be optimized for SQL azure, I was surprised that all Microsoft have done was enhance the governor process and kill the connection  rather than slow down the connection, guess this was the easy path to
    use. 
    Simple T-SQL statements like MERGE need to be rewritten to support large data (1 million rows).  Given you need to batch core T-SQL commands you need to answer yourself is this the correct approach.  Also had the same issue using SQL Bulk Copy
    but tweaked a few settings to get around that issue. 
    S0 & S1 still haven't got the same IO as Web/Business edition hence Microsoft need to fix this ASAP.
    Is SQL Azure worth that extra hassle compared with other DB engines?
    Micatio Software Free IIS Azure Web Log App

    Hi Jan,
    Its not the command timeout (for example set as 0 in SQL management studio). 
    I've seen it many times where the last wait type is the LOG GOVERNOR. 
    A few minutes later the status is set as KILLED/ROLLBACK.  I can get around the issue by batching the MERGE statement  and it works fine.  
    I would understand if the MERGE was running for 1-2 hours and I've seen the same thing occur when using a bulk insert command in C# (resolved by limiting the batch size, streaming, etc.).
    The azure version is Microsoft SQL Azure (RTM) - 11.0.9230.176.
    The log governor does kill connections, this is documented on a few sites and MSDN.  LOG GOVERNOR was a SQL Enterprise feature in the standalone product except Microsoft in there wisdom ported it across into SQL Azure to resolve users running bad queries
    on the infrastructure.
    Micatio Software Free IIS Azure Web Log App

  • BPC 7.0 Install error - Cannot connect to SQL server

    Hi,
    I am in the process of installing BPC 7.0 and encountered the following error after filling the "Advanced settings" details on the server info screen:
    *Cannot connect SQL server.
    Please check the SQL server connection or check System Admin ID to access the sql server.*
    I know that the System Admin ID I provided in the previous (service type accounts) screen is correct. What am I missings? Appreciate the help asap!

    BPC installation user has to be SysAdmin into SQl Server.
    Also make sure that SQL Server was installed having Windows authentication enable otherwise the connection to SQL Server can not be establish.
    Into Application Server (the server where you are trying to install BPC) open Management Studio and see if you can connect to SQL Server.
    Are you using special ports or instances fro SQL Server?
    Please make sure you are providing all these information into BPC setup.
    Regards
    Sorin Radulescu

  • 2012 r2 rds deployment cannot connect to sql server after reboot

    We have a ha connection broker setup with 2 connection brokers and everything was working fine up untill the servers were rebooted for updates. Now users cannot connect to thier collections and I have an error in the event log that the deployment could not
    connect to the sql database.
    at this point I am assume that the issue is related to security. I am able to query the database as admin from the effected servers and other services that use other databases in the same sql instance are no5 having issues.
    I have checked the security group that both cb servers should be in and they are in the group and the group has sysadmin and dbo within sql
    any ideas?
    Please remember to mark my replies as answers if they help

    Hi,
    Thank you for posting in Windows Server Forum.
    Can you please create the database manually with below command and verify.
    PS C:\> Set-RDConnectionBrokerHighAvailability –DatabaseConnectionString
     "DRIVER=SQL Server Native Client 11.0;SERVER=<SQL Server
     Name>;Trusted_Connection=Yes;APP=Remote Desktop Services Connection Broker;
    DATABASE=<DB Name>" -DatabaseFilePath "C:\DbFiles\<DbName>.mdf"
     -ClientAccessName "<DNS RR Name>"
    Grant DBO permissions to the service account on the RDS server and try to run your wizard again.
    More information.
    RD Connection Broker High Availability in Windows Server 2012
    http://blogs.msdn.com/b/rds/archive/2012/06/27/rd-connection-broker-high-availability-in-windows-server-2012.aspx
    Hope it helps!
    Thanks.
    Dharmesh Solanki
    TechNet Community Support

  • Cannot connect to sql server after re installing IIS 6?

    I re installed IIS 6, after the restart i couldn't connect to sql server engine nor seeing it when using browse for me, i was trying to install team foundation server, at first it could see that i have an sql server running after re installing IIS it can't
    see it also. I'm using windows server 2003 SP2. Also i cannot remotely access it after the re installation  

    Just type the IP or name of the server (localhost) and try to connect.. SSRS 2005 requires IIS but how does it relate to SQL Server connection?
    What error are you getting? Make sure that SQL Server is running up.
    Best Regards,Uri Dimant SQL Server MVP,
    http://sqlblog.com/blogs/uri_dimant/
    MS SQL optimization: MS SQL Development and Optimization
    MS SQL Consulting:
    Large scale of database and data cleansing
    Remote DBA Services:
    Improves MS SQL Database Performance
    SQL Server Integration Services:
    Business Intelligence

  • SQLDeveloper cannot connect to SQL Server named instances

    I'm trying to connect to a SQL Server 2005 named instance on my local PC but SQLDeveloper is failing to connect as there is no way to specify the named instance on the connection screen.
    For comparison I set up a jdbc connection in JDeveloper and
    the connection URL which works in JDeveloper is jdbc:jtds:sqlserver://127.0.0.1:8020;instance=WESTERNEUROPE
    Without the instance property JDeveloper gets a connection refused

    Set up the connection through SQL developer, then exit the software.
    For a sqlserver database like GABRIEL\angel
    Modify the URL property in the IDEConnections.xml file
    <URL>jdbc:jtds:sqlserver://GABRIEL:1433;instance=angel</URL>
    You cannot use Windoze authenrication, and will need a SQL Server named user to connect.

  • Cannot Connect to SQL 2008 Database Error

    I am on Windows Server 2008 with SQL Server 2008 database and even after enabling the "TCP/IP" protocol and also "Named pipes" continue to get "EPMCFG-10368: Cannot connect to database..." error. Any additional troubleshooting steps would be greatly appreciated.

    I am trying to connect to a SQL Server 2008 database. I provided the correct server name, port, db name, user and pswd. When using an ODBC connection I connect without issue. However, when trying to connect via the EPM System Configurator I get an error.

  • Cannot connect to SQL Server 2008 R2 Express

    I have a database application that connects to the Northwind sample db in MS Access and lets the user perform CRUD operations.
    Now I want to add the same for MS SQL Server, however, I have trouble connecting to it using this connection string:
    I changed the server properties in SQL Server Management Studio to allow windows and SQL Server authentication, yet, I still get this exception when trying to open the connection:
    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)
    I thought it might be because the server is not allowing remote connections and followed this guide to allow remote connections:
    http://www.linglom.com/2009/03/28/enable-remote-connection-on-sql-server-2008-express/
    But the SQL Server windows service won't start. The Browser works fine, but the server doesn't do anything.
    When trying to start it I get this error:
    The request failed or the service did not respond in a timely fashion. Consult the event log or other applicable error logs for details.
    The event log says:
    2011-07-07 17:02:55.35 spid51 Starting up database 'Northwind'.
    2011-07-07 17:02:59.98 spid51 Starting up database 'Northwind'.
    2011-07-07 17:03:03.68 spid53 Starting up database 'Northwind'.
    2011-07-07 17:03:07.01 spid55 Attempting to load library 'xpstar.dll' into memory. This is an informational message only. No user action is required.
    2011-07-07 17:03:07.30 spid55 Using 'xpstar.dll' version '2009.100.1600' to execute extended stored procedure 'xp_instance_regread'. This is an informational message only; no user action is required.
    2011-07-07 17:03:07.76 spid55 Starting up database 'pubs'.
    2011-07-07 17:03:08.89 spid55 Starting up database 'pubs'.
    2011-07-07 17:03:09.30 spid55 Starting up database 'pubs'.
    2011-07-07 17:04:11.37 spid55 Starting up database 'pubs'.
    2011-07-07 17:08:17.28 spid52 Attempting to load library 'xplog70.dll' into memory. This is an informational message only. No user action is required.
    2011-07-07 17:08:17.35 spid52 Using 'xplog70.dll' version '2009.100.1600' to execute extended stored procedure 'xp_msver'. This is an informational message only; no user action is required.
    However, when starting SQL Server Management Studio, I can normally work with the databases, perform CRUD operations, etc.
    I was wondering if it might be a connection string issue.
    I'm using this string:
    @"Server=lolcalhost;Database=Northwind;User ID=BEN-A350C47E32F;Password=;Trusted_Connection=False;";
    I added the Northwind database as data source to the project and the connection string is in the app.config:
    <connectionStrings>
    <add name="NwindConnectionString" connectionString="Provider=Microsoft.Jet.OLEDB.4.0;Data Source=|DataDirectory|\Nwind.mdb" providerName="System.Data.OleDb"/>
    </connectionStrings>
    using this code to access it:
    constringServer = ConfigurationManager.ConnectionStrings["NwindConnectionString"].ToString();
    but when using this string I get an ArgumentException:
    Keyword not supported: 'provider'.
    I'd appreciate any help that would let me connect to the server from a program.

    Here is an active Sql connection string we use currently from our app.config file:
    <connectionStrings>
    <clear/>
    <add name="ServerConnectionString" connectionString="Data Source=SqlBox;Initial Catalog=YourCatalog;User Id=Username; Password=password;" providerName="System.Data.SqlClient"/><br/> </connectionStrings>
    here is one for Sql Express:
    <add name="LocalConnectionString" connectionString="Data Source=MachineName\SqlExpress;Initial Catalog=YourCatalog;Integrated Security= true;" providerName="System.Data.SqlClient"/>

  • Cannot connect to SQL SERVER with Always on availability group listener name

    Hi everyone,
    I have setup always an availability group listener for sql server on port 1433, have opened the port in  firewall , remote connections are enabled in the sql server, but still I am not able to connect to the sqlserver instance with the help
    of the availability group listener name.
    I get the following 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:
    TCP Provider, error: 0 - The wait operation timed out.)"} System.Exception {System.Data.SqlClient.SqlException
    Have gone through several blogs for the solution but none of them helped.
    Please let me know if anyone has fixed the issue.
    Regards,
    Divya

    Prior to making SS connection, can you establish the connection with a networking tool?
    SS connectiviy trouble shooting:
    http://technet.microsoft.com/en-us/library/ms378845.aspx
    http://stackoverflow.com/questions/5919524/not-able-to-telnet-sql-port-1433-locally-or-remotely
    http://social.msdn.microsoft.com/Forums/sqlserver/en-US/227f431a-4274-4d95-b605-67541d78ef03/test-sql-connection-with-telnet?forum=sqldataaccess
    Kalman Toth Database & OLAP Architect
    Free T-SQL Scripts
    New Book / Kindle: Exam 70-461 Bootcamp: Querying Microsoft SQL Server 2012

  • Cannot connect to SQL Server databases

    All of a sudden I can't connect to SQL server databases from
    my local machine. The databases are on a web server. It just
    started happening, and I never had a problem with it before. I
    can't connect to them in the coldfusion administrator, and I can't
    connect to them using ODBC DSN's either. Has anyone ever run into
    this before? I didn't change anything in the cf admin, and I
    certainly didn't change any logins or passwords in SQL
    Server.

    I've been experiencing a similar problem. Everything was fine
    but I had to reboot CF 8.01.
    After the reboot all the datasources are very slow to respond
    and we get lots of errors of the form :
    Timed out trying to establish connection
    A non-SQL error occurred while requesting a connection from
    blah
    Timed out trying to establish connection
    A non-SQL error occurred while requesting a connection from
    blah
    Everything is working but very slow on database queries. This
    happened a couple of months ago when we last
    rebooted and then it went away.
    Going to have a look for a new JDBC driver from adobe and see
    if that helps ....

  • Cannot connect to SQL Server 2008 Express

    I install SQL Server 2008 Express on Windows 7 and make sure SQL Server(SQLEXPRESS) service is running. Then I write a program via Visual C++ & ADO, and try to connect to the local SQL Service instance by using the following SQL connection string:
    “Provider=sqloledb;Data Source=(local);Integrated Security=SSPI;”
    But the connection fails. I try the same code on a computer with SQL Server 2008 Professional installed and it works without problems.
    Please advise. Thanks.

    Hi chcw,
    Are you got any error message/information while connect to SQL Server express instance faild via VC++ & ADO? If so, please post them for further investigation.
    Please also check the windows firewall. Firewall systems help prevent unauthorized access to computer resources. If a firewall is turned on but not correctly configured, attempts to connect to SQL Server might be blocked. For more information, please see:
    http://technet.microsoft.com/en-us/library/cc646023.aspx
    If you have any feedback on our support, please click
    here.
    Regards,  
    Elvis Long
    TechNet Community Support

Maybe you are looking for

  • Maps : report inaccurate information

    I would like to know how to report inaccuracies in Maps. There should be a direct way to give feedback so we can help keep the Maps database accurate. I'm using Maps on the Z10. -SDM

  • JSTL c:set tag replace single qoutes to & #039;

    Hi all, i'm using the JSTL-Tags to create and query a SQL-Statement. I use the c:set Tag to set a part of my query... <c:set var="selectSeveral" value="d.hardwarecode = '${param.p_macAddress}'"/> ...and the sql:query Tag to excecute the query: SELECT

  • WebLogic Apache Plug-in

    I've just read about the WebLogic Apache plug-in that's new in 5.1 :-)           Am I right to assume that this plug-in only works for Apache running on           Solaris? :-(           I'm running Apache (Stronghold actually) on Linux and I need to

  • External monitor to macbook pro via dvi cable won't work

    can't get this hook up to work, help

  • Oracle 9i DB + Jdeveloper + 9iAS JE / JRun / Tomcat

    HI, i just to consider which application server suitable for our business. everybody can answer/explain me below question. 1) whatis difference between above mentioned app. server. what benefit if i choose 9ias je. 2) when i try to install sample cod