CREATE SERVER AUDIT fails

  • Hi,

    I'm using SQL Server 2008 and when I execute the following code:

    [font="Courier New"]USE MASTER

    GO

    CREATE SERVER AUDIT RestrictedAccessAudit

    TO APPLICATION_LOG

    WITH ( QUEUE_DELAY = 1000, ON_FAILURE = CONTINUE);

    GO[/font]

    I get the following error:

    [font="Courier New"]Msg 15247, Level 16, State 1, Line 1

    User does not have permission to perform this action.[/font]

    I'm logging on using Windows authentication and the user is granted sysadmin role.

  • Hi,

    When I logged on as the OS user who created the instance, the command worked OK.

    I think there's a Windows privilege required... sysadmin isn't enough.

Viewing 2 posts - 1 through 1 (of 1 total)

You must be logged in to reply to this topic. Login to reply