Silverlight interface to SQL Database on Azure

Adding a new required column to a table with data in it and specifying a defautl value does not work.
When is this going to be fixed?

Could you please detail this? I'm affraid I don't understand the operation...

Similar Messages

  • Link my website (Zend Framework 1.12) with SQL database on Azure

    Hello community!
    Recently I uploaded my website on Azure portal. I built my website with Zend Framework 1.12.
    My problem comes when i am trying to link my website with my SQL database.
    I have already post a question to Stackoverflow stackoverflow.com/questions/20638706/link-zend-framework-1-12-on-azure-with-a-database-on-azure
    Can anyone help me to running over with this problem?
    Thanks in advance!

    I have already tried this, but i received error and my website doesn't load!
    This is my whole cone in application.ini file
    [production]
    phpSettings.display_startup_errors = 1
    phpSettings.display_errors = 1
    includePaths.library = APPLICATION_PATH "/../library"
    bootstrap.path = APPLICATION_PATH "/Bootstrap.php"
    bootstrap.class = "Bootstrap"
    appnamespace = "Application"
    resources.frontController.controllerDirectory = APPLICATION_PATH "/controllers"
    resources.frontController.params.displayExceptions = 1
    resources.view.encoding = "UTF-8"
    resources.view.doctype = "XHTML1_STRICT"
    resources.view.contentType = "text/html;charset=utf-8"
    resources.view[] = ""
    autoloaderNamespaces[] = "Skoch_"
    resources.db.adapter="pdo_mysql"
    resources.db.params.host="Server_Name.database.windows.net"
    resources.db.params.port=1433
    resources.db.params.username="login_name"
    resources.db.params.password="password"
    resources.db.params.dbname="Database_name"
    resources.db.isDefaultTableAdapter=
    true
    resources.layout.layoutPath = APPLICATION_PATH "/layouts/scripts/"
    [staging : production]
    resources.frontController.params.displayExceptions = 1
    [testing : production]
    phpSettings.display_startup_errors = 1
    phpSettings.display_errors = 1
    resources.frontController.params.displayExceptions = 1
    [development : production]
    phpSettings.display_startup_errors = 1
    phpSettings.display_errors = 1
    resources.frontController.params.displayExceptions = 1

  • Deploying SQL Database to azure fails with VSO

    Hi, I'm trying to publish my Sql project along with my website using Visual Studio Online Build.
    VSO use the pubxml that contains the location of the created dacpac -
    <Object Type="DbDacFx">
                <Source Path=location on the build machine dacpac Action="Deploy" />
    </Object>
    The Database deployment is not working and I don't see any errors.
    Can I make the deployment process more verbose so I can recognize the problem?
    The deployment is working if I publish from Visual Studio 2013 locally to azure.
    I've tried to open the IP's between the build machine and the SQL instance in azure.
    Thanks

    Hi
    Shacharl,
    As the issue is more related to  Visual Studio Online (VSO), for quick and accurate answer, I would like to recommend you post the question in the Visual Studio Online
     forum at
    https://social.msdn.microsoft.com/Forums/vstudio/en-US/home?forum=TFService .
    You can also check the following similar articles about deployment to Azure via VSO.
    Deployment to Azure from VS 2012 Via VSO
    https://pasp65.wordpress.com/2014/01/10/deployment-to-azure-from-vs-2012-via-tfs/
    Continuous delivery to Azure using Visual Studio Online
    http://azure.microsoft.com/en-us/documentation/articles/cloud-services-continuous-delivery-use-vso/
    Thanks,
    Lydia Zhang
    If you have any feedback on our support, please click
    here.
    Lydia Zhang
    TechNet Community Support

  • Cant access My SQL Database on Azure VM from outside source

    I have Word Press running on an Azure Virtual Machine. It uses My SQL. I would like to read the My SQL databasre from an ASP.Net application.  I have opened the 3306 internal TCP port.  I am attempting to read the My SQL database from Navicat on
    my client before I try ASP.Net and I get a Cant connect message. i can access the same database successfully from a local server copy of Navicat.  The credentials are the same on both. The only difference is the external port number.
    Is the problem with Navicat? Can you recommend another way to test the connection? I have used Shields Up to verify that the external port is open.

    Hi,
    The Azure SQL Database
    service is only available with TCP port 1433. To access Azure SQL Database from your computer, ensure that your firewall allows outgoing TCP communication on TCP port 1433.
    More information:
    http://msdn.microsoft.com/en-us/library/azure/ee621781.aspx
    Regards,
    Mekh.

  • Unable to create SQL database in Azure

    Hi, 
    I have an Azure free trial account. However, it doesn't allow me to create a Basic tier SQL database on the management portal, but shows an error saying 'the operation is not supported for your subscription offer type'. My free trial only started today.
    Could you please tell me how I can resolve this issue. Thank you.  

    Hi tinkertest,
    Based on my research, the error you saw should only occur for a subscription used with a free trial offer type. Please use the below link to open a support ticket.
    http://azure.microsoft.com/en-us/support/options/
    You can check the following links for similar issues.
    The operation is not supported for your subscription offer type
    Can't change performance level S1 to S2.
    "The operation is not supported for your subscription offer type."
    Thanks,
    Lydia Zhang

  • Troubles Exporting SQL databases from Azure

    1. If I connect via SQL Server Management Studio and choose Export Data Tier Application to local disk, it never ends
    2. If I export via Azure web portal, it takes few hours
    3. The only way that works is using  SQL Server Management Studio and exporting to Azure container and then downloading it and importing via SQL Server Management Studio, seems like a lot of hassle
    I need Azure SQL database to be transferred daily to my local machine, preferably automatically. How can I do it?

    Hi Alex,
    Since the issue regards Windows Azure SQL Database, I will help you move the question to the related forums, It is appropriate and more experts will assist you.
    As Olaf’s post, if you want to migrate databases between the SQL Server Database Engine and Windows Azure SQL Database, you can use the Windows Azure SQL Database Import and Export operations to copy databases between two different SQL Database servers.
     In addition, you can also use the Windows Azure SQL Database copy database feature to make a consistent copy of a database, and perform the export from the copy. For more information, see
    Copying Databases in Windows Azure SQL Database. And you also can migrate a database by using the generate scripts wizard. For more information, see:
    How to: Migrate a Database by Using the Generate Scripts Wizard (Windows Azure SQL Database)
    According to your description, you want to migrate database daily and automatically, you can configure automated exports to schedule export operations for a SQL database, and to specify the frequency of export operations, and to set the retention period
    to store export files. Also you can set data sync between SQL Server and Windows Azure SQL database, configure bi-directional for database. For more information, see:
    Windows Azure SQL Data Sync.
    Regards,
    Sofiya Li
    Sofiya Li
    TechNet Community Support

  • I need to host a website with a SQL database - Azure pricing details are too confusing

    Hello,
    I need to give a potential client a hosting price for a somewhat simple web application they want me to build. I told them it shouldn't be a problem. After gathering the requirements, I figured I would use the following technology to build and host
    it:
    ASP.NET 4.5
    MVC 5
    1 SQL Database ~ 25GB with options to expand and also with a backup
    SSL certificate needed
    Hosting would be on Azure because I have some experience using Visual Studio 2012 and integrating the Visual Studio Online (TFS) source code and scrum web applications. I've never actually spun up a website with a SQL database using Azure before, but I
    imagined it wasn't too difficult to find a general hosting plan to support the above requirements.
    The use of the website will be very simple and limited to the basic CRUD operations. Will support forms authentication using the Identity 2.0 framework. The web applications main purpose is to fill out a form for new accounts, have a search page for
    those accounts, a page to view a created account and add notes to it. So performance wise, it isn't asking for much. I just want it to be fast and secure.
    So I start looking on the Azure's pricing landing page which is here: (can't put links in here, but search Azure pricing on Bing) and I see this Pricing Calculator, so I click it
    First thing I notice is the Websites tab doesn't mention SQL Database - in fact the Data Management is a separate tab from Websites. And if I made my selections on the Websites tab, the estimated monthly price doesn't stay the same when I go to the Data
    Management tab - so I get the illusion I have to have two separate purchases.
    I'm not exactly sure if the Pay as You Go billing feature would be okay because it's just a bit scary to leave every monthly payment up to chance; somewhat. Would love to know if there is other payment options that I could see for what I described above.
    I want to use Azure to host my asp.net website - it makes sense and the integration with Visual Studio is amazing. I love the publish feature for both MVC 5 Projects and SQL Database Projects.
    Thanks in advance for the help!

    Hello jdevanderson,
    I suggest that you start by looking at the pricing TIERS for the Azure website. This link will give you clarity on different Service TIERS that are availaible:
    http://azure.microsoft.com/en-in/pricing/details/websites/
    You can guage your requirement and choose the Service TIER accordingly.
    And regarding the database, you are right about it. You will be charged seperately for the database. You can refer to this link that will give you clarity on SQL database pricing:
    http://azure.microsoft.com/en-in/pricing/details/sql-database/
    Refer to this link for more information on 'How pricing works':
    http://azure.microsoft.com/en-in/pricing/
    Use the full calculator to add your website and the database to get an estimated cost:
    http://azure.microsoft.com/en-in/pricing/calculator/?scenario=full
    Thanks,
    Syed Irfan Hussain

  • 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.

  • 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

  • Using SQL permissions in Azure

    I am trying to use sql security in Azure and my first attempt doesn't work because the ALTER ROLE statement doesn't seem to be supported.  I'm interested in whether I can use sql security in Azure, and if so how.
    My current approach, which works in SQL Server 2012, is to create roles and add users to those roles, e.g.
    1. CREATE USER [xxx] FOR LOGIN [Azurexxx] WITH DEFAULT_SCHEMA=[dbo]
    2. CREATE ROLE [AttendeeNoPayUpdate]
    3. DENY UPDATE ON OBJECT::dbo.Attendees(HasPaid) TO [AttendeeNoPayUpdate]
    4. ALTER ROLE [AttendeeNoPayUpdate] ADD MEMBER [xxx]
    The first three statements work, but the ALTER ROLE does not, with the error 'Statement 'ADD/DROP ROLE MEMBER' is not supported in this version of SQL Server.'
    My question is - how should I set up sql security on an Azure database? Clearly roles are supported, otherwise statements 2 and 3 wouldn't work, so can I use them with Users? Obviously the alternative is to stop using roles and assign  the GRANT/DENY
    directly to the user, which looks like it works.(I use roles because I have the same permissions applied to lots of users).
    I would appreciate any suggestions or insights on the best/correct way to set up GRANT/DENY permissions for users.
    Jon Smith

    Hi,
    I found the answer after trawling a lot of sites. I found the page
    Managing Databases and Logins in Azure SQL Database and Azure uses the stored procedure 'sp_addrolemember'. Once I swapped to that then everything worked.
    In case someone else finds this useful I have listed the same code as in the question, but with the right command to add the role.
    1. CREATE USER [xxx] FOR LOGIN [Azurexxx] WITH DEFAULT_SCHEMA=[dbo]
    2. CREATE ROLE [AttendeeNoPayUpdate]
    3. DENY UPDATE ON OBJECT::dbo.Attendees(HasPaid) TO [AttendeeNoPayUpdate]
    4. EXEC sp_addrolemember 'AttendeeNoPayUpdate', 'xxx'
    Jon Smith

  • Interface to another database

    Hi Gurus,
    does anyone know if it is possible to pull data out of SAP directly into any other SQL-based database?
    I know of course that you can write files in ABAP which can interact as an interface, but I do not know about an interface to SQL-databases.
    We are using release 4.6c.
    Thanks for any help.
    Markus

    Hi markus,
    1. for this u will also require help of basis team.
    2. these are the steps.
    a) make an entry in DBCON
    b) make connection string
    (on the physical application server,
    so that it can connect to secondary database)
    (this will be done by basis team,
    in which, they will specify the
    IP address of the secondary database server,
    the DATABASE ID, and the port number)
    c) then using open sql / native sql,
    we can use the secondary database connection,
    just like normal.
    d) if we use open sql,
    then there must be Y/Z table on
    sap as well as secondary database,
    and the field names , their type all should be identical.
    regards,
    amit m.

  • Running Azure SQL database and reporting services native mode?

    I would like to stand-up a remote Azure SQL Server to do Master Data Services (MDS) and SSRS in native mode. Can this be done from one Azure SQL Server instance?
    William H. Neville Jr.

    Hello,
    Master Data Services (MDS)not supported by Microsoft Azure SQL Database.
    In order to meet your requirement, you can try to create a SQL Server virtual machine in Azure, it similar to on-premises SQL Server installed on VM. It also install the SSRS and you can try to configure the SSRS in native mode.
    To run Master Data Services in a virtual machine in Azure, you should also install the Web Server (Internet Information Services) and Silverlight, and also configure Master Data Services by using Master Data Services Configuration Tool (MDSConfigTool.exe).
    Reference:
    Reporting Services Native Mode Configuration
    Getting Started with SQL Server in Azure Virtual Machines
    Regards,
    Fanny Liu
    If you have any feedback on our support, please click here. 
    Fanny Liu
    TechNet Community Support

  • 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.

  • 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.

  • Contained Database Users are now available in Azure SQL Database Update preview

    Contained Database Users should be of particular help for people migrating to Azure SQL Database. At the moment, this is a preview release but you can start testing. Here is the announcement of the
    preview with links to more information.
    New SQL Database public preview with new Standard-tier performance level
    Previously announced in November 2014 and now available for customers to try, the
    new
    public preview of SQL Database improves the compatibility of SQL Server applications for Azure SQL Database. Details of this preview are available on the
    SQL
    Database documentation webpage, including the following key enhancements: easier management of large databases to support heavier workloads with parallel queries
    and online indexing, support for programmability functions like CLR and XML index to support more robust application design, improved monitoring and troubleshooting with XEvents and 100 new Dynamic Management Views (DMV), and more performance in the Premium
    tier.
    To try this preview, please sign up via the Preview
    features webpage. Only SQL Database servers with a mix of one or more Basic, Standard, or Premium (not Web or Business) databases are compatible and eligible to
    upgrade to the preview. Please note that any move of an existing Basic, Standard, or Premium database into this preview is irreversible; we recommend that you create a database copy or leverage test databases on any server enrolled in this preview.
    A new Standard-tier performance level, S3, is also available in this preview which gives you more pricing flexibility between Standard and Premium. S3 will deliver 100 Database Throughput Units (DTU) and all the features available in the Standard tier. Please
    note that S3 will appear on your bill as a multiple of S2 until further notice.
    For more information, please visit the SQL
    Database webpage and the
    Microsoft
    Azure Blog. For a comprehensive look at pricing, please visit the
    SQL
    Database pricing webpage.
    Rick Byham, Microsoft, SQL Server Books Online, Implies no warranty

    Hello Rick
    That is great, one thing I'd like to ask, does it support SSMS,SSDT?
    No sign of that yet, that I’ve seen.....
    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

Maybe you are looking for