CREATE DATABASE permission denied in database 'master'
You need to execute this T-SQL command using an account that does have administrative rights, such as sa:

USE master;
EXECUTE sp_addsrvrolemember @loginame = N'YourAppUserLogin', @rolename = N'dbcreator';


Replace YourAppUserLogin with the login the application user uses to connect to the database.