Microsoft Developer Network >
Forums Home
>
Azure Forums
>
SQL Azure — Getting Started
>
How to connect to SDS?
How to connect to SDS?
- 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).Where do I find out the data source, initial catalog, etc?
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.
Thanks,
dk
Answers
- Hi dk,
you need give solution name as username and for password, solution password.
Regards
Kapil- Marked As Answer bydk1027 Tuesday, June 16, 2009 6:47 PM
- 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- Marked As Answer bydk1027 Tuesday, June 16, 2009 6:47 PM
- Proposed As Answer byAaron Stanley King Tuesday, June 16, 2009 3:14 PM
- 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- Marked As Answer bydk1027 Tuesday, June 16, 2009 6:46 PM
All Replies
- Hi dk,
you need give solution name as username and for password, solution password.
Regards
Kapil- Marked As Answer bydk1027 Tuesday, June 16, 2009 6:47 PM
- 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- Marked As Answer bydk1027 Tuesday, June 16, 2009 6:47 PM
- Proposed As Answer byAaron Stanley King Tuesday, June 16, 2009 3:14 PM
- 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 - 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- Marked As Answer bydk1027 Tuesday, June 16, 2009 6:46 PM

