Click here to Skip to main content
15,895,772 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I have problem while crating database to SQL server 2005, it give error as
An exception occured while executing a Transact-SQL statement or batch
CREATE DATABASE permission denied in database 'master'

if any one knows how to solve this error please help me...

Thanks in advance
Posted

 
Share this answer
 
You may received this error, if you are using SQL Server express with Windows Vista or Windows 7 and authentication mode is windows. This error can occurs if current user is not administrator.

If current user is administrator right click on SQL Server Management Studio and run it as administrator. This error will disappear.

hope it helps :)
 
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