KB4466831 - FIX: “A connection cannot be made” error when SSIS package uses a parameterized connection manager in SQL Server 2016 and 2017

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?

Expand your skills
Explore Training
Get new features first
Join Microsoft Insiders

Was this information helpful?

Thank you for your feedback!

×