提出问题提出问题
 

已答复How to connect to SDS?

  • 2009年6月16日 6:28dk1027 用户奖牌用户奖牌用户奖牌用户奖牌用户奖牌
     包含代码
    Hi,
    I registered for SQL Services at http://portal.ex.azure.microsoft.com/ and I created a new solution. My question is, how do I connect?
    I find a code example at http://blogs.msdn.com/jcurrier/archive/2009/03/29/sds-coding-examples-part-1-c-ado-net.aspx
    and it got code like these:
                connStringBuilder.DataSource = "myserver.data.dev.mscds.com
    "; // Specify the DNS name of my SDS server (which holds my master db).
    
    connStringBuilder.InitialCatalog = "mydatabase "; // Specify your user database to connect to.
    ...
    connStringBuilder.UserID = "jeff@myserver "; // Specify my user id (and the server name which holds my master db)
    connStringBuilder.Password = "**** "; // Finally, specify my password.
    Where do I find out the data source, initial catalog, etc?

    Thanks,
    dk

答案

全部回复

  • 2009年6月16日 7:36Kapil Muni Gupta 用户奖牌用户奖牌用户奖牌用户奖牌用户奖牌
     已答复
    Hi dk,

    you need give solution name as username and for password,  solution password.

    Regards
    Kapil
    • 已标记为答案dk1027 2009年6月16日 18:47
    •  
  • 2009年6月16日 15:14Aaron Stanley King 用户奖牌用户奖牌用户奖牌用户奖牌用户奖牌
     已答复
    https://accesscontrol.ex.azure.microsoft.com/ManageAccount.aspx is where you manage your solution credentials.
    Aaron Stanley King - Microsoft Consultant - Perpetual Technologies, Inc. - http://www.perptech.com
  • 2009年6月16日 18:39dk1027 用户奖牌用户奖牌用户奖牌用户奖牌用户奖牌
     
    Hello,
    Thank you for your kind replies.
    I have more questions: what do I put for data source and initial catalog? I tried to put "myserver.data.dev.mscds.com" and "https://data.database.windows.net/v1/" as the data source but neither worked. For initial catalog I tried to leave it blank.
    Thanks,
    dk
  • 2009年6月16日 18:45Aaron Stanley King 用户奖牌用户奖牌用户奖牌用户奖牌用户奖牌
     已答复
    As far as I know the SQL logins haven't been turned on.  You still have to use the REST connection and query it like you would Astoria via the web service.  That is probably the issue.  SDS is still in V1.  V2 is due out any time now.
    Aaron Stanley King - Microsoft Consultant - Perpetual Technologies, Inc. - http://www.perptech.com
    • 已标记为答案dk1027 2009年6月16日 18:46
    •