S04005
Error Code
S04005
Error Message
To manage permissions for databases you didn't create, you must have the
DB_MANAGE privilege or contact an administrator. RefId: S04005
Probable Causes
This error occurs when non-admin users attempt to manage privileges for databases they have no permission for.
Solutions
Non-admin users can only be set the following privileges and the permission scope can be global (*). Users must also have the corresponding permission for objs, as shown in the following table:
Privilege Type | Required Permission |
---|---|
|
Users must have the DB_MANAGE privilege for the database where the specified table is located, or be the creator of the database. |
|
Users must have the DB_MANAGE privilege for the specified database, or be the creator of the database. |
|
Users must have the VIEW_OWNER privilege and be the creator of the specified function view. |