Microsoft Sql Server Error 15405 Dbo
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 cannot use the special principal sa microsoft sql error 15405 company Business Learn more about hiring developers or posting ads with us Stack Overflow Questions
Cannot Use The Special Principal 'dbo' Sharepoint
Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 6.2 million
Cannot Use The Special Principal Sa User Mapping
programmers, just like you, helping each other. Join them; it only takes a minute: Sign up Cannot use special principal dbo: Error 15405 up vote 25 down vote favorite 2 I am trying to give all
Cannot Drop The User 'dbo'.
the permissions to a user in the User Mapping section of a database. But, I am encountering this error: "Cannot use special principal dbo" Server roles of the user: sql-server share|improve this question asked Jan 10 '11 at 6:27 Cipher 2,060164598 1 Not an actual answer to the question posted, but since you're granting db_owner to sarin, why are you even trying to assign any other roles? –Damien_The_Unbeliever Jan 10 '11 at 8:02 cannot alter the user 'dbo' This is because I am trying to install a CMs on my website and during the installation process, it says, no User or role 'sarin'. See here: i.imgur.com/Intaa.jpg –Cipher Jan 10 '11 at 9:15 1 The user 'sarin' is already db_owner of the database, there's no need to grant any further permissions. If you're still getting this error, then you're not connecting to the database you think you are, but since you've not shown any screenshots of the actual point where you supply server/db/username, or a connection string, it's a little tricky to diagnose further. –Damien_The_Unbeliever Jan 11 '11 at 9:20 add a comment| 3 Answers 3 active oldest votes up vote 32 down vote accepted This is happening because the user 'sarin' is the actual owner of the database "dbemployee" - as such, they can only have db_owner, and cannot be assigned any further database roles. Nor do they need to be. If they're the DB owner, they already have permission to do anything they want to within this database. (To see the owner of the database, open the properties of the database. The Owner is listed on the general tab). To change the owner of the database, you can use sp_changedbowner or ALTER AUTHORIZATION (the latter being apparently the preferred way for
(Русский)ישראל (עברית)المملكة العربية السعودية (العربية)ไทย (ไทย)대한민국 (한국어)中华人民共和国 (中文)台灣 (中文)日本 (日本語) HomeLibraryLearnDownloadsTroubleshootingCommunityForums Ask a question Quick access Forums home Browse forums users FAQ Search related threads Remove From My Forums Answered by: 'sa' User Map error SQL Server > SQL Server login failed for user sa Security Question 0 Sign in to vote Hello all,I'm having a problem sp_changedbowner with my sa account, we just migrated from sql server 2000 to sql server 2005 and 1 of alter authorization on database our production applications is failing on the sa login. I checked the 'User Map' setup to the 'sa' account and the databases that need accessing aren't mapped.When I try to http://stackoverflow.com/questions/4644233/cannot-use-special-principal-dbo-error-15405 add the map, I get error "Cannot use the special principal 'sa'. (Microsoft SQL Server, Error: 15405)". I get the same error when trying to remove a user map for sa (there are a couple db's already mapped), and I don't remember how I mapped them in the first place, but it certainly isn't working now!Thanks in advance,102020 Wednesday, September https://social.msdn.microsoft.com/Forums/sqlserver/en-US/c2dc1237-5a33-48f8-9c11-e2c51424b198/sa-user-map-error?forum=sqlsecurity 13, 2006 6:20 PM Reply | Quote Answers 9 Sign in to vote I found the solution!! Quit simple: exec sp_changedbowner 'sa','true'. Thanks anyway Friday, February 16, 2007 7:58 AM Reply | Quote 3 Sign in to vote Hey, I find out how to change it using Management Stadio Express: Right click the database to show properties. then change the owner under files to sa then you can map it under Logins . Thursday, March 15, 2007 8:29 PM Reply | Quote 0 Sign in to vote I have fixed this already, thanks though.The problem was that the db owner was the domain admin and not sa, so I couldn't change the mapping.Thanks,102020 Friday, September 15, 2006 4:10 PM Reply | Quote All replies 0 Sign in to vote What is ther error that you get back and for waht operation do you get it back? Please also check the server error log and copy the relevant errors logged there. ThanksLaurentiu Thursday, September 14, 2006 10:07 PM Reply | Quote Moderator 0 Sign in to vote I have fixed th
SQL Server experts to answer whatever question you can come up with. Our new SQL Server Forums are live! Come http://www.sqlteam.com/forums/topic.asp?TOPIC_ID=182747 on over! We've restricted the ability to create new threads on these https://berbagisolusi.wordpress.com/2011/12/07/cannot-use-the-special-principal-sa-error-15405-mssql-server/ forums. SQL Server Forums Profile | ActiveTopics | Members | Search | ForumFAQ Register Now and get your question answered! Username: Password: Save Password Forgot your Password? All Forums SQL Server 2008 Forums SQL Server Administration (2008) Granting role to dbo Reply to Topic Printer Friendly Author Topic cannot use Peter99 Constraint Violating Yak Guru 498 Posts Posted-02/06/2013: 12:00:14 Hi,I have one login say test and executed:use
15405) MsSQLServer Posted by berbagisolusi ⋅ December 7, 2011 ⋅ Leave a comment Filed Under Error: 15405, sa, sqlserver Cannot use the special principal ‘sa'. Microsoft SQL Server, Error: 15405 ERROR: Cannot use the special principal ‘sa'. Microsoft SQL Server, Error: 15405 SOLUTION: run this command in the query editor window for each database exec sp_changedbowner 'sa','true' _____________________________________________________________ I Have this issue running SQL Server 2008 and this message was in the log: "Login failed for user ‘CENTRAL\operacao'. Reason: Token-based server access validation failed with an infrastructure error. Check for previous errors" I could not use any other login except by the login that was used to install SQL Server. So the solution was: 1) Login in the server with the same account used to setup SQL Sever. 2) Run -- GRANT CONTROL SERVER TO "my login" for each user that you want to grant rights in the server. This worked for me. ___________________________________________________________________ USE [master] GO ALTER LOGIN [sa] WITH DEFAULT_DATABASE=[LIFTest], DEFAULT_LANGUAGE=[us_english] , CHECK_EXPIRATION=OFF, CHECK_POLICY=(ON/OFF), NO CREDENTIAL GO USE [master] GO ALTER LOGIN [sa] WITH PASSWORD=N'JH@46O!IH#NFi349gh' GO You can fix using GUI tools, please login at MSSQL Management Studio, 1. Login using Windows Auth 2. Properties at connection 3. Click Security at Righ Menu, and find a .SQLServer And Windows Auth, b. It’s weird how “Map to Credential” is checked yet there is no credential specified. But that’s what you have to do. also see : http://www.techurbia.com/2009/03/cannot-set-a-credential-for-principal-sa-sql-server-20052008.html Share this:TwitterFacebookLike this:Like Loading... Related About berbagi