Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8662609
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T16:46:29+00:00 2026-06-12T16:46:29+00:00

I am unable to create a database in SQL Server 2008. This is the

  • 0

I am unable to create a database in SQL Server 2008. This is the message that I recieve every time:

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

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

------------------------------
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=10.00.1600&EvtSrc=MSSQLServer&EvtID=262&LinkId=20476

What should be done?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-12T16:46:30+00:00Added an answer on June 12, 2026 at 4:46 pm

    This is related to the permission of the logged in user.
    Solution 1)
    Click on Start -> Click in Microsoft SQL Server 2005
    Now right click on SQL Server Management Studio
    Click on Run as administrator

    Solution2)

    check with select user_name() if you are not logged in as guest.

    Add a domain account as sysadmin to SQL Express with SQLCMD

    Start a command shell elevated
    type SQLCMD –S (local)\sqlexpress
    
    CREATE LOGIN [your domain account] FROM WINDOWS;
    

    check if the login is created successfully

    SELECT NAME FROM SYS.SERVER_PRINCIPALS
    

    Grant sysadmin rights

    SP_ADDSRVROLEMEMBER ‘darth\vader’, ‘sysadmin’
    

    Reference : http://blogs.msdn.com/b/dparys/archive/2009/09/17/create-database-permission-denied-in-database-master-my-fix.aspx

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I need to set up this scenario: A SQL Server 2005 database will create
I have a Sql Server 2008 Express database file that's currently being used by
I had a local database used to connect with sql server authentication, every thing
I am using a C# application and connection to database using sql server 2008
I'm having trouble seeing tables from one particular SQL Server 2008 database while trying
I'm unable to create database diagrams in a SS 2000 database using SSMS 2008.
Specs: Sql Server 2008 Server 2008 R2 64bit MS Access database What works: I
For my html form, it seems that I'm unable to create cross browser hover
I want to create a loop that will iterate over several strings, but unable
I am using following code to attach my database to SQL Server. The problem

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.