Applies ToSQL Server 2016 Developer - duplicate (do not use) SQL Server 2016 Enterprise - duplicate (do not use) SQL Server 2016 Enterprise Core - duplicate (do not use) SQL Server 2016 Standard - duplicate (do not use) SQL Server 2017 Developer on Windows SQL Server 2017 Enterprise on Windows SQL Server 2017 Enterprise Core on Windows SQL Server 2017 Standard on Windows

Symptoms

Assume that you use Microsoft SQL Server Integration Services (SSIS) packages in Microsoft SQL Server 2016 and 2017. You have a SSIS package that contains the Execute SQL task that uses parameterized SQL statements in Connection Manager to copy connection string details from a project parameter to a user variable.

When another task whose connection string is dynamically populated from the user variable, the task fails. Additionally, you receive error messages that resembles the following:

[Analysis Services Execute DDL Task] Error: A connection cannot be made. Ensure that the server is running. [Analysis Services Execute DDL Task] Error: Execution of DDL failed.

Resolution

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

Cumulative Update 13 for SQL Server 2017

Cumulative Update 4 for SQL Server 2016 Service Pack 2

About SQL Server builds

Each new build for SQL Server 2016 contains all the hotfixes and security fixes that were in the previous build. We recommend that you install the latest build for your version of SQL Server: 

Latest cumulative update for SQL Server 2017

the latest build for SQL Server 2016

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 Microsoft uses to describe software updates.

Need more help?

Want more options?

Explore subscription benefits, browse training courses, learn how to secure your device, and more.

Communities help you ask and answer questions, give feedback, and hear from experts with rich knowledge.