Symptoms

Assume that you have Microsoft SQL Server Analysis Services (SSAS) installed in an instance of SQL Server. You design a parameterized Data Analysis Expressions (DAX) prepare (<Content>Schema</Content>) query that's generated in the Query Designer of Report Builder in SQL Server Reporting Services (SSRS). When you execute the query, you may receive internal error messages that resembles the following:

An unexpected exception occurred.

Note The same query embedded in SSRS reports runs as expected.

Resolution

This fix for this issue is included in the following update for SQL Server:

Cumulative Update 13 for SQL Server 2017

About SQL Server builds

Each new build for SQL Server 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:

SQL Server 2017 build versions

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 standard 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.