Database Error 262
Contents |
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company Business create database permission denied in database master error 262 Learn more about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation sql error 262 create database Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 4.7 million programmers, just like
Error 262 In Sql Server 2012
you, helping each other. Join them; it only takes a minute: Sign up How to fix Microsoft SQL Server, Error: 262? up vote 1 down vote favorite I'm opening the SQL Server Management Studio with run as
Microsoft Sql Server Error 262
administrator... And there is no problem with Windows Authentication Connection. I'm choosing "New Database" by right-click the Databases folder. And giving name 'BTS' for the Database. When i'm choosing OK, i get the error as, How to fix it? sql-server sql-server-2008 sql-server-2012 share|improve this question edited Jun 13 '14 at 8:09 a_horse_with_no_name 184k24229307 asked Jun 13 '14 at 5:42 Sam1604 1,1502819 add a comment| 2 Answers 2 active oldest votes up vote 4 down vote accepted microsoft sql server error 262 create database From this blog post To add a Windows user that has the login “machinename\Administrator” to the sysadmin fixed server role Log on to the computer using the credentials for the machinename\Administrator account. Click the Start button, point to All Programs, click Microsoft SQL Server, and then click SQL Server Management Studio. Connect to an instance of SQL Server. Click Security, right-click Logins, and then click New Login. In the Login name box, enter the user name. In the Select a page pane, click Server Roles, select the sysadmin check box, and then click OK. To add a Windows user that has the login “domainname \username” to the sysadmin fixed server role Log on to the computer using the credentials for the domainname\username account. Click the Start button, point to All Programs, click Microsoft SQL Server, right-click SQL Server Management Studio, and then click Run as administrator. ps: “Run As Administrator” option elevates the user permissions In the User Access Control dialog box, click Continue. In SQL Server Management Studio, connect to an instance of SQL Server. Click Security, right-click Logins, and then click New Login. In the Login name box, enter the user name. In the Select a page pane, click Server Roles, select the sysadmin check box, and then click OK. share|improve this answer edited Dec 2 '14 at 16:22 bob esponja 2,02721927
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company Business Learn more
Microsoft Sql Server Error 15247
about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges create database permission denied in database 'master' error 262 sql server 2012 Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 4.7 million programmers, just like you, helping each error 262 in sql server 2005 other. Join them; it only takes a minute: Sign up “CREATE DATABASE permission denied” error up vote 3 down vote favorite 1 I have installed SQL SERVER 2008 R2 on my system with Windows XP operating system installed. Whenever http://stackoverflow.com/questions/24198458/how-to-fix-microsoft-sql-server-error-262 I try to create a new database it displays an error: CREATE DATABASE PERMISSION DENIED IN DATABASE 'master'.(Microsoft SQL Server, Error:262) sql-server database sql-server-2008-r2 share|improve this question edited Jan 31 '13 at 15:13 Pondlife 12.6k52242 asked Jan 31 '13 at 12:21 CodeUnderflow 672211 Are you a member of the sysadmin role? –SchmitzIT Jan 31 '13 at 12:22 no,even i don't know how to grant this permission. –CodeUnderflow Jan 31 '13 at 12:47 http://stackoverflow.com/questions/14625682/create-database-permission-denied-error When you installed it, there was a page where you specified who should be sys admins for the instance. It doesn't sound like you used the right options (one of them was to Add Current User) (unless this is Express) –Damien_The_Unbeliever Jan 31 '13 at 15:20 @CodeUnderflow - Do you have the password for the 'sa' user? This would have been something configured when you installed SQL Server with SQL Authentication mode. –SchmitzIT Jan 31 '13 at 16:17 add a comment| 5 Answers 5 active oldest votes up vote 2 down vote accepted Try to grant the user your loged in the CREATE ANY DATABASE Permission then try again. Take a look at the documentation about creating a new Database share|improve this answer answered Jan 31 '13 at 12:25 CloudyMarble 23.7k1566110 if that user is unable to grant permission to the user I have logged in then? –CodeUnderflow Jan 31 '13 at 12:51 You need to log in with the Admin user to grant this User the needed Permission, this depends on the Option you choosed when you installed the Server, you can use a Windows authentication or a SQL Server one where you provide the Username and Password, this User should be used. –CloudyMarble Jan 31 '13 at 13:04 add a comment| up vote 2 down vote When you start SQL server m
(Русский)ישראל (עברית)المملكة العربية السعودية (العربية)ไทย (ไทย)대한민국 (한국어)中华人民共和国 (中文)台灣 (中文)日本 (日本語) HomeLibraryLearnDownloadsTroubleshootingCommunityForums Ask a question Quick access Forums home Browse forums users FAQ Search related threads Remove From My Forums Answered by: CREATE DATABASE permission denied in https://social.msdn.microsoft.com/Forums/sqlserver/en-US/28fee0ed-c7e2-40df-8f79-f513c9848f09/create-database-permission-denied-in-database-master-microsoft-sql-server-error-262?forum=sqltools database 'master'. (Microsoft SQL Server, Error: 262) SQL Server > SQL Server Tools Question 0 Sign in to vote How exactly do I correct this problem on Vista? TITLE: Microsoft SQL Server Management Studio Express ------------------------------ Create failed for Database 'kkl'. (Microsoft.SqlServer.Express.Smo) For help, click: http://go.microsoft.com/fwlink?ProdName=Microsoft+SQL+Server&ProdVer=9.00.3042.00&EvtSrc=Microsoft.SqlServer.Management.Smo.ExceptionTemplates.FailedOperationExceptionText&EvtID=Create+Database&LinkId=20476 ------------------------------ ADDITIONAL INFORMATION: An error 262 exception occurred while executing a Transact-SQL statement or batch. (Microsoft.SqlServer.Express.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 I have ensured that I am logged into the system as Admin but cannot find where on the Server, I assign my login to the dbcreator microsoft sql server group. I have gone into Security >> Server Roles >> dbcreator. of which I am not a member. On a different system, where all works, however, I am not a member of this group either. Any suggestions on how to kill this one? Thanks in Advance. Klaus Tuesday, August 07, 2007 9:47 PM Reply | Quote Answers 1 Sign in to vote and this fixed my problem: http://msdn2.microsoft.com/en-us/library/bb326612.aspx Wednesday, August 08, 2007 4:21 PM Reply | Quote All replies 1 Sign in to vote and this fixed my problem: http://msdn2.microsoft.com/en-us/library/bb326612.aspx Wednesday, August 08, 2007 4:21 PM Reply | Quote 2 Sign in to vote BTW, if you are using Windows Vista which I assume you are....then this problem is easily fixed by running SQLServer as an Administrator Proposed as answer by CalinIlie Saturday, October 02, 2010 4:31 PM Sunday, December 30, 2007 6:48 PM Reply | Quote 0 Sign in to vote A "CREAT