Question : SQL Error when changing data type (IMPERSONATE) error

Hi,

I am getting the following error when I try to change the datatype of a column in this table.

- Unable to preserve security settings for user 'DOMAIN\username'.  
Cannot execute as the database principal because the principal "dbo" does not exist, this type of principal cannot be impersonated, or you do not have permission.

The user who is trying to do this is in the "db_owner" role so it should be fine, but it NEVER works.

Any idea?
-ws

Answer : SQL Error when changing data type (IMPERSONATE) error

does the user that is mapped to the DOMAIN\username being granted the IMPERSONATE permissions for the dbo principal?

1:
GRANT IMPERSONATE ON USER::dbo TO username
Open in New Window Select All
Random Solutions  
 
programming4us programming4us