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

MDSERR400038|Unpublished business rules exist. Apply the business rules before running Business Rules or Validation again.

$
0
0

Hi,

I am getting the following error (in MDSTrace.log) when I click on 'Apply Rules'. 

MDS Error: 0 : Service started successfully,  Assembly version: 11.0.0.0, file version: 11.0.3368.0 ((SQL11_SP1_QFE-CU).130522-1657 )
    DateTime=2013-06-18T18:51:01.3798605Z
MDS Error: 0 : ApiContractVersion: 5102
    DateTime=2013-06-18T18:51:01.3798605Z
MDS Error: 0 : SqlException message: Unpublished business rules exist. Publish the business rules before running Business Rules or Validation again.
   at Microsoft.MasterDataServices.Core.DataAccess.DbHelper.HandleExceptions(Exception ex)
   at Microsoft.MasterDataServices.Core.DataAccess.DbHelper.ExecuteDataSet(String spName, CloseConnectionBehavior closeBehavior, Object[] parameterValues)
   at Microsoft.MasterDataServices.Core.DataAccess.MasterDataAccess.<>c__DisplayClass5.<ValidateEntityMembers>b__4()
   at Microsoft.MasterDataServices.Core.DataAccess.DbHelper.ExecuteMethodWithDeadlockProtection(MethodDelegate method)
   at Microsoft.MasterDataServices.Core.BusinessLogic.Validations.ValidateMembers(Int32 versionId, Identifier entityIdentifier, IList`1 memberIds, RequestContext context, OperationResult results)
   at Microsoft.MasterDataServices.Core.BusinessLogic.Validations.Process(ValidationProcessCriteria criteria, Boolean commitVersion, Boolean validateEntityAsync, Boolean returnValidationResults, RequestContext context, OperationResult results)
SQL Error Debug Info: Number: 50000, Message: MDSERR400038|Unpublished business rules exist. Apply the business rules before running Business Rules or Validation again., Server: SQLDB2012S1\SQL2012, Proc: udpBusinessRule_AttributeMemberController, Line: 42

    DateTime=2013-06-18T18:51:16.5282238Z
MDS Error: 0 : <ArrayOfError xmlns="http://schemas.microsoft.com/sqlserver/masterdataservices/2009/09" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Error><Code>400038</Code><Context i:nil="true" /><Description>Unpublished business rules exist. Publish the business rules before running Business Rules or Validation again.</Description></Error></ArrayOfError>
    DateTime=2013-06-18T18:51:16.5282238Z

This started showing up today after the server reboot while it was towards the end of validating the model yesterday. I ran a select all on tblEvent and this is what it contains. Not sure if it helps.

ID	MUID	Version_ID	EventName	EventStatus_ID	EnterDTM	EnterUserID	LastChgDTM	LastChgUserID
1	CDD8AB20-B3D5-4658-AC74-510B8D93F3A4	2	ValidateModel	2	2012-11-21 21:59:22.430	2	2012-11-21 22:14:15.880	2
2	E1E26E29-E882-401C-B0A6-8DBFFE19DA06	3	ValidateModel	2	2013-02-19 19:41:44.253	2	2013-06-18 14:18:01.557	2

I googled the error but didn't find anything useful. I also tried to reset the service broker. However, the error still shows up.

Please advise.

Thanks,
Kamal


Viewing all articles
Browse latest Browse all 1311

Trending Articles



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