FIX: "The given key was not present in the dictionary" occurs if you do a preview in the CDC Source in SQL Server 2016

Applies to: SQL Server 2016 DeveloperSQL Server 2016 EnterpriseSQL Server 2016 Enterprise Core More

Symptoms


Assume that you have a Microsoft SQLServer Integration Services (SSIS) package that uses the Change DataCapture (CDC) Source component. After you install one of the cumulative updatesthat are described in KB 4038210, when you try to do a preview in the CDC Source task,you may receive error messages that resemble the following:

TITLE:Microsoft Visual Studio

Thegiven key was not present in the dictionary

Status


Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section. 

Resolution


The issue is fixed in the following cumulative updates for SQL Server:
About cumulative updates for SQL Server:

Each new cumulative update for SQL Server contains all thehotfixes and all the security fixes that were included with the previouscumulative update. Check out the latest cumulative updates for SQL Server:

References


Learn about the terminology thatMicrosoft uses to describe software updates.