[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

Cannot create database in SQL Server 2012 express

Posted on 2012-09-17
4
Medium Priority
?
2,240 Views
Last Modified: 2012-10-06
I have a fresh install of SQL Server 2012 express I am trying to create a database in and I keep getting the following error:

TITLE: Microsoft SQL Server Management Studio
------------------------------

Create failed for Database   (Microsoft.SqlServer.Smo)

For help, click: http://go.microsoft.com/fwlink?ProdName=Microsoft+SQL+Server&ProdVer=11.0.2100.60+((SQL11_RTM).120210-1917+)&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%20SQL%20Server&ProdVer=11.00.2100&EvtSrc=MSSQLServer&EvtID=262&LinkId=20476

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

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

I tried running SQL Server 2012 Express edition as administrator and I keep getting th error. The steps I have taken to create the database is as follows:

1. Right click databases in the object explorer
2. Click "New Database"
3. Gave the database a name
4. Clicked on OK.

I am running Winodws 7 Pro.

Thanks
0
Comment
Question by:DB-aha
  • 3
4 Comments
 
LVL 25

Expert Comment

by:TempDBA
ID: 38406712
Its because you don't have admin priviledge. The a/c you are using is just public role. Following is an article on 2008. Same should apply on 2012 as well.

http://stackoverflow.com/questions/3781365/how-to-change-sa-password-in-sql-server-2008-express
0
 
LVL 1

Author Comment

by:DB-aha
ID: 38406925
Sorry, the instructions are a bit difficult, they are written completely in tech speak. Could you break down the steps in something simple to understand?
0
 
LVL 1

Accepted Solution

by:
DB-aha earned 0 total points
ID: 38450657
To resolve the issue, I uninstalled and re-installed.
0
 
LVL 1

Author Closing Comment

by:DB-aha
ID: 38469639
NO other solution was clarified to be able to be used. My solution allowed me full access to the application as intended.
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Microsoft Access has a limit of 255 columns in a single table; SQL Server allows tables with over 255 columns, but reading that data is not necessarily simple.  The final solution for this task involved creating a custom text parser and then reading…
LinkedIn blogging is great for networking, building up an audience, and expanding your influence as well. However, if you want to achieve these results, you need to work really hard to make your post worth liking and sharing. Here are 4 tips that ca…
Viewers will learn how to use the SELECT statement in SQL and will be exposed to the many uses the SELECT statement has.
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…

831 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question