Error:
Login failed for login <Login Name> due to trigger execution. Changed database context to ‘master’. Changed language setting to us_english. (Microsoft SQL Server, Error: 17892)
Resolution:
Search for the trigger via:
SELECT * FROM sys.server_triggers;
If you see a server level trigger that might be responsible for the login issues, then you can drop it with:
DROP TRIGGER triggername ON ALL SERVER;
Instead of dropping the trigger just disable it with:
DISABLE TRIGGER triggername ON ALL SERVER;
Sources:
https://dba.stackexchange.com/questions/218811/logon-failed-for-login-due-to-trigger-execution
Comments