Skip to content

Instantly share code, notes, and snippets.

@tech-andgar
Last active April 13, 2024 07:31
Show Gist options
  • Save tech-andgar/1bc6958ea6565c009f4513fe12e1d32b to your computer and use it in GitHub Desktop.
Save tech-andgar/1bc6958ea6565c009f4513fe12e1d32b to your computer and use it in GitHub Desktop.
Fix Error 15517 SQL SERVER No se puede ejecutar como la entidad de seguridad de base de datos porque la entidad 'dbo' no existe, este tipo de entidad de seguridad no se puede suplantar o el usuario no tiene permiso.
USE [DB Name]
GO
EXEC dbo.sp_changedbowner @loginame = N'sa', @map = false
GO
@luiskarlost25
Copy link

[DB Name] aqui va el nombre de tu base de datos

@marvinestrada
Copy link

GRACIAS, SI ME FUNCIONÒ

@khrizenriquez
Copy link

Genial, gracias!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment