Quantcast
Channel: Forum Getting started with SQL Server
Viewing all articles
Browse latest Browse all 8979

Logon failed for login due to trigger execution. Changed database context to ‘master’

$
0
0

Hi All,

I deleted a database while I was restoring it. after I was not able to login. it throws error like "Logon failed for login due to trigger execution. Changed database context to ‘master’." when searched forums I was advised to delete the trigger using DAC connectivity. The problem here is I don't know the name of the Trigger that needs to be deleted. Is there any way to drop all the triggers or identify the trigger which creates the problem.

Note: I have around 10 databases in my server and not sure which database creates this issue.

Thanks in Advance.


Viewing all articles
Browse latest Browse all 8979

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>