Solved

Unable to make Azure login

Posted on 2010-09-17
4
1,105 Views
Last Modified: 2014-11-12
hi,

I have a database in Azure and am not able to create a login.  This is what i did to create one and listed below is also the error I get.  Can someone help me with this,

I am using Sql Server management studio 2008 R2

CREATE LOGIN AspNetServicesUsers
      WITH PASSWORD = 'j4341g/J4341G'
GO


error:
Msg 5001, Level 16, State 1, Line 1
User must be in the master database.
0
Comment
Question by:joygomez
  • 2
4 Comments
 
LVL 8

Expert Comment

by:avirups
ID: 33706923
When are you getting the error?
0
 
LVL 8

Expert Comment

by:avirups
ID: 33706932
You generally get this error when you have logged in and are trying to do something for which the user must then be in the scope of the master database.
0
 
LVL 3

Accepted Solution

by:
Ironnica earned 500 total points
ID: 33707880
Start your command batch with:
USE MASTER
GO
It will work!
0
 

Author Closing Comment

by:joygomez
ID: 33709087
thanks, it worked.
0

Featured Post

Integrate social media with email signatures

Is your company active on social media? Do you also use email signatures? Including social media icons in your email signature is a great way to get fans for free. Let all your email users know you’re on social media quickly and easily, in a single click.

Join & Write a Comment

Microservice architecture adoption brings many advantages, but can add intricacy. Selecting the right orchestration tool is most important for business specific needs.
Exchange server is not supported in any cloud-hosted platform (other than Azure with Azure Premium Storage).
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…

705 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now