Connecting to Azure SQL database in Access 2010

I've recently purchased a new computer and I had an OBDC connection set up to link to a sql database in azure through access. I am trying to set it up on my new computer but I'm unable to define the specific database. I'm able to make the connection but
it only allows me into the master database. I've added my IP address in the configure servers but still can't get things to work. Any help would be greatly appreciated.
thanks
Lynn

Hi,
The following guidelines apply to SQL Database connections using ODBC:
• When using SQL Server Native Client from SQL Server 2008 R2 or SQL Server 2008, the connection string must include the server name as part of the user name (user@server).
• You must use TCP/IP as the protocol when connecting to an Azure SQL Database.
• You cannot create a table in the master database, so therefore you must create a user database to create a table.
• You cannot execute a use database command to switch to your user database. You must disconnect and connect directly to the user database.
• You must have a primary key or clustered index on your table to be able to insert data.
Ref:
https://msdn.microsoft.com/en-us/library/azure/hh974312.aspx?f=255&MSPPError=-2147217396
http://blogs.office.com/2010/06/07/access-2010-and-sql-azure/
https://support.microsoft.com/en-us/kb/2028911/
Hope this helps you.
Girish Prajwal

Similar Messages

  • Cannot Connect to Azure SQL Database in Visual Studio 2013

    Beyond Frustrated here.
    I am trying to connect to an Azure SQL database - it has been created, has tables etc. I am trying to create a new Data Connection from within Visual Studio 2013, latest release for VS and Azure. I continue to receive 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: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server) (Microsoft SQL Server, Error: 53)
    I have ensured that TCP is allowed and above Named Pipes in the Configuration Manager. The associated IP address is allowed on Azure Firewall. Certificate has been added to VS etc. But still no connection. I can see the database in the Azure section in Server
    Explorer, but cannot add a Data Connection. What is equally as frustrating is I have a MacBook Pro running Win 7 sitting right next to my office computer and it can access Azure fine, not problems.
    If anyone has any other ideas on how I might be able to solve this I would love to hear them. Thanks in advance.
    Jeff

    Hi,
     The Error message "   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) "
    The issue comes up mainly because the application is not able to connect to the server.
    To resolve this issue, try the following steps (in that order):
     Make sure that TCP IP is enabled as a client protocol on the application server. For more information on how to do this, see
    Configure client protocols. On application servers where you do not have SQL Server tools installed, you can check this by running cliconfg.exe (SQL Server Client Network Utility).              
     2.  Check the application’s connection string to make sure that it is correctly configured. For example, make sure that the connection string specifies the correct port (1433) and the fully qualified server name.                
    Note You can follow these steps to obtain the connection string from the Azure Management Portal:                  
                          Log on to the
    Azure Management Portal.                    
                          In the left navigation pane, click
    SQL Databases.                    
                          Select your Azure SQL Database server.                    
                          Click
    Dashboard.                    
                          On the right side, go to the
    quick glance section, and then click Show connection strings.                    
    Test the connectivity between the application server and the Azure SQL database by using a UDL file, ping, and telnet. For more information about how to do this, see
    Azure SQL Database connectivity troubleshooting guide and
    Troubleshooting SQL Server connectivity issues.                
    Note As a troubleshooting step, you can also try to test the connectivity on a different client computer.                
    Try increasing the connection timeout. Microsoft recommends using a connection timeout of at least 30 seconds.              
    As a best practice ensure retry logic is in place. For more information about the retry logic, see
    Azure SQL Database best practices to prevent request denials or connection termination.              
          If these  steps do not resolve your problem, follow the below steps to collect more data and contact support:              
       If your application is a cloud service, enable the logging. This step returns a UTC time stamp of the failure. Additionally, SQL Azure returns the tracing ID.
    Microsoft Customer Support Services can use this information.                   
       For more information about how to enable the logging, see
    how to enable diagnostic logging for Azure Web sites and Developing SQL Database Applications section in
    Azure SQL Database Development Considerations.                
      Check out
    the list of best practices for Connecting to Windows Azure SQL Database.
    Regards,
    Shirisha Paderu.

  • Can No Longer Connect to Azure SQL Databases

    As of this morning, I am no longer to connect to any of my Azure SQL databases by any (apparent) means. I checked the configuration in the azure portal and my IP address is listed as an allowed IP, however:
    I am unable to connect via SQL Server Management Studio
    My request times out when attempting to visit https://{server_name}.database.windows.net
    What might have caused this?

    Hi ,
    Thanks for posting here.
    To resolve the issue you can try the following steps (in that order):
                    Check the application’s connection string to make sure that it is correctly configured. For example, make sure that the connection string specifies the correct port
    (1433) and the fully qualified server name.                
    Note You can follow these steps to obtain the connection string from the Azure Management Portal:                  
                          Log on to the
    Azure Management Portal.                    
                          In the left navigation pane, click
    SQL Databases.                    
                          Select your Azure SQL Database server.                    
                          Click
    Dashboard.                    
                          On the right side, go to the
    quick glance section, and then click Show connection strings.                    
                    Make sure that TCP IP is enabled as a client protocol on the application server. For more information on how to do this, see
    Configure client protocols. On application servers where you do not have SQL Server tools installed, you can check this by running cliconfg.exe (SQL Server Client Network Utility).              
                    Test the connectivity between the application server and the Azure SQL database by using a UDL file, ping, and telnet. For more information about how to do this,
    see
    Azure SQL Database connectivity troubleshooting guide and
    Troubleshooting SQL Server connectivity issues.                
    Note As a troubleshooting step, you can also try to test the connectivity on a different client computer.                
                    Try increasing the connection
    timeout. Microsoft recommends using a connection timeout of at least 30 seconds.              
                    As a best practice ensure retry logic is in place. For more information about the retry logic, see
    Azure SQL Database best practices to prevent request denials or connection termination.              
                  If the previous steps do not resolve your problem, follow these steps to collect more data and contact support:              
                      If your application is a cloud service, enable the logging. This step returns a UTC time stamp of the failure. Additionally, SQL Azure returns the tracing
    ID.
    Microsoft Customer Support Services can use this information.                
                      For more information about how to enable the logging, see
    how to enable diagnostic logging for Azure Web sites and Developing SQL Database Applications section in
    Azure SQL Database Development Considerations.
    Please write back with the exact Error message/ Error Code if this doesn't help.
    Regards,
    Shirisha Paderu.

  • Consistently getting "The wait operation timed out" when connecting to Azure SQL Database from a virtual instance...

    I have a web app that is backed by a an Azure SQL Database. The problem is that I had multiple issues when connecting to the database mainly when trying to establish a connection, or timeouts. This is the log I just encountered when trying to use the web
    app.
    [Win32Exception (0x80004005): The wait operation timed out]
    [SqlException (0x80131904): Connection Timeout Expired. The timeout period elapsed while attempting to consume the pre-login handshake acknowledgement. This could be because the pre-login handshake failed or the server was unable to respond back in time. The duration spent while attempting to connect to this server was - [Pre-Login] initialization=21970; handshake=1; ]
    System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) +671
    System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) +116
    System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) +1012
    System.Data.ProviderBase.DbConnectionClosed.TryOpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) +6712291
    System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) +152
    System.Data.SqlClient.SqlConnection.Open() +229
    System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) +102

    Hi Affar2k,
    According to your description, we need to verify if there is no network issue and the Sqlclient version is older than .NET 4.5.  You can try to connect to the Windows Azure SQL database via SSMS and check if it can run well. When you
    connect to the SQL Azure database via ADO.NET, you need to verify that the server name and passwords are right in the connection string.
    For more information, you can review the following article about how to connect to Windows Azure SQL Database using ADO.NET.
    http://msdn.microsoft.com/en-us/library/windowsazure/ee336243.aspx
    Thanks,
    Sofiya Li
    Sofiya Li
    TechNet Community Support

  • How to connect to Azure SQL database remotely (SharePoint 2013 BI)

    Hi,
    I am new to using Azure VM's and I am looking for advice. I have created and can connect to an Azure VM with a SQL Server 2012 installed on it (includes SSAS and SSRS). I connect to the VM using Microsoft Remote Desktop Connection.
    The problem I am having is connecting to the Azure database from a SharePoint BI site. Are there any good videos or websites that demonstrate how to setup an Azure VM so a user can access a database remotely.
    I hope you can help. 
    ATaylor

    Hello,
    To connect to the SQL Server Database from another computer, you must know the Domain Name System (DNS) name of the Azure virtual machine. For example: DNSName,portnumber such as SQLVM.cloudapp.net,57500.
    (Note: The port number is the public endpoint port which you can configure in the management portal for TCP communication with SQL Server on Azure VM.)
    As for datasource credentials, you can use a SQL Server authentication login: create a SQL Server login with password on the SQL Server instance.
    Reference:
    Complete Configuration steps to connect to the virtual machine Using SQL Server Management Studio on another computer
    Regards,
    Fanny Liu
    Fanny Liu
    TechNet Community Support

  • Yesterday I was able to connect Azure SQL Database - Today I am not

    Hello Everyone,
    I have problem with establishing connection with Azure SQL Database. I have read many articles here, tried some solutions but none worked.
    0. On last Friday everything worked well - today it does not.
    1. I added my public IP Address in Azure Management Portal earlier.
    2. I tried different types of login-ways: login@nameserver, I used numeric addresses instead of server names, I set TCP connection manually, added encryption in one case either, tried do establish connection with particular database
    3. Firewall does not block 1433 out connection
    4. My IP address is static
    5. I have no error message displayed using Microsoft SQL Server Management Studio - it just hangs.. - no response at all
    6. I cannot ping the machine but its name is resolved correctly - maybe it does not respond using echo reply on purpose
    7. Status of my database is Active - I am able to connect it and manage via browser and management portal at the moment
    8. When I am trying to connect database via Visual Studio - it hangs.. - VS must be stopped manually via task manager
    9. My local CloudService has problem with connection to the db either
    10. Currently I am not able to deploy my CloudService because when I am trying to Publish it - VS hangs as soon as first Publish dialog window appears. Looks that I am able to deploy cloud service via Management portal only.
    I am still trying to dive into the problem but at this moment I would be grateful for any clues.
    Regards,

    Hi Mekh, hi everyone
    PROBLEM SOLVED.
    Yestarday I updated Azure Firewall rule and database-level firewall rules (master, my_database). I added special input / output protocols (IP, TCP, UDP) rules to my COMODO firewall (MSSMS could send anything and receive anything using IP, TCP and UDP). Status
    of my computer -> database connection was set to ESTABLISHED in netstat output but MSSMS was still unavailable (no response at all - no error message).
    I DECIDED TO UNINSTALL COMODO AT ALL and then if it does not work - reinstall local SQL Server, MSSMS and finally Visual Studio. When Comodo was gone - problem was gone either. Now I have connection with my database using MSSMS and I do not have to reinstall
    anything more.
    Regards,

  • Connecting to an Azure SQL Database from a Windows C# Form

    Hi,
    Is it possible to connect to an SQL database in Azure from Visual Studio C# 2010 or 2012? If so how is this done. Is it the same as if you were connecting to SQL Express database with the use of a connection string? Any directions or tutorials would be of
    great help!
    Thanks!

    Hi,
    >>Thanks for the reply Paul, That is disappointing. I am trying to get my students to create a C# application that will connect with a database in Azure. Is there another approach besides SQL that I could use?
    Using SQL Azure will work fine (see below), if the students are familiar with SQL Server and SQL Databases it will be great for them to see how it works in the cloud. As an alternative you could explore Azure Storage, using Table Storage, Blob Storage or
    the new Document Database features.
    >>Azure enforces a firewall that prevents direct external access to the database server. You can add a firewall rule allowing external access, but the rules only support connecting from a fixed IP address because you have to specify the numeric IP
    from which connection will be allowed.
    You can specify ranges here, so you could cover a range of IP addresses. You can even specify 0.0.0.0 to 255.255.255.255 and allow all IP addresses, this could be an option if you don't know where the students will be connecting from, and you are using a
    database for the exercise where you don't care too much about the security.
    When I have run classes I typically use an IP address range, for example XXX.YYY.ZZZ.0 to XXX.YYY.ZZZ.255 if the students are accessing from the same classroom, and the external IP address may vary. You may find that they all have the same external IP address
    if they are on the same internal network.
    Also, with many students accessing the same database, you may get throttling if they place a lot of load on it. This is cool, as you can also teach them about transient fault handling and resource throttling :-).
    Regards,
    Alan
    Free e-book: Windows Azure Service Bus Developer Guide.

  • Can I connect Azure SQL Database from Project Siena ?

    Can I connect Azure SQL Database from Project Siena ?
    I want to connect Azure SQL Database of Office 365 SharePoint's Access App from Project Siena.
    Access App's Database is Azure SQL Database.
    and can connect to Excel/PowerBI/etc.
    Access App's Database can connect from specific location / any locations.
    Access App's Database can allow read-only connection / read-write connection.
    I want to create Windows App connected to Access App's Database.
    Regards,
    Yoshihiro Kawabata.

    Hi Yoshihiro,
    Could you share more with us about the high level scenario for what you are trying to accomplish offline? We can discuss further at
    [email protected]
    Once we are done, we will definitely share our findings with the community.
    Thanks!

  • Can SQL Server SSIS on VM access Azure SQL database?

    I have SQL Server BI on Azure VM.
    Can SSIS Access Azure SQL database? I need to fetch data.
    Kenny_I

    Hi,
    You an able to do this by running ssis locally and connect Azure SQL. Below link expains this well in detail.
    http://beyondrelational.com/modules/2/blogs/84/posts/13234/how-to-use-sql-server-integration-services-ssis-to-migrate-data-from-sql-server-to-sql-azure-paras-d.aspx
    Regards,
    Santhosh.
    www.jijitechnologies.com

  • Azure SQL Database

    Folks,
    Not sure if this is the right forum to ask these questions, I am planning to sign up for Azure SQL Database and VMs. I am trying answers to following. Any information is appreciated.
    What is the reliability measure of the Azure SQL Database. Is it five 9’s ?
    What is the "MAX Worker Threads” performance measure as mentioned here:
    http://msdn.microsoft.com/en-us/library/azure/dn741336.aspx
    Does “MAX session” correspond to maximum number simultaneous of DB JDBC connections.
    Is it tenant based service where multiple tenants are hosted on the Azure database.
    What is the architecture of Azure SQL database, Is it centralized on a single server or over a cluster of machines ?
    What is the high level architecture of the VMs and SQL DB.
    What is the nature, bandwidth and reliability of connectivity between Azure VMs and Azure SQL DB.
    Is this network capacity between VMs and SQL DB shared between multiple tenants.
    How are the SLAs guaranteed (ensured) and throttled/enforced (to curb over-utilization).
    If we horizontly scale Azure VMs to twice number of current VMs, will the temporal locality of the new VMs has lower network performance in terms of latency or bandwidth than the existing VMs.
    Are there any per Azure VM limits on access to Azure SQL DB.
    If for some reason SQL DB crashes experiences, Is the Data recoverable.
    Can the Azure SQL DB be backed up in Azure Cloud/ or Amazon S3
    Thanks,
    Ajay

    Hi Ajay,
    These msdn forums are the actually the best place to ask questions. 
    I guess you have some scenario in back of your mind that makes you ask these questions, if you can share that with us we may better answer your questions instead of giving you information that may not be most usable for you, regardless here it goes.
    I will do my best to answer all your questions
    What is the reliability measure of the Azure SQL Database. Is it five 9’s ?
    VS: It's 4 nines (99.99) The 99.99% uptime SLA applies to Basic, Standard, and Premium service tiers only. 
    SQL Database Web and Business Editions have an established uptime SLA of 99.9%.
    http://azure.microsoft.com/en-us/services/sql-database/
    What is the "MAX Worker Threads” performance measure as mentioned here:
    http://msdn.microsoft.com/en-us/library/azure/dn741336.aspx
    VS: SQL Database governs the limit on the number of concurrent worker threads (requests) to a database. 
    Any database with more than the allowed limit of concurrent requests will receive error 10928, and further requests on this database can be denied.
    http://msdn.microsoft.com/en-us/library/azure/dn338078.aspx
    Does “MAX session” correspond to maximum number simultaneous of DB JDBC connections.
    VS: Yes, SQL Database governs the limit on the number of concurrent sessions that can be established to a database. When concurrent session limit for a database is reached, new connections to the database are denied and user will receive error
    code 10928. However, the existing sessions to the database are not terminated.
    http://msdn.microsoft.com/en-us/library/azure/dn338078.aspx
    Is it tenant based service where multiple tenants are hosted on the Azure database.
    VS: Yes and No, Yes because its offered as SAAS, yes multiple tenants are hosted on Azure DB, but they are isolated and also depends on the tier you choose. SQL Azure is designed for Massive scaling, so if you were worried about slowness due
    to multi tenant hosting, trust me that should last thing to be worried about.
    No, because you can choose to go all the way to premium (now that does not mean you are the only db on the server but its super high performing database out there)
    What is the architecture of Azure SQL database, Is it centralized on a single server or over a cluster of machines ?
    VS: Its hosted in Microsoft Datacenters and offered as a service, although we can go in detail of architecture of SQL Azure but for this set of questions its irrelevant. Performance is massive on SQL Azure, it can be scaled out or scaled down
    on demand.
    What is the high level architecture of the VMs and SQL DB.
    VS: Not following your question here, what is meant by architecture of VM?
    What is the nature, bandwidth and reliability of connectivity between Azure VMs and Azure SQL DB.
    VS: The connectivity in general is great unless you decide to host one service in part of the world and other totally other corner, in that case also I have seen good connectivity between the two given normal latency.
    Is this network capacity between VMs and SQL DB shared between multiple tenants.
    VS: Not following your question in entirty, do you mean network capacity in terms of GB/Sec? if your vm and sql are in same Data Center its the fastest connectivity you can get out there in market on any cloud or for that matter on prem :)
    they apparantely have a faster network in their DC than many giant companies have on prem.
    How are the SLAs guaranteed (ensured) and throttled/enforced (to curb over-utilization).
    VS: MS have protection against many threats, DOS being one of them, Microsoft has done the best job among all the cloud providers out there to inform thier customers about outages, in a recent summit this was also discussed in detail and suggestions
    were made to improve on the portal feature.
    Each time an service goes down its reported on the portal on service health page, they are improving on the SLA breach report, at this moment its part of your invoice. I have personally not seen a single breach on my services, I am actively using Azure for
    last 5+ years.
    If we horizontly scale Azure VMs to twice number of current VMs, will the temporal locality of the new VMs has lower network performance in terms of latency or bandwidth than the existing VMs.
    VS: number of VMs have nothing to do with network performance, keep in mind the fabric underneath is build for massive scale, network performance and latency will vary (they keep improving) if you choose to create your VMs in a different DCs
    then you would come across some latency and that's normal. 
    Are there any per Azure VM limits on access to Azure SQL DB.
    VS: these are not per VM limits, they are driven by MAx_THREAD and MAX_SESSION, please refer to the link above in the question for Max worker thread
    If for some reason SQL DB crashes experiences, Is the Data recoverable.
    VS: I would be careful to answer this, if you choose to use SQL Azure (which is offered as SAAS) then yes MS takes care of data replication to ensure SLA. if you choose to host your own SQL DB on your VM in Azure, MS is not responsible for
    the data recovery, you will have to take care of it (because now you are not talking about PAAS, instead you are going for IAAS)
    Can the Azure SQL DB be backed up in Azure Cloud/ or Amazon S3
    VS: Ofcourse, I am not very familiar with Amazon S3 but i see no reason why it can't be done.
    hope this helps
    Please mark as answered if it helped
    Vishal Narayan Saxena http://twitter.com/vishalishere http://www.ogleogle.com/vishal/

  • DB SCHEMA INFO error when connecting to AZURE SQL through OLE DB

    Created a virtual machine in Azure and connected to Azure SQL server. I have been able to access the Azure SQL server through 2014 SQL Server Management Studio. 
    I have connected my program to the Azure SQL through a OLE DB connection. I am able to connect and create a new database through this connection, however when I try to connect to the newly created database, i get the following error: 
     Error creating connection: Not a Market(our product) database: Invalid object name 'db_schema_info'.
    I am not sure what is going on and why this error is showing up. Is it because of the OLE DB connection? The fact that the login mysql.database.windows.net has periods and a login login@mysql? I have had issues with punctuation in the past when connecting
    through OLE DB. Please help me to either find the right code or another work around option. 
    I can connect my program to a local SQL server hosted on the VM the same process as above without any issues. This is not a viable option as I need to connect multiple VMs to the same SQL server. 

    Hi,
    Thanks for posting here.
    Connecting to Microsoft Azure SQL Database by using OLE DB or ADO is not supported on SQL Azure.
    Ref: http://www.connectionstrings.com/sql-azure/
    Microsoft does not announce support for OLE DB connections to Azure and there are limitations. Some required OLE DB schema rowsets are not available from an Azure connection, and some properties that identify features in SQL Server are not adjusted to represent
    SQL Azure limitations. For most common connect/query/update tasks it seems to work fine.
    Provider=SQLNCLI11;Password=myPassword;User ID=[username]@[servername];
    Initial Catalog=databasename;Data Source=tcp:[servername].database.windows.net;
    Ref: http://msdn.microsoft.com/en-us/library/azure/ee336245.aspx
    You can also check
    Connectivity Considerations for SQL Server in Azure Virtual Machines
    Hope this helps you.
    Girish Prajwal

  • Database Initialiser does not create azure sql database

    I have a WPF application In the OnStartup in the app.cs I set the Database initializer and forced the context the initialise my database:
    Debug.WriteLine("Setting Initializer");
    Database.SetInitializer<MyContext>(new MyDatabaseInitializer());
    Debug.WriteLine("Declaring new context");
    using (MyContext c = new MyContext("MyContext"))
    Debug.WriteLine("Force the initialization");
    c.Database.Initialize(true);
    Debug.WriteLine("Done!");
    I created a sql database in the management portal of the azure.
    Copied the connectionstring it provided for ADO.net.
    But my database is not created.
    I also added a firewall rule but nothing happens. I Have no clue what to do.
    Can anybody please help me with this?
    If you need more information please ask i really have to get this sorted out.
    Thanks in advance!

    Hi Turkstra,
    I have tried to use EF to create Azure SQL database, it works as expect, the database 'jambordbcreate' appear in my SQL Azure, below is the detailed codes.
    using System;
    using System.Collections.Generic;
    using System.Data.Entity;
    using System.Linq;
    using System.Text;
    using System.Threading.Tasks;
    namespace CodeFirst
    class Program
    static void Main(string[] args)
    Database.SetInitializer(
    new CreateDatabaseIfNotExists<SchContext>());
    using (var db = new SchContext("Server=tcp:****.database.windows.net,1433;Database=jambordbcreate;User ID=vote@***;Password=***;Trusted_Connection=False;Encrypt=True;Connection Timeout=30"))
    string name = "jambor";
    var student=new Student(){Name=name, ID="1a"};
    db.Students.Add(student);
    db.SaveChanges();
    db.Database.Initialize(true);
    public class Student
    public string ID { get; set; }
    public string Name { get; set; }
    public string age { get; set; }
    public string sex { get; set; }
    public class School
    public string ID { get; set; }
    public string Name { get; set; }
    public virtual List<Student> Students { get; set; }
    public class SchContext : DbContext
    public SchContext(string connection):base(connection)
    public DbSet<Student> Students { get; set; }
    public DbSet<School> Schools { get; set; }
    I suggest  you check your SQL connection, after run your code, please refresh azure portal to see whether your database is exist. Hope this give you some help.
    Best Regards,
    Jambor
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Problem in Azure SQL Database Basic Tier

    I have a WinForms Application was using Azure SQL Database (Web)
    It was working fine with web version (for last 2.5 years). 
    After Microsfot's new offerings of New Tiers of Azure SQL Database, 
    I tried Basic Tier.
    Observation for last 24 hours according to Azure Portal when Database in
    BASIC state :::
    Successful Connections : 2 (Max), 1.5(Avg), 3(Total)
    Failed Connections : 0 (Max), 0 (Avg), 0 (Total)
    Throttled Connections : 0 (Max), 0 (Avg), 0 (Total)
    Deadlocks : 0 (Max), 0 (Avg), 0 (Total)
    Storage : 23.38MB (Min), 23.75MB (Max), 23.47MB (Avg)
    CPU Percentage : 0 (Min), 3.34 (Max), 1.14 (Avg)
    Log Writes Percentage : 0 (Min), 0.05 (Max), 0.02 (Avg)
    Physical Data Reads Percentage : 0 (Min), 0.01 (Max), 0 (Avg)
    The WinForm Application working fine but there is some problem:
    When a Report is generated (local .rdlc), the connection gives "Timeout Expired"
    This problem occurs only in 25% cases (in 75% cases works fine)with same data.
    If I upgrade database to Standard (S1) it works fine.
    QUESTION IS :
    Resource Stats show it is using very low resources.
    like CPU percentage 3.34 (Max), Log Writes Percentage 0.05 (Max)
    and Physical Data Reads Percentage 0.01 (Max)
    Why the report not works in 25% cases in BASIC state but works in STANDARD S1 state ?
    The price of Standard S1 is 8 timeshigher then BASIC
    Thanks

    Hello Fanny,
    Thanks for reply.
    I know it and that's why I mentioned different resource stats.
    My database (BASIC) using only :
    CPU Percentage :  3.34
    (Max)
    Log Writes Percentage :
    0.05 (Max)
    Physical Data Reads Percentage :
    0.01 (Max)
    While Microsoft says if any parameter goes beyond 80% usage then you need to upgrade tier
    Please see following video on Channel 9:
    Azure SQL Database and the new Database Throughput Unit 
     by Tobias Ternstrom – Principal Program Manager Lead for performance in Azure SQL Database
    Thanks

  • Connect to Azure Sql DB through WCF Data Service

    I am following the tutorial:
    http://msdn.microsoft.com/en-us/library/windowsazure/ee621789.aspx;
    Connect to Windows Azure SQL Database Through WCF Data service on a
    Windows 8 machine running VS2013.  Until starting this tutorial, I have only been using VS for WPF applications. So it might not be properly configured for a web app.
    Everything works just fine until I get to the section on Creating the Client Application.  Clicking the Discover button populates the services pane with my service.  When I click on the service in the pane I get the following Add Service Reference
    Error:
    There was an error downloading 'http://localhost:62778/testDataService.svc/_vti_bin/ListData.svc/$metadata'.
    The request failed with the error message: --- , . . .
    If I ignore it and click OK it essentially tells me the same thing:
    "There was an error downloading metadata from the address.  Please verify that you have entered a valid address."
    I am thinking that there is a configuration issue on my machine.  Perhaps something needs to be installed or running, . . .
    I have tried doing the same steps with a local SqlExpress database, and get the same problem.  If I try to go directly to the website via the browser:
    http://localhost:62778/testDataService.svc
    I get a Request Error.
    Any suggestions, thoughts on this will be greatly appreciated!
    Robotuner

    Hi,
    From the error message "There was an error downloading 'http://localhost:62778/testDataService.svc/_vti_bin/ListData.svc/$metadata'.", I suspect that you created a folder named _vti_bin, and created wcf data service named ListData, in my test
    application, from my experience, you issue may be caused by "$metadata", can you give further information to me, there was a
    wcf data service quick start, hope this will help you.
    Best Regards 
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Latest Version of Azure SQL Database

    What is the latest version of Microsoft Azure SQL Database ? Are there likely updates to newer versions ?

    Hi,
    Currently, Azure uses a special version of Microsoft SQL Server as its backend. It provides high availability by storing multiple copies of databases, elastic scale and rapid provisioning, when we check the version of SQL Server, it shows :
    Microsoft SQL Azure (RTM) - 11.0.9225.9
    More information :
    http://azure.microsoft.com/blog/2011/08/25/checking-your-sql-azure-server-connection/
    At the moment, there is no update as to when an update will be rolled out.
    Regards,
    Mekh.

Maybe you are looking for

  • Sales document 400136021 is currently being processed (by user MNAUSHAD (C2

    Hi Friends,    Iam using Mobile Sales and iam getting an error when iam opening the sale order created in laptops    Scenario : Sale order created in laptop got replicated in CRM and R/3 and delivery got created in                    R/3.            

  • Information message

    When I start my program I will show an information message about what the program does. Where in my program should I write this message and how?

  • Displaying figures in words

    hi gentlemen....I wanna display figures in reports alongwith there value in words e.g $100 will be displayed as One Hundred Dollars Only....plzzz tell me that how can I accomplish this job in reports6i???thanx

  • I'm having trouble using the Ipod Updater

    Itunes is not recognizing my ipod. I was told by the apple support to download the Ipod Updater and restore my factory settings. I downloaded the Ipod Updater as instructed, but when I go to open the program is keeps saying "Error reading setup initi

  • QT 7.1 Export Problem Failed(-2126)

    Hi - I just got a QT 7.1 pro because I want to export my AVI files made by Canon SD550 to any files with smaller size than AVI. However it always failed after "calculating estimated time" text: "Failed -2126" And here is the information of the format