title: Could not update the metadata that indicates database X is enabled for Change Data Capture. The error returned was 15517
body: <p>I use <code>SQL Server 2008</code> and <code>AdventureWorkDB</code>.</p>
  
  <p>I want enable <code>Change Data Capture</code> in my database.</p>
  
  <p>I execute this command :</p>
  
  <pre><code>USE [AdventureWorksDB];
  GO
  EXEC sys.sp_cdc_enable_db ;
  </code></pre>
  
  <p>But i get this error :</p>
  
  <pre><code>Could not update the metadata that indicates database X is enabled for 
  Change Data Capture. 
  The failure occurred when executing the command 'SetCDCTracked(Value = 1)'. 
  The error returned was 15517: 
      'Cannot execute as the database principal because 
       the principal "dbo" does not exist, 
       this type of principal cannot be impersonated, 
       or you do not have permission.'. 
  Use the action and error to determine the cause of the failure and resubmit 
  the request. 
  </code></pre>
  
  <p>How I can fix it ?</p>