I am creating a new read/write user on SQL Azure as follows:
-- Connected to master
create login [fred] with password = \'xxx\';
-- Connected to my DB
creat
As Karol commented in Herve Roggero's response, I had the same problem even after selecting the database.
In our case the problem was that the users we created in our databases were disabled.
After we run the following script in the database we wanted to connect for each user:
GRANT CONNECT TO [ourDbUser]
We refreshed the database's users and now they were enabled, and then we were able to connect to the database successfully.