Reputation: 17467
I am trying to create a database and I get the error below
Upvotes: 0
Views: 4236
Reputation: 2548
Go to SQL Server -> Security -> Logins and create a new login with all permissions and roles.
Upvotes: 0
Reputation: 36126
you need permission to create a database. The simplest solution would be to connect with a user that inherits a login that has permission to create databases
Which user are you using to connect to the database?
right click you login and check if you have access to make yourself a dbcreator:
Upvotes: 1
Reputation: 21
Solution for Microsoft SQL Server, Error: 262
Click on Start -> Click in Microsoft SQL Server 2005 Now right click on SQL Server Management Studio Click on Run as administrator Now the problem is solved. This is the actual process to login to our SQL server 2005 as an administrator with all the administrative rights. But I think in Microsoft SQL Server 2005 express edition we do not need to go through the above process.
Upvotes: 0