Connecting the Management Studio to the Azure database

I am very new to Azure.  I have created a virtual machine and a database.  I can access the database from with Azure, but when I try to access it using SQLServer2012, I get the message of the standard can not connect.
I believe I have set up the firewall with the correct IP address in a seperate rule, but the default IP is not my machine and I have been unable to get a successful ping the that address.
I would be most grateful for any assistance.

Hi Dave,
Did the issue resolved?  Based on your description, it seems that you create a Virtual machine on Windows Azure and create SQL database on Windows Azure Management Protal. You try to connect to the SQL Database from SSMS 2012 form your
local desktop. (Note:SQL Database is not SQL Server on Windows Azure VM.)  If I have any misundderstanding, please let me know.
1. You cannnot connect to the VM through RDP on your local desktop.
You can refer to the following blog to troubleshooting VM connection fail issue:
http://blogs.technet.com/b/kevinremde/archive/2013/10/04/why-doesn-t-remote-desktop-to-my-windows-azure-vm-work-so-many-questions-so-little-time-part-48.aspx
2. You try to connect to a SQL database with SSMS 2012 but failed with error code 53 and also telnet failed.
Please try to use the tracert utility and capture the output showing the intermediate steps taken while trying to reach the server: C:\>tracert  <IP address>
(Note: you can get the ip address with: ping qksz0wcgii.database.windows.net )
Reference:http://social.technet.microsoft.com/wiki/contents/articles/1719.windows-azure-sql-database-connectivity-troubleshooting-guide.aspx
Regards,
Fanny Liu
Fanny Liu
TechNet Community Support

Similar Messages

  • How do the application servers connect the new database after failing over from primary DB to standby DB

    How do the application servers connect the new database after failing over from primary DB to standby DB?
    We have setup a DR environment with a standalone Primary server and a standalone Physical Standby server on RHEL Linux 6.4. Now our application team would like to know:
    When the primary DB server is crashed, the standy DB server will takeover the role of primary DB through the DataGuard fast failover. As the applications are connected by the primary DB IP before,currently the physical DB is used as a different IP or listener. If this is happened, they need to stop their application servers and re-configure their connection so the they coonect the new DB server, they cannot tolerate these workaround. 
    Whether does oracle have the better solution for this so that the application can automatically know the role's transition and change to the new IP without re-confige any connection and shutdown their application?
    Oracle support provides us the answer as following:
    ==================================================================
    Applications connected to a primary database can transparently failover to the new primary database upon an Oracle Data Guard role transition. Integration with Fast Application Notification (FAN) provides fast failover for integrated clients.
    After a failover, the broker publishes Fast Application Notification (FAN) events. These FAN events can be used in the following ways:
    Applications can use FAN without programmatic changes if they use one of these Oracle integrated database clients: Oracle Database JDBC, Oracle Database Oracle Call Interface (OCI), and Oracle Data Provider for .NET ( ODP.NET). These clients can be configured for Fast Connection Failover (FCF) to automatically connect to a new primary database after a failover.
    JAVA applications can use FAN programmatically by using the JDBC FAN application programming interface to subscribe to FAN events and to execute event handling actions upon the receipt of an event.
    FAN server-side callouts can be configured on the database tier.
    FAN events are published using Oracle Notification Services (ONS) and Oracle Streams Advanced Queuing (AQ).
    =======================================================================================
    Who has the experience and the related documentation or other solutions? we don't have the concept of about FAN.
    Thank very much in advance.

    Hi mesbeg,
    Thanks alot.
    For example, there is an application JBOSS server connecting the DB, we just added another datasource and put the standby IP into the configuration file except adding a service on DB side like this following:
            <subsystem xmlns="urn:jboss:domain:datasources:1.0">
            <datasources>
                    <datasource jta="false" jndi-name="java:/jdbc/idserverDatasource" pool-name="IDServerDataSource" enabled="true" use-java-context="true">
                        <connection-url>jdbc:oracle:thin:@<primay DB IP>:1521:testdb</connection-url>
                        <connection-url>jdbc:oracle:thin:@<standby DB IP>:1521:testdb</connection-url>
                        <driver>oracle</driver>
                        <pool>
                            <min-pool-size>2</min-pool-size>
                            <max-pool-size>10</max-pool-size>
                            <prefill>true</prefill>
                        </pool>
                        <security>
                            <user-name>TEST_USER</user-name>
                            <password>Password1</password>
                        </security>
                        <validation>
                            <valid-connection-checker class-name="org.jboss.jca.adapters.jdbc.extensions.oracle.OracleValidConnectionChecker"/>
                            <validate-on-match>false</validate-on-match>
                            <background-validation>false</background-validation>
                            <use-fast-fail>false</use-fast-fail>
                            <stale-connection-checker class-name="org.jboss.jca.adapters.jdbc.extensions.oracle.OracleStaleConnectionChecker"/>
                            <exception-sorter class-name="org.jboss.jca.adapters.jdbc.extensions.oracle.OracleExceptionSorter"/>
                        </validation>
                    </datasource>
                    <drivers>
                        <driver name="oracle" module="com.oracle.jdbc">
                            <xa-datasource-class>oracle.jdbc.OracleDriver</xa-datasource-class>
                        </driver>
                    </drivers>
                </datasources>
            </subsystem>
    If the failover is occurred, the JBOSS will automatically be pointed to the standby DB. Additional actions are not needed.

  • Unable to connect the SQL database from servlet

    Hi!
    My servlet connects with an SQL server on some other machine.
    I have create the servlet and deploy it on tomcat.
    I first create this servlet on eclipse that I deploy it on tomcat manually.
    While using it form eclipse it gave no error in connecting with the server.
    But when I deploy the same code on tomcat manually and access the page it gave me an error saying
    [Microsoft][ODBC SQL Server Driver][SQL Server]Login failed for user 'NT AUTHORITY\ANONYMOUS LOGON'
    I used the following code for cenneting the server
    Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
                   out.println("Calling For Class Name success Now calling database <br>");
                   jdbcConnection = DriverManager.getConnection("jdbc:odbc:Driver={SQL Server};Server=MyServerName;Database=MyDatabaseName","","");
    Message was edited by:
    nitin403

    Hi!
    Sorry for not formating my previous message properly.
    My servlet connects with an SQL server on some remote machine.
    I have create the servlet and deploy it on tomcat.
    I first create this servlet on eclipse that I deploy it on tomcat manually.
    While using it form eclipse it gave no error in connecting with the server.
    But when I deploy the same code on tomcat manually and access the page it gave me an error saying
    [Microsoft][ODBC SQL Server Driver][SQL Server]Login failed for user 'NT AUTHORITY\ANONYMOUS LOGON'
    I used the following code for connecting the server
    Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
    jdbcConnection = DriverManager.getConnection("jdbc:odbc:Driver={SQL Server};Server=MyServerName;Database=MyDatabaseName","","");
    Thanx for your help in advance
    Message was edited by:
    nitin403

  • Ms Sql Management Studio 2014 Express + Azure

    Hi everyone
    I have SSMS 2014 Express and I use Azure SQL DB with SQL Database Update V12 (preview).
    Now I have the restricted access to my DB from ssms, but there (http://blogs.msdn.com/b/sqlreleaseservices/archive/2014/12/18/sql-server-2014-management-studio-updated-support-for-the-latest-azure-sql-database-update-v12-preview.aspx) talks about the enhanced
    functionality. I can not find this update for ssms. Please help me, where I can get this update?

    I have installed MS SQL Management Studio 2014. After that I have installed CU5 from link in your previous post.
    There was no change. After your last post I have installed
    CU6, but again there was no change.
    Now I have this:
    MS SQL Management Studio about window:
    In Azure:
    I'm sorry for russian language in screenshot, I don't know how to change it to english.
    No error occurs.
    GUI can not do anything with the database
    in Azure. I can only see the list
    of tables, and I can do a sql queries.
    But in the local database in the GUI
    all the features are present
    Hi AndrewG42,
    I notice that you are using the latest version of SQL Azure database (13.0.15). I suspect there’s no update in SSMS 2014 for this version of SQL Azure database.
    In other words, these features (select top 1000 rows, table designer, etc) are only going to be present with SSMS connecting to Azure v12 which version number is 12.0.2000.8. 
    Personally, regarding to above issue, I recommend you submit a feedback at
    http://feedback.azure.com/forums/34192--general-feedback. Your feedback is valuable for us to improve our products and increase the level of service provided.
    Thanks,
    Lydia Zhang
    Lydia Zhang
    TechNet Community Support

  • How to connect the local database of Pesonal Oracle From FormBuilder of develope 2000

    I installed developer 2000 with personal Oracle in win95. I opened Oracle Form builder and click connect submenu of File. It prompts for user name, password and Database. I added scott/tiger for user name and password and I do not know what I should add into the database item. I tried to add oracle or Local Database to the database item, but it did not work. I also tried to use system/manager/oracle, but it still did not work.
    Please tell me what should I add to the database item.
    Thanks

    You can use the "Oracle Net 8 assistant", "Oracle Net 8 Easy config" to see if you have the appropriate entry to the server in the local tnsnames.ora file (find it!). I mean that one in the Forms&Reports home, not that one in the Oracle_Home.
    Under local I mean the file tnsnames.ora in your application, not at the Oracle Server - this is a common mistake.
    You have to have there an entry like:
    REKS816.RILA.us =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = bigbluenew.rila.us)(PORT = 1521))
    (CONNECT_DATA =
    (SERVICE_NAME = REKS816)
    It is a bad practice, but you can add such entry using simple text editor. But before that make a copy of tnsnames.ora in order to restore it if you do not succeed.
    After that go to "control panel" and run "services".
    Look at your Oracle_Home_TNSlistener80 process. Stop it! Start it again!
    If you work on Unix find the relevant processes and notions of the Unix OS.
    Joseph Schwertner
    [email protected]

  • How to connect the Mysql database?

    Hi,
    I am trying to create the DATABASE source. I'll need to connect mysql db.
    This is correct?
    jdbc:mysql:<db>:<port>
    And what i do the other changes?
    Please advice me.
    Thanks!
    Regards,
    Deva

    You would also need to install the JDBC driver for MySQL - see the admin guide for details.
    HOWEVER ... there are a couple of bugs which will prevent SES from crawling MySQL databases: 6845168 and 6972574. These will be fixed in the next (10.1.8.4) release, or you can ask Oracle Support for patches.

  • OBIEE 11g not connect the Oracle database

    Hi All,
    We installed 11.1.1.6.0 version on Linux 64 bit it works fine after some reason we delete that one and re install on same Linux box,we place old catalog and rpd.
    But when you login all reports is showing errors bellow
    In log file..........
    [nQSError: 43119] Query Failed:
    [2013-10-19T19:47:24.000+00:00] [OracleBIServerComponent] [ERROR:1] [] [] [ecid: 24cef0e6e960bda3:-7f74eefb:141d239504e:-8000-0000000000000d97] [tid: 44b5a940]  [nQSError: 17014] Could not connect to Oracle database. [[
    [nQSError: 17001] Oracle Error code: 12154, message: ORA-12154: TNS:could not resolve the connect identifier specified
    at OCI call OCIServerAttach.
    [nQSError: 43119] Query Failed:
    [nQSError: 43113] Message returned from OBIS.
    In report level
    State: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error has occurred. [nQSError: 43113] Message returned from OBIS. [nQSError: 43119] Query Failed: [nQSError: 17001] Oracle Error code: 12154, message: ORA-12154: TNS:could not resolve the connect identifier specified at OCI call OCIServerAttach. [nQSError: 17014] Could not connect to Oracle database. (HY000)
    Pls help thanks in advance.

    There are 2 places you need to keep TNS names.ora file for OBIEE to connect.
    1. Oracle client which is in your machine
    2. OBIEEhome>Oracle_BI1\network\admin
    I'm sure you would have it in your oracle client. Copy paste the same TNS names in this path too.
    Then open rpd and right click on any table in physical layer and click view data. You should see the results.
    if this doesn't work check your credentials.
    mark if this helps

  • Driver problem to connect the oracle database

    sir
    i want to use oracle 8.0 database at the backend in my project
    i want that it is platform indpendent but
    so i access that it is achive when i am not use the odbc driver
    In xp the oracle not connect with my application
    and in win98 some time it is connected to the application by
    the odbc driver.
    can it is possible that i use oracle database with out use of ODBC bridge in all Microsoft opertaing system types that is win 98,2000,XP
    and NT
    if yes how please help me and where i found the driver for oracle
    with no price.
    also how can i made the connection with my application.
    thanks in advance

    First:
    post this in the approriate forum. This is for Swing questions, not for database driver questions. You have more luck in the JDBC forum, but still this isn't really a Java/JDBC question.
    Second:
    try to use the search before posting a question. Questions regarding the ODBC bridge are posted about 5 times a day (in the JDBC forum)!
    Third:
    to answer your question: download the Type 4 JDBC driver from otn.oracle.com. You can use it with every JDK on every platform.

  • JDBC Data Sources: connecting the HR database from Oracle Express

    What goes in the data string?
    Where do I find the information for Host name, port and SDI?
    Thanks!

    try these link
    About 'create database link ...'
    http://www.dba-oracle.com/t_how_create_database_link.htm
    http://forums.oracle.com/forums/search.jspa?threadID=&q=dblink&objID=f251&dateRange=all&userID=&numResults=15&rankBy=10001
    Edited by: Binepal on May 20, 2010 7:44 AM

  • Error Ora-604 on connect from Visual Studio 2008 to Oracle database

    Hello!
    I have installed Oracle 9.2.0.6 Database, Microsoft Visual Studio 2008 and today I succesfully installed ODP.NET 1110621.
    I wrote a simple console application like this:
    using System;
    using System.Collections.Generic;
    using System.Linq;
    using System.Text;
    using Oracle.DataAccess.Client;
    using Oracle.DataAccess.Types;
    using System.Data;
    namespace ConsoleApplication1
    class Program
    static void Main(string[] args)
    OracleConnection c = new OracleConnection();
    c.ConnectionString = "Data Source=(DESCRIPTION="
    + "(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=192.168.1.1)(PORT=1521)))"
    + "(CONNECT_DATA=(SERVER=DEDICATED)(SERVICE_NAME=ssss)));"
    + "User Id=user;Password=pwd;";
    c.Open();
    OracleCommand cmd = new OracleCommand();
    cmd.CommandText = "Select * from CATEGORY_TABLE";
    cmd.CommandType = CommandType.Text;
    cmd.Connection = c;
    OracleDataReader dr = cmd.ExecuteReader();
    while (dr.Read())
    Console.WriteLine(dr[0].ToString() + " " + dr[1].ToString());
    dr.Dispose();
    cmd.Dispose();
    c.Dispose();
    Console.ReadLine();
    at line c.Open(); appear runtime error : ORA-604 Error occurred at recursive SQL level 1
    How to solve it?

    Your issue is not SQL and PL/SQL so much as .NET so I would suggest you ask the question in the "Windows and .NET" forum.
    But a couple of thoughts:
    1. Your database is undoubtedly not at "HOST=192.168.1.1"
    This IP address is generally the address of the router not the server.
    2. Why would you install an unpatched version of software so old it is in desupport mode and then try to work with it using a current
    version of a Microsoft product? Would you be comfortable installing a 10 year old version of a Microsoft product and expect it to
    work well with Oracle 11gR1?

  • How to connect and query the sql database in mobile application

    Hello,
    Can any one say how to connect the sql database from the j2me application.
    I have got some info that only through servlet or jsp only we can connect the database and from their we should get the info or query in mobile application.
    Is it true? and can i have any sample codes or white paper or guildlines.
    It would be more useful form my project.
    Thanks in advance.
    regards,
    sara

    Hi David,
    According to your description, when you add Windows Azure Mobile Services to a Window Phone 8 app, then store app data in the new mobile service. I recommend you post the related question on the Windows Azure Mobile Services Forums at
    http://social.msdn.microsoft.com/Forums/en-US/home?forum=azuremobile .It is appropriate and more experts will assist you.
    In addition, there are the details about creating a Windows Phone app connected to your mobile service.
    http://www.windowsazure.com/en-us/develop/mobile/tutorials/get-started-wp8/
    http://www.windowsazure.com/en-us/develop/mobile/tutorials/get-started-with-data-wp8/
    Thanks,
    Sofiya Li
    Sofiya Li
    TechNet Community Support

  • Excel Application Unable to Connect the Highavailable(Mirrorining) database

    Hi Folks,
    Please help me out from below Issue.
    We have developed an Excel application to pull data from Back-end Database.
    The database is configured in High availability Mirroring, When fail over occurs the Database moving from One server DB to Another Server DB.
    But my Excel application is not pointing to the Failover DB when the One DB fails.
    We are using the below Connection string in the excel application:
    *"Data Source=Server A;Failover Partner=Server B; Initial Catalog=AdventureWorks; Integrated Security=True;"*
    When Server A is unavailable, it shows the below error.
    PFA : Error.jpg
    And again asking for Authentication
    PFA : Authentication.jpg
    Here we need to Enter Credentials manually and then it is able to connect the desired database.
    But it is not possible to spread credentials to end –user.
    Can anyone please provide solution for this issue to automate the above scenario without manual intervention?
    Thanks in Advance 

    make sure that "sun.jdbc.odbc.JdbcOdbcDriver" is on your classpath ,

  • Error when trying to upgrade SQL Azure database using DAC Package in MGMT Studio - "Unexpected XML Content"

    Hi there,
    I am trying to upgrade a database running in SQL Azure from my local dev box which is running SQL Server 2008 R2 Sp1 (Microsoft SQL Server 2008 R2 (SP1) - 10.50.2500.0 (X64))
    I extract the dac with no problems from my local database. However, when I try to upgrade the Azure db I get the below error.
    This error occurs just after I browse to select the dac package and click open in the browse window. I.e. It happens before I actually try and apply this dac to the Azure database. Something is going wrong, presumably, when the package is parsed by management
    studio.
    I am running Visual Studio 2010 Premium Sp1 if that matters, plus all the various updates required for Azure development..
    Thanks for your help!

    Hey there, and apologies for the lack of response.  Are you still having this issue and still needing help?
    Thanks Guy

  • Tryin to connect Netbeans with SQL Management Studio

    I'm trying to connect SQL Management studio with Netbeans 6.1..
    This is what I've done so far..
    1.Developing Web Application in Netbeans with Tomcat 6.0.18
    2. Have installed the sql-jdbc bridge driver
    I get error when I try to create a "New Database Connection to SQL Server 2005" using specified specified driver.
    ERROR::: Login Failed for User ''. The USer is not associated with trusted SQL Server Connection.
    My SQL Management Studio is not allowing me to have Mixed Mode for Authentication.....
    Have been thru many posts and help but i'm unable to work it out...
    PLEASE HELP..

    SumitM wrote:
    I'm trying to connect SQL Management studio with Netbeans 6.1..Why?
    This is what I've done so far..
    1.Developing Web Application in Netbeans with Tomcat 6.0.18
    2. Have installed the sql-jdbc bridge driver
    I get error when I try to create a "New Database Connection to SQL Server 2005" using specified specified driver.
    ERROR::: Login Failed for User ''. The USer is not associated with trusted SQL Server Connection.
    My SQL Management Studio is not allowing me to have Mixed Mode for Authentication.....
    Have been thru many posts and help but i'm unable to work it out...
    PLEASE HELP..So you mean you are trying to connect to SQL Server.
    Right. Well this isn't a SQL Server administration support site. So you need to find one for your SQL Server administration problem.
    Also I would recommend you use one of the free type 4 (pure Java) JDBC drivers for connecting to SQL Server rather than the ODBC bridge driver.
    Good luck in your searching!

  • Can't remote connect to Integration Services 2008 r2 with 2012 Management Studio

    I am getting a Connect to Server error "Class not registered" followed by the trying to connect to 2005 information. It is not a named instance. I don't get the error when connecting with Management Studio 2008. Any ideas. Everything else is
    all set up properly..

    Can you try this workaround and see if it works?
    http://www.ssistalk.com/2012/03/21/connecting-to-a-pre-sql-2012-ssis-instance-with-sql-2012-ssms/
    Please Mark This As Answer if it helps to solve the issue Visakh ---------------------------- http://visakhm.blogspot.com/ https://www.facebook.com/VmBlogs

Maybe you are looking for

  • MacBook Pro screen non-uniform brightness

    MacBook Pro Retina 13" screen is brighter on left side than on the right. Entire screen is readable, but not uniform. How do I fix this problem, and is this an indication of worse screen problems to come?

  • Need help finding the sum of an array list

    I'm making a mock up of iTunes, I suppose, for class. My only issue is that I can't figure out how to add all the durations of each sound file when it's stated in the array. I've put the part I'm having trouble with in bold, it is located in the Jpod

  • Using In operator in Formula Column,URGENT!!!!!!!!!

    Hi... I want to ask if I have a formula Column(REPORTS 6i),and I want in where condition using parameter to some condition as this example: function CF_1Formula return Number is S NUMBER(10); begin SELECT SUM(SAL) INTO S FROM EMP WHERE DEPTNO IN (:DE

  • How do i reset or unlock my iphone?

    how do i reset or reset my iphone..... thanks

  • VO attribute flexibility ?

    Hi, We have a requirement to add a new column on approval notification page. Since this column is not defined already in view object definition so i have extended the view object and referred that new attribute via personalization. Well, now the prob