FIX: Unexpected exception occurs when deploying a package using SQL Server 2016 MDSModelDeploy tool

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

Symptoms


When you deploy a model deployment package by using the Microsoft SQL Server 2016 MDSModelDeploy tool, the deployment may fail and generate an exception because of a race condition.

This issue occurs because the MDSModelDeploy tool deploys the package in batches. This can sometimes cause a race condition to occur.

Resolution


The issue was first fixed in the following cumulative update of SQL Server:

Status


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

References


Learn about the terminology that Microsoft uses to describe software updates.