Pages

March 18, 2011

database does not have a valid owner

Error:
TITLE: Microsoft SQL Server Management Studio
------------------------------
Database diagram support objects cannot be installed because this database does not have a valid owner. To continue, first use the Files page of the Database Properties dialog box or the ALTER AUTHORIZATION statement to set the database owner to a valid login, then add the database diagram support objects.
------------------------------
BUTTONS:
OK
------------------------------

Solution:
1. Right Click on your database, choose properties
2. Goto the Files
3. Change the owner textbox to "sa"
4. Press OK
5. Enjoy

19 comments:

  1. Thanks really helpful.
    Hafiz

    ReplyDelete
  2. i got this error man but your post helped i changed owner to sa it worked for me thanx
    Jap Auto Parts

    ReplyDelete
  3. Thanks a lot it worked like a charm

    ReplyDelete
  4. before this it was a problem after this it is very easy staff -- thanks

    ReplyDelete
  5. before this it was difficult after this it is too easy --- thanks

    ReplyDelete
  6. before this it was difficult after this it is too easy THANKS

    ReplyDelete
  7. before this it was difficult after this it is too easy THANKS

    ReplyDelete
  8. This comment has been removed by the author.

    ReplyDelete
  9. before this it was difficult after this it is too easy THANKS

    ReplyDelete
  10. before this it was difficult after this it is too easy THANKS

    ReplyDelete
  11. Muchísimas gracias, amigo.

    ReplyDelete
  12. u r crazy man, i have 2 hour that i am looking and trying to fix that, with ur instructions with 4 hops i have fix that, thank u veryy muchh.

    ReplyDelete
  13. @Be-Bu: YW, This is awesome and You made my day :-)

    ReplyDelete
  14. Thanks, this was a big help

    ReplyDelete
  15. Thanks. It works

    ReplyDelete