- You create a business rule for an entity in SQL Server 2008 R2 Master Data Services (MDS). The entity has multiple domain-based attributes that are populated by values from the same entity. The new business rule has conditions that are defined for more than one domain-based attribute, and these conditions point at the same entity.
- You try to publish the business rule.
A database error has occurred. Contact your system administrator.
Additionally, you can find an error that resembles below in MDSTrace.log
MDS Error: 0 : A database error has occurred. Contact your system administrator.
at Microsoft.MasterDataServices.Core.DataAccess.DbHelper.HandleExceptions(Exception ex)
at Microsoft.MasterDataServices.Core.DataAccess.DbHelper.ExecuteNonQuery(String query, CommandType commandType, CloseConnectionBehavior closeBehavior)
at Microsoft.MasterDataServices.Core.DataAccess.BusinessRules.BusinessRulesExecuteScript(CloseConnectionBehavior closeBehavior, String script)
at Microsoft.MasterDataServices.Core.BusinessLogic.BusinessRulesPublish.Generation.RunGeneration(BusinessRules businessLogicLayer, Int32 entityId, BREntityMemberType ruleSubType, OperationResult result)
SQL Error Debug Info: Number: 102, Message: Incorrect syntax near 'DBA.<NAME>.<LEAF>'., Server: ServerName, Proc: udp_SYSTEM_X_X_CHILDATTRIBUTES_ProcessRules, Line: X
Cumulative update information
SQL Server 2008 R2 SP2
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 2008 R2, click the following article number to view the article in the Microsoft Knowledge Base:
Article ID: 2723232 - Last Review: 5 Sep 2012 - Revision: 1