Article ID: 2790878 - View products that this article applies to.
Consider the following scenario:
In this scenario, the matching policy rule runs, but it is not successful. Additionally, you may receive the following error message:
System.InvalidCastException: Unable to cast object of type 'System.DBNull' to type 'System.Byte'.
at Microsoft.Ssdqs.DataValueService.Service.DataValueServiceConcrete.SetSynonymsByComputationValue(IMasterContext context, SynonymQueryRange range)
at Microsoft.Ssdqs.DataValueService.Calibrator.DomainValueManagementCalibrator.Calibrate(IMasterContext masterContext, CalibrationMode calibrationMode, ConfigurationDomParameter calibratorConfiguration)
at Microsoft.Ssdqs.Core.Service.Calibration.Impl.ExecuteCalibratorFlow.Process(IMasterContext context)
Note In this scenario, the knowledge base may have incorrect references. You might have to re-create the knowledge base, or restore it from a backup.
The issue occurs because the knowledge base points to nonexistent values. When you try to rerun the matching policy rule, it cannot use the nonexistent values in the calculations.
Cumulative update information
Cumulative Update 2 for SQL Server 2012 Service Pack 1 (SP1)The fix for this issue was first released in Cumulative Update 2. For more information about how to obtain this cumulative update package for SQL Server 2012 Service Pack 1, click the following article number to view the article in the Microsoft Knowledge Base:
2790947Note Because the builds are cumulative, each new fix release contains all the hotfixes and all the security fixes that were included with the previous SQL Server 2012 Service Pack 1 fix release. We recommend that you consider applying the most recent fix release that contains this hotfix. For more information, click the following article number to view the article in the Microsoft Knowledge Base:
(http://support.microsoft.com/kb/2790947/ )Cumulative update package 2 for SQL Server 2012 Service Pack 1
2772858Note After you install the cumulative update package, you must run DQSInstaller.exe -upgradedlls on the server to upgrade the Data Quality Services (DQS) SQL Common Language Runtime (SQLCLR) assemblies before users can use the Data Quality Client application to reconnect to the DQS.
(http://support.microsoft.com/kb/2772858/ )The SQL Server 2012 builds that were released after SQL Server 2012 Service Pack 1 was released
For more information about how to upgrade SQLCLR assemblies, go to the following Microsoft websites:
How to upgrade SQLCLR assemblies after .NET Framework update
Upgrade DQS: Installing cumulative updates or hotfix patches on Data Quality Services
Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.
To work around the issue, click Cancel to discard the knowledge base changes, reopen the knowledge base, and then run the matching policy rule again.
Article ID: 2790878 - Last Review: January 24, 2013 - Revision: 1.0
Contact us for more help
Connect with Answer Desk for expert help.