CREATE DATABASE must be preceded by a 'USE master' command. Check with your DBO (or System Administrator) if you do not have permission to USE master.
This error occurs when you try to create a new database without being in the master database.
Before issuing the CREATE DATABASE statement, be sure you are in the master database and have the necessary permissions to create a database. Type:
USE master go