Avatar of Rick Danger
Rick Danger
Flag for United Kingdom of Great Britain and Northern Ireland asked on

SQL Server 2008 Express permissions problem

TITLE: Microsoft SQL Server Management Studio
This will be easy for somebody who understands this sort of thing. I've just installed SQL Server Express 2008 and trying to create a test database, but get this.
------------------------------
Create failed for Database test'.  (Microsoft.SqlServer.Smo)
For help, click: http://go.microsoft.com/fwlink?ProdName=Microsoft+SQL+Server&ProdVer=10.50.2500.0+((KJ_PCU_Main).110617-0026+)&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
------------------------------
Microsoft SQL Server 2008

Avatar of undefined
Last Comment
sammySeltzer

8/22/2022 - Mon
JestersGrind

On the server/workstation that you installed SQL Server, are you an administrator?

Greg

sammySeltzer

Open up sql server management studio,

on the explorer window, expand databases,

Right-click on Master database

Click on Properties

Click on Permissions

Select the account you are trying to create database with and grant it the Create Permision and any other permission you wish to grant it and it should work.
Rick Danger

ASKER
Jester - No!
Mr Seltzer
I only get guest in the list - how do I add a new user?

By the way, I think I know your brother, Alka.
All of life is about relationships, and EE has made a viirtual community a real community. It lifts everyone's boat
William Peck
ASKER CERTIFIED SOLUTION
sammySeltzer

Log in or sign up to see answer
Become an EE member today7-DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform
Sign up - Free for 7 days
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
ask a question