FIX: Unexpected exception when you make cross-appdomain TOM call in SQL Server 2016

Aplica-se a: SQL Server 2016 DeveloperSQL Server 2016 EnterpriseSQL Server 2016 Enterprise Core

Symptoms


In Microsoft Microsoft SQL Server 2016, when you make a call to a Tabular Object Model (TOM) API that crosses AppDomain boundaries (for example, when you use .NET Remoting, or WCF together with custom exception serialization), you experience the following exception:

System.Runtime.Serialization.SerializationException

You expect a TOM exception instead. For example, you expect Microsoft.AnalysisServices.Tabular.TomValidationException.

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.