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
@frochaol
Copy link

thanks bro, but can you explain what does mean those commands?

@peco2000
Copy link

peco2000 commented Feb 4, 2021

Thanks! it solved the issue

@YV5AJI
Copy link

YV5AJI commented Apr 24, 2021

Thanks! it solved the issue :)

@Walter36prof
Copy link

Thanks! The issue was fixed with the command!!

@gmoran1302
Copy link

Thanks! it solved the issue :)

@sergio3i
Copy link

sergio3i commented Jun 9, 2022

Thanks! it solved the issue

@KevinFMO
Copy link

KevinFMO commented Aug 5, 2022

GRACIAS

@TeresitaHeber
Copy link

Thanks! it solved the issue :)

@Mc2OO3
Copy link

Mc2OO3 commented Nov 14, 2022

Thanks! it solved the issue

@edisonRam
Copy link

gracias papi, me sirvió el code

@tech-andgar
Copy link
Author

tech-andgar commented May 23, 2023

thanks bro, but can you explain what does mean those commands?

For a more detailed explanation, see (English): https://tech-andgar.me/posts/fix-error-ms-sql-server/
Encuentra una explicación más detallada en (Español): https://tech-andgar.me/es/posts/fix-error-ms-sql-server/

@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