SQLTeam.com | Weblogs | Forums

Getting an error while creating database



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.


Does the user have enough permission to create the database?


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