I am trying to enable CDC on SQL Server by running the command EXEC sys.sp_cdc_enable_db
but I keep getting the message:
Could not update the metadata that indicates database X is enabled for Change Data Capture. The failure occurred when executing the command 'create user cdc'.
The error returned was 15562: 'The module being executed is not trusted. Either the owner of the database of the module needs to be granted authenticate permission, or the module needs to be digitally signed.'. Use the action and error to determine the cause of the failure and resubmit the request.
I've tried adding and removing sa
as db_onwer; I've tried to create cdc user manually, but nothing works.
What else could I try?