Click here to Skip to main content
15,887,027 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
My previous system administrator created a SQL Server 2008 instance on my local machine with his domain User.
Now, I cannot create, delete, or view any databases or tables on that instance. Even with my domain User, or Windows local administrator.
It says "CREATE DATABASE permission denied in master".
The users section in Management studio shows only two users 'BUILTIN\Users' and 'sa' which is disabled. 'Builtin\Users' has only public role.
It seems no user have permission to this instance. How can my Local Administrator get permission to it ?
I cannot delete the instance as it has important databases.
Thanks
Posted
Updated 1-Mar-15 2:26am
v2

To be able to create new database you need to have proper permissions on MS SQL Server. Please, see:
CREATE DATABASE permission denied in database ‘master’ – My Fix[^]
Set up a user account on a SQL server[^]
 
Share this answer
 
Comments
Wendelius 2-Mar-15 0:28am    
Those links should be helpful :)
Maciej Los 2-Mar-15 0:29am    
Thank you, Mika ;)
Yesudass Moses 9-Mar-15 10:01am    
Thanks dear.. Though I used PSTools to open SQL Server Management Studio from System Account... From there, I could set the permissions for the Users... :)
Maciej Los 9-Mar-15 11:08am    
I'm glad i can help you ;)
Yesudass Moses 10-Mar-15 1:23am    
:)
Change the service Account logon to local system Account and restart the sql services, it may solve your problem
 
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