2016-08-11 15 views
0

変更データキャプチャを使用してSSISパッケージを作成しています。パッケージを作成しましたが、実行中に以下のエラーが表示されます。SSIS CDC権限エラー

[CDC Control Task] Error: "Only members of the sysadmin fixed server role or db_owner fixed database role can perform this operation. Contact an administrator with sufficient permissions to perform this operation.".

エラーは、sysadmin/db_ownerロールが必要であることを示しています。しかし、これは本当に必要なのですか、何か間違っていますか?

答えて

0

私はあなたがSSISでやろうとしていることに依存しています。ここにはMSDNが記載されています。チェンジ・データに、どのような権限をあなたが持っている必要があります。..

アクセス認証:CDCデータベースの現在のLSN

Trickle-feed update packages need access to SQL Server 2016 CDC functions. Such access is granted, by default, to members of the db_owner fixed database role. Because the db_owner is a powerful role, when defining capture instances within SQL Server 2016 it is recommended to associate a gating security role to each capture instance that allows the SSIS CDC package to use a much more restricted user for processing the changes.

アクセス:CDC米国表に

The CDC Control task operations for marking the start LSN for change processing must be able to find the CDC Database current LSN. This is done using the procedure sp_replincrementlsn from the master database. Execute permission on this procedure must be given to the login used for connecting to the SQL Server 2016 CDC database.

アクセス:

The CDC States table is used for automatically persisting CDC States that need to be updatable by the login used for connecting to the SQL Server 2016 CDC database. As this table is created by the SSIS developer, set the SQL Server 2016 system administrator as a user who is authorized to create SQL Server 2016 databases and perform administrative and maintenance tasks. In addition, a SQL Server 2016 system administrator who works with CDC enabled databases must be knowledgeable about SQL Server 2016 CDC technology and implementation.

関連する問題