Windows Azure Mobile Services - Sql Server - prebuilt columns

am I correct in assuming that tables for WAMS need to be created in the Azure management portal and have some columns precreated.  Once the table is created:
is it ok to modify the columns in Visual Studio once the table has been created?
Can i just create the necessary items on my own or do I need to go through the management portal all the time?
How do i handle foreign keys and such between two tables?
Wally
MVP in ASP.NET - ASPInsider - Author - Otherwise I am a loser.

hi Wally,
Thanks for posting!
>>is it ok to modify the columns in Visual Studio once the table has been created?
yes, we could modify our sql database data on the latest version (Azure SDK 2.2 ). You could use VS 2013 and install SDK2.2 to view the data. At the same time, you will
click Add Firewall Rule and a new rule will be automatically added for you.
Please see the blog about this question (http://weblogs.asp.net/scottgu/archive/2013/10/22/windows-azure-announcing-release-of-windows-azure-sdk-2-2-with-lots-of-goodies.aspx
>>Can i just create the necessary items on my own or do I need to go through the management portal all the time?
The answer is yes . If you want to manage your SQL database by azure portal, you could find your database form
"SQL Azure", and click the "Manage" to manage your DB. Like this image:
>>How do i handle foreign keys and such between two tables?
you could handle foreign such as using SQL. Refer to this page (http://stackoverflow.com/questions/48772/how-do-i-create-a-foreign-key-in-sql-server
Hope it helps.
Regards,
Will
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.

Similar Messages

  • How to upload image in windows azure mobile service from android?

    I am new in android I am using windows azure mobile service and I am Inserting Text data successfully but now I want to Upload Image in windows azure mobile service. I know its is possible by Azure Storage I have seen this chrisrisner post but
    its confusing can anyone tell me simple step by step process to save image in windows azure mobile service.
    I will be Very Grateful for you. its very urgent

    Hello Nitesh,
    Saving an image into Azure Mobile Services doesn't scale very well and it's not recommended. It's recommended to use Azure Blob Storage for blob storage. It's cheaper and can store larger files.
    You can definitely use both Azure Mobile Services and Blob Storage together by saving the name of the image in your Mobile Services table and storing the actual file in the Blob storage. This way when you need to retrieve the actual image, you would retrieve
    it by it's name from Blob storage.
    Here's a MSDN article that explains how to use
    Azure Blob Storage.
    Let me know if this helps.
    Abdulwahab Suleiman

  • Offline data synchronization in azure mobile services on windows server 2008

    Hi,
    I have a class library which insert data into tables in azure mobile services on windows server 2008 OS for windows universal C# platform. I am trying to insert data using offline data synchronization.
    I had installed SQLite runtime for windows 8.1 and windows phone 8.1, but unable to add reference 'SQLite for Windows Runtime(Windows8.1)'.
    Please guide me whether windows server 2008 OS supports offline data synchronization in azure mobile services.
    Thank you.

    I also have a Windows Server 2012 R2 system using Azure Backup, and I don't have the problem. However, you probably noticed that you use a different Azure Backup installation download for Windows Server 2008 R2 vs. Windows Server 2012 R2. Although both
    show the same Microsoft Azure Recovery Services Agent version 2.0.8692.0 installed, my Windows Server 2012 R2 also lists Microsoft Azure Backup for Windows Server Essentials version 6.2.9805.9 installed as well. It could be the case the my problem with the
    CATALOG FAILURE 0x80131500 errors is something specific to the version of Azure Backup installed on my Windows 2008 R2 servers.
    Trilon, Inc.

  • How do I send a raw (push) notification from the server side using an Azure mobile service?

    Hi there!
    Currently I'm able to send toast notifications to my user from my Azure mobile service using the following line of code in one of my server side scripts:
    push.wns.send(opponent_id, payload, 'wns/toast', {
    success: function(pushResponse) {
    console.log("Sent push:", pushResponse);
    request.respond(statusCodes.OK, {});
    error: function(pushResponse) {
    console.log("Error Sending push:", pushResponse);
    request.respond(500, { error: pushResponse });
    But I would like to send a raw notification to my user now, not a toast notification. I've set up a background tasks which runs as soon as a raw notification arrives(I've tested this through the diagnose option of my mobileservicehub and it works).
    I want to send a raw notification now from the server side and I'm kind off lost on how to do that. I've looked for it but can't seem to find an answer to that question, I might be looking for the wrong stuff though.
    I'm looking for a solution that looks the same as the one for a toast notification(as demonstrated in the code above).
    Your help would be greatly appreciated!
    Thanks in advance!
    Jan

    I found the solution to this it was in fact really really easy, I should have read the documentation more properly since it clearly said that the payload for raw notifications could be literally anything but the client has to take care of it.
    So I figured that out!

  • Missing "Windows Service - SQL Server Analysis Services"

    Hi
    In my SharePoint 2013 Central Administration (this is a Project Server 2013 deployment), I got an alert for this error:
    PowerPivot: MidTier process account should have 'Full Read' permission on all associated SPWebApplications. 
    After reading
    this thread, I assumed I have the 2 accounts configured the wrong way, so I check
    this article to see how to change the accounts, but on the section
    "Change the account under which each service runs" it says to select
    "Windows Service - SQL Server Analysis Services", which I can't find like as you can see in the screenshot below. How can I solve this? I'm new to this all, so if you could simplify the explanation I would be thankful, if not, I'll
    just work on it anyway. :) Thanks!

    Hi ,
    In the process of configuring PowerPivot for SharePoint 2010, automatically select the Analysis Services for SharePoint Integration feature. After configuring PowerPivot for SharePoint 2010, we can see
    SQL Server Analysis Services and SQL Server PowerPivot System Service are started on manage services on server. So you can verify whether analysis service is installed for SharePoint on manage
    services on server.
    More information, please refer to the links:
    http://sharepointgeorge.com/2012/installing-sql-server-powerpivot-sharepointstep-step-guide/
    http://technet.microsoft.com/en-us/library/855bd055-5ad3-493f-9c5b-1f5297b2e6e2(v=sql.110)
    As Trevor said, for this issue, you can ignore it. Anyway, you can also check the link:
    http://whitepages.unlimitedviz.com/2012/06/the-health-analyzer-and-powerpivot-for-sharepoint/
    I hope this helps.
    Thanks,
    Wendy
    Wendy Li
    TechNet Community Support

  • Using Windows Azure File Service for Symbols Server

    Hi,
    I am trying to understand how to use the Windows Azure File Service (http://blogs.msdn.com/b/windowsazurestorage/archive/2014/05/12/introducing-microsoft-azure-file-service.aspx) for a Symbols Service.  I have not been able to find any documentation
    to help guide me with this specifically.  Most of the guides I have found discuss creating a VM and File Server in Azure.
    Thanks!

    Hi,
    Azure Files can only be used from an Azure VM within the same region as the storage account.
    it will work when setup a symbol server for azure VMs, if you trying to setup a symbol server for external client machines then this won’t work.
    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.

  • Azure Mobile Services

    First of all thank you responding.
    I am about to create a windows app within which the user enters the email id  for confirmation. I would like to store the email id in the cloud. How to create a sql database in Azure. i have a trial subscription and my region is India. Also I need to
    create a mobile service. It says that the service is disabled in the free trial subscription. But in some sites they say in the free trial I can get 10 Mobile services for free. Plz help me through this....

    The free trial subscriptions are mainly geared towards development. So since your free service shows up as disabled, it means you have exceeded one of the quota limits on a free subscription. You would need to upgrade to a paid subscription to continue
    utilizing your service.
    With regards to creating the SQL Database in Azure, Azure mobile services makes this very simple. Here's a good start regarding
    Azure Mobile services.
    Abdulwahab Suleiman

  • "No databases are selected to publish" when trying to publish Azure Mobile Services

    Hi, all. I had no idea what started the problem. I even tried deleting the service and DB to start from fresh with just the starter project Todoitem. And I can see the DB under my Azure mobile services > configure > SQL server and SQL Databases. 
    This seems to be a common problem that people run into when I searched on Google or Bing. But interestingly the social MSDN post returned from both will bring me only to the social main forum instead of the forum post...

    No one else having this problem? This just happened on another developer that is contributing to the same repo. Again, I am able to publish just fine. It looks like the publish wizard really have some problem but I can't tell where that information is
    cached.

  • Integrating a PHP Web App with an Existing Azure Mobile Services and Mobile App

    I've got an existing mobile app that is integrated with Azure's mobile services. The mobile services are currently connected to Azure Active Directory with MFA enabled. I'd like to build a separate PHP-based web application (Azure VM) that uses this existing
    mobile service and authentication.
    I reviewed the Azure PHP SDK, but didn't see any tie-ins to the Mobile Service. Additionally, Azure has some great tutorials, but for mobile services they all seem to focus on iOS, Android, and Windows phone. Any insight into how to tie a PHP-app into this
    backend would be much appreciated!

    Although there isn't any client library for PHP, you can still access Mobile Service using the
    Azure Mobile Service REST API.
    Abdulwahab Suleiman

  • "BCP Commit Failed" New Install On Windows 2008 R2 with SQL Server 2008 R2

    I am installing a new Netweaver install on a virtual machine loaded with Windows 2008 R2 and SQL Server 2008 R2. The install gets to the "Import ABAP" phase and just hangs. SAPINST says it is still running, but there is no activity to suggest there is anything going on. There are no errors in the main logs, but after digging a little I did find these errors in the SAPSDIC.log file.
    (IMP) INFO: EndFastLoad failed with <2: BCP commit failed:[Microsoft][SQL Server Native Client 10.0][SQL Server]Violation of PRIMARY KEY constraint 'BADI_CHAR_COND~0'.>
    (IMP) ERROR: EndFastload: rc = 2
    (DB) INFO: BADI_FILTER created
    (DB) INFO: BADI_FILTER~0 created
    (IMP) INFO: EndFastLoad failed with <2: BCP commit failed:[Microsoft][SQL Server Native Client 10.0][SQL Server]Violation of PRIMARY KEY constraint 'BADI_FILTER~0'. Ca>
    (IMP) ERROR: EndFastload: rc = 2
    (DB) INFO: BADI_IMPL created
    (DB) INFO: BADI_IMPL~0 created
    (IMP) INFO: EndFastLoad failed with <2: BCP commit failed:[Microsoft][SQL Server Native Client 10.0][SQL Server]Violation of PRIMARY KEY constraint 'BADI_IMPL~0'. Cann>
    (IMP) ERROR: EndFastload: rc = 2
    Anyone have any ideas as to what might be going on? I can't find anyone with this exact same error. And this is our first attempt at installing a system with Windows 2008 R2 and SQL Server 2008 R2. All of our other Windows SAP systems are on Windows 2003 and SQL Server 2005 and we're in the process of upgrading - this being the first system.
    Thanks in advance,
    Michael

    Set BCP_LOB=1 in your system environment
    Note 1156361 - R3load: Fastload doesn't support LOB-columns
    Markus

  • Cannot connect to Azure Mobile Services as DataSource

    I've created an Azure Mobile Service which is using .NET backend.
    Project Siena isn't able to connect or work against this kind of data source.
    Error message is
    An error occurred connecting to Azure Mobile Service
    I have also tried to create zz_config support table, and implement a custom TableController for serving the URI
    tables/zz_config but I could only got few steps further, still without the possibility to read and use the model exposed by Mobile Services
    This behavior has been reproduced with both Beta 2 and Beta 3
    P.S. Adding the AMS as REST data source makes possible to import and use the model exposed. The operation of association in this case must be done per-table in Siena
    Wheb can we expect Siena to work well together with the new version of Azure Mobile Services?
    Massimo Prota
    .NET MCAD - SP2007 MCTS - SP2010 MCPD and MCITP
    My blog: http://blogs.ugidotnet.org/mprota - Twitter:
    @massimoprota

    Yes, that article is indeed precise and updated. I followed all steps described properly, especially for the part about setting up the database structure, and create
    zz_config table (second post of the series)
    I can connect to AMS (JS Backend) with Siena, but tables' names aren't showing up correctly, but display as
    undefined, and from there on doesn't work properly.
    JSON object returned from GET /tables/zz_config?$filter=(Key%20eq%20'table') 
    "id": "ccb9c9a8-9bae-41c8-87aa-277e2e0d1379",
    "key": "table",
    "value": "users"
    I do confirm I have the same (incorrect) behavior using a .NET Backend where I set up
    zz_config table and create a TableController mapped with it; with route
    tables/zz_config
    I confirm also I had the same behavior this morning with Beta 2, before I installed Beta 3.
    P.S. The error message reported in my first post is returned only when the table
    zz_config isn't setup correctly on AMS
    Massimo Prota
    .NET MCAD - SP2007 MCTS - SP2010 MCPD and MCITP
    My blog: http://blogs.ugidotnet.org/mprota - Twitter:
    @massimoprota

  • How to modify stored procedures in SQL Azure database in SQL server express 2012

    Hi,
    I want to modify stored procedures in SQL Azure database in SQL Server Express 2012. But when right click on the stored procedure in Object Explorer, there is no option "Modify" as for SQL Server database. I wonder how to modify stored procedures in SQL
    Azure database in SQL Server Express 2012. Thanks.
    York

    Hi,
    Not sure whay there is no modify..
    As a workaround can you try this and see if you can modify proc..
    Script Procedure As-> Alter To->New query window..
    - Chintak (My Blog)

  • Error when calling Get-AzureBiztalkService from Windows Azure BizTalk Services Management Sample

    I've downloaded and built the Windows Azure BizTalk Services Management Sample from
    https://code.msdn.microsoft.com/windowsazure/Windows-Azure-BizTalk-91e1bdf3
    I've imported the module into PowerShell and have run the following script successfully
    $sub = '<subscription id>'
    $cert = get-childitem -path cert:\CurrentUser\My\<certifcate thumbprint>
    Set-AzureSubscription -SubscriptionName "Test" -SubscriptionId $sub -Certificate $cert
    select-azuresubscription -SubscriptionName "Test"
    replacing <subscription id> with my Azure subscription id from the portal and <certifcate thumbprint> with a thumbprint from a self signed certificate in my personal store.
    am now trying the following command
    get-azurebiztalkservice -resourcename "oraman8"
    where "oraman8" is my BizTalk Service and getting the following
    Get-AzureBizTalkServiceProperties : Error in subscription or certificate.
    At line:1 char:1
    + Get-AzureBizTalkServiceProperties -ResourceName "oraman8"
    + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        + CategoryInfo          : InvalidData: (:) [Get-AzureBizTalkServiceProperties], Exception
        + FullyQualifiedErrorId : Microsoft.WindowsAzure.Management.BizTalkService.GetAzureBizTalkServiceProperties
    thanks in advance for any help
    Omar

    Are you not using port 1433 for SQL? Is the telnet successful on that port?

  • How to get JDev 10.1.2/ADF working with MS SQL Server Identity Column

    Hello JDevTeam & JDevelopers,
    I want to use JDev/ADF with a MS SQL Server 2005 database that contains tables employing IDENTITY Columns.
    Using JDev/ADF and DBSequence with an Oracle database employing before triggers/sequences accomplishes what I am trying to do except I want to accomplish the same thing using a MSSQL Server 2005 database. Unfortunately I cannot change the database.
    I have been able to select records but I am unable to insert records (due to my lack of knowledge) when using MS/SQL Server Identity Columns with JDev/ADF.
    The following are the steps taken thus far.
    Step1: Create table named test in the 2005 MSSQL Server (see script below).
    Step2: Register 3rd Party JDBC Driver with JDeveloper; Using use Tools/Manage Libraries. Create a new entry in User Libraries with the following;
         Library Name     = Ms2005Jdbc
         Class Path     = C:\dev\Ms2005Jdbc\sqljdbc_1.0\enu\sqljdbc.jar
         (note: Latest TYPE 4 JDBC driver for Microsoft SQL Server 2005 - free at http://msdn.microsoft.com/data/ref/jdbc/)
    Step3:Create New Database Connection;
         Connection Name = testconn1
         Type = Third Party JDBC Driver
         Authentication Username = sa, Password = password, Check Deploy Password
         Connection
              Driver Class = com.microsoft.sqlserver.jdbc.SQLServerDriver     
              Library = Ms2005Jdbc     
              Classpath = C:\dev\Ms2005Jdbc\sqljdbc_1.0\enu
              URL = jdbc:sqlserver://192.168.1.151:1433;instanceName=sqlexpress;databaseName=test
         Test Connection = Success!
    Step5: Create a new application workspace using Web Application default template
    Step6: In Model project, Create new Business Components Diagram.
    Step7: Create new Entity Object. Goto to connections/testconn1, open tables and drag table test onto the diagram.
    Step8: Generate Default Data Model Components by right-clicking on Entity Object. Except all the defaults.
    When I test the Appmodule I select the view object and can scroll through all the records without error. If I try to insert a record, I get JBO-27014: Attribute testid in test is required.
    Going back to the EntityObject I deselect the Mandatory attribute and re-run the test. Now when I try to insert it accepts the value for testname but it does not update the PK testid like it would using an "JDev/ADF/DBSequence/Oracle database/before trigger/sequence" solution.
    Going back to the EntityObject and selecting refresh on insert does not solve this problem either. Changing the URL connection string and adding "SelectMethod=cursor" did not help and changing the SQl Flavor to SQLServer produced errors in the Business Components Browser. I've tried overriding isAttributeChanged() and other things as well.
    I am totally stuck! Can anyone provide a solution?
    Thanks for you help,
    BG...
    Create table named test
    use [testdb]
    go
    set ansi_nulls on
    go
    set quoted_identifier on
    go
    create table [test](
         [testid] [int] identity(0,1) not null,
         [testname] [nvarchar](50) collate sql_latin1_general_cp1_ci_as not null,
    constraint [pk_test] primary key nonclustered
         [testid] asc
    )with (pad_index = off, ignore_dup_key = off) on [primary]
    ) on [primary]

    Figured it out!
    When using the MS SQL Server 2000 Database with the MS JDBC 2000 Driver you specify the SQL Flavor to SQLServer. However setting the SQL Flavor to SQLServer with MS SQL Server 2005 Database and the MS JDBC 2005 Driver will *** fail ***.
    When working with the MS SQL Server 2005 Database and the MS JDBC 2005 Driver you set the SQL Flavor to SQL92 and the Type Map to Java.
    If using a named instance like I am you would specify the URL = jdbc:sqlserver://<db host ip address>:<listening port>;instanceName=<your instance name>;selectMethod=cursor;databaseName=<your database name> (note: leave out the < >)
    The 2005 Driver Class is different then the 2000 and is specified as com.microsoft.sqlserver.jdbc.SQLServerDriver
    Note: In a default MS SQL Server 2005 installation the listening port will change *** everytime *** the host is restarted! You can override this though.
    For the primary key you need to deselect the Mandatory attribute in the EntityObject editor.
    Set Refresh on insert/update = no.
    Set Updateable = never.
    Now my Primary Keys which get their values from the Identity Column are working with ADF in a predictable way.
    Simple enough but I have been away from this stuff for awhile.
    BG...

  • "Failed to debug the Windows Azure Cloud Service project. The Output directory .... does not exist" - Looking for Solution Config Name Folder?

    Good evening,
    I've been working on and with a VS2013 Update 2 / Azure SDK 2.3 Cloud Service project for a while now and never had a problem debugging it (setting the .ccproj Project as Startup Project) but at the moment I cannot Debug it anymore - I always get the following
    error message:
    Failed to debug the Windows Azure Cloud Service project.  The output directory 'D:\Workspace\Development\Sources\AzureBackend\csx\Backend - Debug' does not exist.
    Now what's odd here, is the last part - the "Backend - Debug" is the Solution configuration name, ALL projects in that particular solution configuration are set to the Debug Configuration. The .ccproj file also only specifies Debug|Any CPU (and
    Release|Any CPU respectively) as its output folder(s). Why is the Solution config appearing up there?
    And more importantly.. why is this happening and what can I do?!
    Thanks,
    -Jörg
    Ps: there seems to be a related
    connect bug and these sorts of issues do appear around the forums but none contains a solution (neither reinstalling the Azure SDK nor cloaking the workspace/re-retrieving & building everything worked).

    Good morning Jambor,
    I already tried de-installing everything Azure-Tooling related including the Azure SDK, Restarting my machine and re-installing the SDK.
    Same result. I can build the .ccproj perfectly fine and the cspack file IS generated perfectly fine, only debugging does not work and there's NO information in the VS output window (again - all projects succeed to build).
    I tried explicitely running VS as Administrator, no change. I removed all IIS Express sites (as the ccproj has one web worker role), remapped my local TFS workspace.. nothing helped.
    As building works, deploying to Azure Cloud Service (manually and via Publish inside VS) all works -perfectly-, I am pretty sure this IS a bug and I'd LOVE to help to get this fixed. As I said, currently I cannot debug and/or run & test my work, hence
    I cannot do ANY work.

Maybe you are looking for

  • Two separate text areas for typing in two languages on the same page

    Dear All, I am trying to find a way to have two separate typing areas on a single page so that I can write a letter in both French and English. I can easily get two columns, one which follows another, but that is not what I want. Any help would be gr

  • Problems with skype credit

    Greatings,  I recently tried to buy skype credits with a credit card but it failed several times. I am sure that the amount on the card is enough for my purchase and also the information I'm sending is correct. There must be something else.   I am fr

  • CSS text in columns

    I want to set up some text in 3 CSS columns so that it flows across the columns. I blieve this can be done, as I saw a description of it on a W3C forum but I didn't understand it! I need a 'columns for Dummies' version?! Thanks Stephen

  • HT1918 Debit card using purchase in appstore

    can I use debit card to purchase an application in itunes store?? why they ask to contact itunes supports to slove the problem

  • 3D in photoshop CS4 and maybe in CS3

    Can someone tell me why i cannot use 3D menu? Can someone tell me easy tutorial how to make simpl 3D post card? what should i do to make 3D menu works. Check this out! --- http://img2.imgup.eu/3D_in_photoshop.jpg --- Thats my problem :/