SQLTeam.com | Weblogs | Forums

Getting an error while creating database

tsql
sql2014

#1

Hi All,

I have recently install SQL Management studio 2014 in my pc. After loggin in and while creating new database getting an error.

"Create failed for Database 'Test'. (Microsoft.SqlServer.Smo)"

An exception occurred while executing a Transact-SQL statement or batch. (Microsoft.SqlServer.ConnectionInfo)

CREATE DATABASE permission denied in database 'master'. (.Net SqlClient Data Provider)

Attached Error screenshot.
Please help me to fix this.
Thanks in advance.


#2

Does the user have enough permission to create the database?


#3

Did you run SSMS with elevated privileges? Try run it as administrator.