Click here to Skip to main content
15,892,737 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
TITLE: Microsoft SQL Server Management Studio
------------------------------

Create failed for Database 'Style'. (Microsoft.SqlServer.Smo)

For help, click: http://go.microsoft.com/fwlink?ProdName=Microsoft+SQL+Server&ProdVer=9.00.1399.00&EvtSrc=Microsoft.SqlServer.Management.Smo.ExceptionTemplates.FailedOperationExceptionText&EvtID=Create+Database&LinkId=20476

------------------------------
ADDITIONAL INFORMATION:

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

------------------------------

CREATE DATABASE permission denied in database 'master'. (Microsoft SQL Server, Error: 262)

For help, click: http://go.microsoft.com/fwlink?ProdName=Microsoft+SQL+Server&ProdVer=09.00.1399&EvtSrc=MSSQLServer&EvtID=262&LinkId=20476

------------------------------
BUTTONS:

OK
------------------------------



How can i fix this problem........
Posted
Comments
[no name] 28-Aug-13 5:51am    
"permission denied"... you fix "permission denied" problems by giving the account permission.
Ashutosh_jha 28-Aug-13 5:55am    
please guide me with process
Ashutosh_jha 28-Aug-13 6:00am    
how i do?
Ashutosh_jha 28-Aug-13 6:16am    
what is the process to account permission

Whatever account you are using does not have permissions to create a database. You need to change the account you are using or if you have admin permissions you could grant that permission to whatever user you are using.
 
Share this answer
 
Hi,

users Admin group of SQL server can provide rights to your user, if you do not have permission to create database.

your error says it clearly that user is not allowed to create database in master.

if you need further detail let me know.

Regards,
Mubin shaikh
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900