Kanadec
Дата: 23.01.2013 18:06:39
Добрый вечер.
Почему-то не получается настроить Change Data Capture(CDC) на одной базе.
При вызове хранимой процедуры EXEC sys.sp_cdc_enable_db пишет ошибку:
Msg 22830, Level 16, State 1, Procedure sp_cdc_enable_db_internal, Line 193
Could not update the metadata that indicates database MyDB is enabled for Change Data Capture. The failure occurred when executing the command 'CREATE TABLE dbo.systranschemas'. The error returned was 297: 'The user does not have permission to perform this action.'. Use the action and error to determine the cause of the failure and resubmit the request.
Пробовал запускать от sa, пробовал из под своей доменной учетки, пробовал под сикульным логином, который обладает правами sa. Все безуспешно.
Заресторил эту базу на другой машине. Такая же проблема. Так что думаю тут все дело именно в базе.
Владельцем базы является sa.
Compatibility level базы 110
select @@version:Microsoft SQL Server 2012 - 11.0.2100.60 (X64) Feb 10 2012 19:39:15 Copyright (c) Microsoft Corporation Developer Edition (64-bit) on Windows NT 6.1 <X64> (Build 7601: Service Pack 1)
Так же в базе нет ни пользователя с именем cdc, ни схемы с менем cdc.
С другими базами такой проблемы нет.
Куда копать?