SQL Server 2012 Merge Replication - Delete operations on Merge Tables now require ALTER TRACE permisson due to Extended Stored Proceedure call master..sp_repl_generateevent. Some Advise would be appreciated

  • Hi All,

    In reference to http://dba.stackexchange.com/questions/29141/why-do-replication-deletes-require-sysadmin-access

    I have the same issue as reported in the above link. The immediate issue has been bypassed in that I have granted ALTER TRACE permission to the main Applications account that does DELETE operations on the tables in question but in all honesty I don't want to grant that access just to bypass the error.

    Msg 8189, Level 14, State 10, Procedure sp_repl_generateevent, Line 1

    You do not have permission to run 'SP_TRACE_GENERATEEVENT'.

    Has anyone else ran into this and come up with a better solution other than biting the bullet and giving all accounts that run DELETE operations on the merge Tables ALTER TRACE permission?

    I could try some impersonation within the Replication Triggers to overcome this but of course if the replication is recreated then i would need to manually administrate the trigger code to manage the impersonation so that doesn't seem that practical to me.

    Does this mean that its now a requirement for all accounts that run delete operations on Merge replication Tables to have Alter Trace Permission? o.O

    Some advice would be greatly appreciated.

    Kind regards,

    Mattmc

Viewing 0 posts

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