join the MSSQLTips community

MSSQLTips.com - your daily source for SQL Server tips

Google
 
Web mssqltips.com

 
Connecting to SQL Server with a Bad Logon Trigger - MSSQLTips

MSSQLTips

MSSQLTips.com - your daily source for SQL Server tips
Welcome to MSSQLTips Sign in | Join | Help
in Search

Connecting to SQL Server with a Bad Logon Trigger

Last post 09-04-2009 6:30 AM by tgerade. 6 replies.
Page 1 of 1 (7 items)
Sort Posts: Previous Next
  • 11-20-2008 12:30 AM

    Connecting to SQL Server with a Bad Logon Trigger

    This post is related to this tip: Connecting to SQL Server with a Bad Logon Trigger

    http://www.mssqltips.com/tip.asp?tip=1631

  • 11-24-2008 1:17 AM In reply to

    Re: Connecting to SQL Server with a Bad Logon Trigger

    Your article describes exactly the issue I ran into and how i undid the issue using the DAC.

     My new solution uses event notifications, because it is just a logging application that should not block anything in real time.

    I posted my little but drastic mishap at SQLserver central to be published in the near future. 

     

  • 09-04-2009 6:08 AM In reply to

    Re: Connecting to SQL Server with a Bad Logon Trigger

    Hi,

    I tried the tip and did end up with the Bad login.  However, when I connect DAC as sa it states I do not have permission to delete the trigger.   Please help if you can.

    Thank you.

    TG

  • 09-04-2009 6:19 AM In reply to

    Re: Connecting to SQL Server with a Bad Logon Trigger

    Can you post the exact error message you receive when trying to delete the trigger?

  • 09-04-2009 6:23 AM In reply to

    Re: Connecting to SQL Server with a Bad Logon Trigger

    It is strange sa cannot drop that trigger, however maybe just disable it to bypass your original problem.

    and search for a solution if things are back running as normal.

  • 09-04-2009 6:25 AM In reply to

    Re: Connecting to SQL Server with a Bad Logon Trigger

    Hi,

    Thanks for your response.

    Msg 3701, Level 11, State 5, Server CISDEVMST01,  Line 1
    Cannot drop the trigger 'Trigger_ServerLogon', because it does not exist or you
    do not have permission.

    TG

  • 09-04-2009 6:30 AM In reply to

    Re: Connecting to SQL Server with a Bad Logon Trigger

    I got it!

    I had forgotten to put the "on ALL Server" at the end of my drop statement.

    Thanks so much everyone.

    TG

Page 1 of 1 (7 items)