Quantcast
Channel: SQL Server Master Data Services forum
Viewing all articles
Browse latest Browse all 1311

Data publish and business rule validation database errors

$
0
0

Hi!

This is a bit complicated issue and I dont know if I have enough information, but maybe someone has seen this before.

The problem is that I am unable to publish data or apply rules to an entity when some specific rules are active, but I can do that to another entity with the same rules and similar data.

Error message from Excel add-in:

A database error has occurred. Contact your system administrator.

------------------------------
Program Location:

   at Microsoft.MasterDataServices.AsyncEssentials.AsyncResultBase.EndInvoke()
   at Microsoft.MasterDataServices.ExcelAddInCore.AsyncProviderBase`1.EndOperation(IAsyncResult ar)
   at Microsoft.MasterDataServices.ExcelAddInCore.DataView.<>c__DisplayClassc.<Validate>b__b(IAsyncResult ar)
   at System.Threading.Tasks.TaskFactory`1.FromAsyncCoreLogic(IAsyncResult iar, Func`2 endFunction, Action`1 endAction, Task`1 promise, Boolean requiresSynchronization)

More details:

I have two entities in MDS 2014, they have the same structure but entity 1 has 24 attributes, entity 2 has 43 attributes, everything is domain based.

Both entities have 8 rules defined, same logic in definitions.

Example of the rules that work on entity 1 but not on entity 2:

  1. IF nothing THEN Attr1 equals to value
    This rule is the same in both entities but the assigned value is different, Attr1 in this rule is domain based. The rule sets a default for Attr1
  2. IF Attr1 is equal to x THEN Attr2 must not be empty AND rest of attributes (~15 for entity 1 and ~35 for entity 2) must be equal to blank
    This rule is exactly the same in both entities.

This is really confusing because I have other 5 working rules, defined with similar logic on both entities.

I am 100% sure the rules are the problem, if I deactivate those specific 3 then everything is fine.

Anyone seen this before? What can be the problem?





Viewing all articles
Browse latest Browse all 1311

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>