Re: VS 2005 - Server Explorer - Diagrams - Invalid DBO User
From: Gail Erickson [MS] (gaile_at_online.microsoft.com)
Date: 11/08/05
- Previous message: Jay Douglas: "Re: VS 2005 - Server Explorer - Diagrams - Invalid DBO User"
- In reply to: Jay Douglas: "Re: VS 2005 - Server Explorer - Diagrams - Invalid DBO User"
- Next in thread: Lazer: "Re: VS 2005 - Server Explorer - Diagrams - Invalid DBO User"
- Reply: Lazer: "Re: VS 2005 - Server Explorer - Diagrams - Invalid DBO User"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Tue, 8 Nov 2005 10:45:26 -0800
What's the compatibility mode of the database? If it's 80 or lower, you
might try setting the compat mode to 90 and retrying. I read a post
yesterday that indicated this might solve the problem. At least it wouldn't
hurt to try - you can always set it back to the orginal compatibility level.
-- Gail Erickson [MS] SQL Server Documentation Team This posting is provided "AS IS" with no warranties, and confers no rights "Jay Douglas" <jayREMOVEIFNOTSPAM@jaydouglas.com> wrote in message news:upWOQKJ5FHA.2552@TK2MSFTNGP10.phx.gbl... > Tibor, > > I'm pretty sure that you are correct about the orphaned user as this > deployment of the database was a backup from a different database. > > However, I dropped the user mapping for MyUser to MyDatabase and also > removed the login. I recreated the login and user mapping for MyUser with > dbo schema and db_owner role and I'm receiving the same error...... > > Any further help is very appreciated. I can't find any answers in Google. > > Thx again > > -- > Jay Douglas > http://www.jaydouglas.com > > > "Tibor Karaszi" <tibor_please.no.email_karaszi@hotmail.nomail.com> wrote > in message news:u%23TZ97I5FHA.884@TK2MSFTNGP14.phx.gbl... >> Orphaned database owner (check the SID for dbo user in the database and >> that such exists in master for the logins).? >> >> -- >> Tibor Karaszi, SQL Server MVP >> http://www.karaszi.com/sqlserver/default.asp >> http://www.solidqualitylearning.com/ >> Blog: http://solidqualitylearning.com/blogs/tibor/ >> >> >> "Jay Douglas" <jayREMOVEIFNOTSPAM@jaydouglas.com> wrote in message >> news:ug92V5I5FHA.2036@TK2MSFTNGP14.phx.gbl... >>> When attempting to edit diagrams in Server Explorer from Visual Studio >>> 2005 I receive the following error: >>> >>> This database does not have a valid dbo user or you do not have >>> permissions to impersonate the dbo user, so database diagramming is not >>> available. Ensure the dbo account is valid and ensure that you have >>> impersonate permission on the dbo account. >>> >>> I am not logged in w/ a user created user called MyUser. I set the >>> default schema to dbo for MyUser on MyDatabase. I also placed MyUser >>> has db_owner on MyDatabase. >>> >>> What am I missing? >>> >>> Thanks, >>> -- >>> Jay Douglas >>> http://www.jaydouglas.com >>> >>> >>> >> > >
- Previous message: Jay Douglas: "Re: VS 2005 - Server Explorer - Diagrams - Invalid DBO User"
- In reply to: Jay Douglas: "Re: VS 2005 - Server Explorer - Diagrams - Invalid DBO User"
- Next in thread: Lazer: "Re: VS 2005 - Server Explorer - Diagrams - Invalid DBO User"
- Reply: Lazer: "Re: VS 2005 - Server Explorer - Diagrams - Invalid DBO User"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|