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

MDS Entity Sync

$
0
0

Hi,

I'm getting this error while i'm trying to sync an entity from a different model. By the way, I select "New Entity" since the entity does not already exist in the model i'm trying to sync to.

 

The last sync failed with error message : Initial sync of the entity has failed. The target entity contains at least one attribute that does not match a source entity attribute. Name of the first attribute that does not match a source entity attribute:"Code" .





SQL Server 2012 MDS Add-in won't install for Excel 2016

$
0
0

I recently upgraded to Excel 2016 (x64) and am trying to connect to MDS on SQL Server 2012. The add-in won't install, saying it needs a 64-bit version of Excel 2010.



Is there another version of the Add-in I should be using?

Installing SQL Server 2012 MDS Add-In for Excel Error

$
0
0

Hi,

I am trying to install MDS Add-In for Excel in my PC (Windows 7 64-bit). It has currently Excel 2010 64-bit and .NetFramework 4.5.1. I always hit this error below. It was installed successfully in my laptop using Excel 2013. Not sure how to make it work in Excel 2010 64-bit.

Please advise. Thanks!


cherriesh

MDS2016 - Entity menu, ordering

$
0
0
Hi all,

Under explorer, in the entity menu, they are ordered by creation date.
Is there any way to order them alphabetically or even better having a custom ordering and the ability to show or hide some of them ?

Regards,

Guillaume


Changing the DB Owner and user account for MDS Database

$
0
0

Hi,

Currently when I open the MDS Configuration Manager and choose a database, there is a preset username of the user used to create and configure the MDS Database.

But now, I want to change this user and run MDS from another User account. But there is no option to change the user account under which MDS should run.

Can anyone guide me on this

Thanks in advance!

Can we have two Master Data Service instance on same machine?

$
0
0
that is each MDS website has its own database?

Can we grant full access to two users?

$
0
0
Can we grant full access to two users? while install MDS it says only one user can be granted the permission to see all models

MDS Business Rule Priority

$
0
0

I was able to find the following online regarding Business Rule order of execution:

The order is as follows:

  1. Default Value

  2. Change Value

  3. Validation

  4. External Action

  5. User Defined Action Script

Source: https://msdn.microsoft.com/en-us/library/ff487015.aspx

While it isn't included in the list above, a little more testing has shown me that User Defined Validation Scripts run BEFORE User Defined Action Scripts, which leads me to my question: Given that User Defined Action Scripts run last, how are we supposed to validate members that were altered by a User Defined Action Script?  Given the above, it seems impossible, but that can't be right can it?


Jon


Master Data Services "Apply to All" recursive issue with User Defined Action Scripts

$
0
0

I appear to have stumbled upon a major bug with Master Data Services 2016, and would greatly appreciate hearing if anyone else can a) replicate this issue, or b) provide input towards solving this issue.

Conditions: 

  • Master Data Services 2016
  • I have an entity with over 5000 members; however I believe you can recreate this issue as long as there are multiple pages of members
  • I created a User Defined Action Script (UDAS) that edits an attribute/column/field for most members. The script first loads changes to the staging table, then imports the changes to the MDS leaf table.  

Issue: When I run the "Apply to All" function, my stored procedure (UDAS) is kicked off over and over again, without end. It appears to be running recursively or something.  It does not exhibit this recursive behavior when it is run for one member, one page of members, or from any options in the Excel Plug-In.  Only the "Apply to All" function within the MDS Web Application exhibits this issue.  

This is a serious problem as one mis-click can bog down the entire server.  Please help!


Jon

Active directory problems when configuring MDS web application

$
0
0

Greetings all,

I'm having an odd problem when attempting to create the MDS website (from within the Master Data Services Configuration Manager).  Below is a screenshot of the website configuration which, save the port number, is fairly standard (user name has been intentionally removed).  Note also that IIS is properly setup and passed all of the validations that occur upon launching the configuration manager.  It's also running SharePoint (on a different port, of course) without any issues, so I don't think it's a problem with IIS itself.

MDS website configuration

It seems that my username is successfully located in active directory as it correctly resolves the associated domain, but when I click OK, I get the following error (also displayed below): "The credentials could not be verified in Active Directory". Incidentally, I've tested this on two different servers with different domain accounts (even accounts that are part of different domains) and have the same issue.  I can't seem to find anything relevant to this problem in the event logs and I'm not sure if there's any supplemental logging being performed by the MDS configuration manager.

MDS website config error

Would anyone happen to have any insight regarding why this might be happening or be able to point me to a configuration manager log that might yield more information?

Thank you in advance.

Jonathan

The entity version cannot be validated. It is the target of a sync relationship

$
0
0

I'm getting this error when trying to run the stored procedure mdm.udpValidateModel. It smells like a bug to me, SP shouldn't be trying to validate entities that have been designated as "Sync Target"

MDSERR200226|The entity version cannot be validated. It is the target of a sync relationship., @ErrorNumber = 50000, @ErrorProcedure = "udpValidateEntity", line 34

MDSModelDeploy "The name already exists" ERROR MDS 2016

$
0
0

Hi,

Do you guys have the cure for this sort of error?

C:\Program Files\Microsoft SQL Server\130\Master Data Services\Configuration>

MDSModelDeploy deployupdate -service MDS1 -package MDS_0112.pkg Deploying package MDS_0112.pkg, updating model Mod MDSModelDeploy operation failed. Elapsed time: 00:00:11.0082811 Error: The model cannot be updated. 110003: The name already exists. Type a different name. Correlation Id: 402c8fc7-5f78-4cc9-9eda-e2f21a40706d Package deployment failed with 1 errors The name already exists. Type a different name.


I already tried to delete all of subscription views and business rules on both sides (dev - test).

I have done this deployupdate process quite a few times and it has succeeded always in the past..

Any ideas?

Thanks in advance!

Master Data Services 2016-Excel Addin

$
0
0

Hi,

Could anyone of you  let me know the version of Microsoft Office that is supported with Excel add-in of MDS 2016. Reason being asking this question is, I am trying to use Office 2010 with excel add-in but the change set option is not showing up. I searched in Microsoft site but it is not mentioned anywhere regarding office version supported.

Please help!!

Business Rule Extension > How to set a trigger to automatically update another entity using stored procedure?

$
0
0

I have an entity which the end user could access using the web interface. What i want to achieve is that whenever a unique addition is made to the "keyword" attribute it automatically updates another entity.
This could be done in SSMS using a trigger. But when using business rule for MDS i am stuck.
I figured out the process is going to be : Read data from the entity > Apply Filter > Load data into staging table
The part where i am struck is how to read from an entity using SSMS. Is there any table on which i can directly use the select statement or is there any log table that stores member updates?
I could have used subsciption view but it doesn't get automatically updated. Any suggestion in User defined stored procedure is appreciated.

thanks in advance!


MDS and Silverlight

$
0
0

When will Silverlight be removed as a requirement for MDS WebUI? 

And if there are no plans for removing this requirement, what can be a good alternative for using MDS?


File attribute in Master data services

$
0
0

Hi All,

I have an entity with a file type attribute.I am able to upload a file to this attribute from the MDS UI.However when I connect to the entity from the excel add-in for Master data services that attribute is not visible.How to make it visible in the excel ?

MDS Auto validation

$
0
0

Is there a way of have Business Rules/Validation auto applied to records when they're submitted or approved rather than it having to be an additional button click for an admin/approver? Alternatively, can it be scheduled to run regularly?

Cheers

Darren

Execution of staging procedure (stg.udp_entity_leaf) isn't finishing.

$
0
0

Hi all,

I'm executing a staging procedure to process data that I've just inserted into staging table. Every time I tryed to execute the procedure, the process is "freezing" on update below:

 UPDATE stgl   SET ErrorCode = stgl.ErrorCode | 2   FROM [stg].[Product_Leaf] stgl   INNER JOIN [stg].[Product_Leaf] stgl2   ON      stgl.Code = stgl2.Code       AND stgl.ID<> stgl2.ID       AND stgl.Batch_ID = stgl2.Batch_ID   WHERE stgl.ImportStatus_ID = 0 -- Default       AND stgl.Batch_ID = @Batch_

I checked the code and created a solution that is running very fast:

IF LEN(@BatchTag) > 0 BEGIN  

SELECT Code
into #Duplicated_Codes
FROM [stg].[Product_Leaf]
WHERE BatchTag = @BatchTag
AND ImportStatus_ID = 0 -- Default  
GROUP BY Code
HAVING COUNT(1) > 1

UPDATE [stg].[Product_Leaf]
SET ErrorCode = ErrorCode | 2 
WHERE Code IN(
SELECT Code
FROM #Duplicated_Codes)
AND BatchTag = @BatchTag
AND ImportStatus_ID = 0 -- Default 

DROP TABLE #Duplicated_Codes


END; -- IF  
ELSE IF @Batch_ID IS NOT NULL BEGIN  
UPDATE stgl  
SET ErrorCode = stgl.ErrorCode | 2  
FROM [stg].[Product_Leaf] stgl  
INNER JOIN [stg].[Product_Leaf] stgl2
ON      stgl.Code = stgl2.Code  
AND stgl.ID <> stgl2.ID  
AND stgl.Batch_ID = stgl2.Batch_ID  
WHERE stgl.ImportStatus_ID = 0 -- Default  
AND stgl.Batch_ID = @Batch_ID; 
END; -- IF  

The problem is, every time we changed the structure on MDS entity the MDS recreates its correlated procedure (stg.udp_entity_leaf) and we lost the update that I did into the procedure.

My questions are,

There is any kind of path to solve this issue?

Am I doing something wrong? I mean, does anyone has this same issue?


I'm using the MDS for SQL Server 2016.

Application server version may not match database version

$
0
0

In trying to get a piece of client software working on my workstation, I get this error. Can someone tell me what it means and what my fix it?

thanks

MDS 2017 developer edition installation issue

$
0
0

I am installing MDS as part of the developer edition on Windows server 2012R2 on an AWS VM. All IIS requirements are fulfilled and when defining the database to be used, the database creation fails with the following error:

Microsoft.MasterDataServices.Configuration.ConfigurationException:
The database owner SID recorded in the master database differs from the database owner SID recorded in database 'xxxx'. You should correct this situation by resetting the owner of database 'xxx'using the ALTER AUTHORIZATION statement.

This is a fresh installation, so it cannot be related to owner differences as you see in some restore situations.

I have looked at previous installations and did see the the owner of the master database was quite often different from the mds db owner.

Even if making sa the owner of the mds would solve the errorcondition, I don't see how it solves all the issues as the database is only partly defined and needs completion; but as the database is not yet recognized as an mds database repair or upgrade are not possible options to complete the database build.

Does anyone recognize this issue? I have installed mds quite a few times, but this is the first time I come accros this issue.

Kind regards and thanks for any good suggestion.

Peter

Viewing all 1311 articles
Browse latest View live