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

MDS 2012 - Customer Data Modeling Design

$
0
0

Hello All,

I have some guidance regarding designing a master data model for the customer base, where the client is seeking to build MDM for analytical purposes

The requirements as following:

We have two data source with different data structure, each data source holds number of customer as following -  this data is fake, but it serves the requirements:

Data source 1:

PK

National ID

Name

Location

Email

1

A120

C. Ronaldo

Germany

cr@company.com

2

A120

C. Ronaldo

Germany

cr@company.com

3

A120

C. Ronaldo

Germany

cr@company.com

Data source 2:

ID

Name

Address

Email

123456

Cristiano Muller Ronaldo

170 St., Berlin

cr@company.com

The requirement as following:

  1. We need to cleanse the duplicates of the customer in Data source 1, however, each record has many transactions.
  2. We need to match the customer in Data source 1 with Data source 2 based on their names
  3. We need to keep track the record that we merge them, in order to let the data steward for unmerge them
  4. We need to keep the business keys of each of the data source – example, PK in Data source 1, and ID in Data source 2, the objective as we mentioned is MDM for analytical purposes, so the data warehouse that will extract the data from MDS hub shall know the transactions ID in order to retrieve their transaction from the data sources.
  5. We need to have Row-Level security
  6. We need to do the matching and cleansing the data automatically, as my client is not interesting in Excel features, since the integration will be done through SSIS because we have millions of records, and part of them will be done automatically.

The big question is how to achieve these requirements through leveraging the features of SQL DQS + MDS 2012





Adding one to many and many to many to metadata model

$
0
0

Hi All, 

I would like to log one to many and many to many relationships within the metadata model at the attributes level.

For instance I would like to log the information products (like reports) which use the specific attribute for impact analysis. This results in a one to many relationship because attributes might be shown within multiple information products.

Hence, I only notice the ability to add on a one per one basis. Hope you can help me out.

Master Data Services Add-in for Excel Issue

$
0
0

I am trying to configure MDS in the Production server. I am running into isssues.

(I was able to do the whole process successfuly in my local system - Versions are same in the local and server - Only difference is local machine is windows 7 server is Windows 2008 R2)

I have installed SQL server 2012 Enterprise Version SP1. I am able to browse the MDS URL. User has got full permissions. When I try to access the MDS via Excel I get the below error.

Can any one help me please I have spent days on this withou any joy.

Error message

TITLE: Master Data Services Add-in for Excel
------------------------------

An error occurred while receiving the HTTP response to http://MYIPADDRESS/mds/service/service.svc/bhb. This could be due to the service endpoint binding not using the HTTP protocol. This could also be due to an HTTP request context being aborted by the server (possibly due to the service shutting down). See server logs for more details.

------------------------------
ADDITIONAL INFORMATION:

The underlying connection was closed: An unexpected error occurred on a receive. (System)

------------------------------

Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. (System)

------------------------------

An existing connection was forcibly closed by the remote host (System)

------------------------------
BUTTONS:

OK
------------------------------


Bn

Bug

$
0
0

Hello,

adding a second user to the mds security tab works fine. Modifying the security to an entity for this user returns the following error. I first enabled the security to a derived hierarchy and then tried to apply security to an entity.

Event code: 3005 
Event message: An unhandled exception has occurred. 
Event time: 5-10-2016 13:52:36 
Event time (UTC): 5-10-2016 11:52:36 
Event ID: 7f7d795f5fb04957947d1f96ebf62b74 
Event sequence: 30 
Event occurrence: 1 
Event detail code: 0 
 
Application information: 
    Application domain: /LM/W3SVC/1/ROOT/MDS_TEST-1-131201419257283438 
    Trust level: Full 
    Application Virtual Path: /MDS_TEST 
    Application Path: C:\Program Files\Microsoft SQL Server\130\Master Data Services\WebApplication\ 
    Machine name: 
 
Process information: 
    Process ID: 33960 
    Process name: w3wp.exe 
    Account name: 
 
Exception information: 
    Exception type: ArgumentOutOfRangeException 
    Exception message: startIndex cannot be larger than length of string.
Parameter name: startIndex
   at System.String.Substring(Int32 startIndex, Int32 length)
   at System.Linq.Enumerable.<>c__DisplayClass7_0`3.<CombineSelectors>b__0(TSource x)
   at System.Linq.Enumerable.WhereSelectArrayIterator`2.MoveNext()
   at System.Linq.Buffer`1..ctor(IEnumerable`1 source)
   at System.Linq.Enumerable.ToArray[TSource](IEnumerable`1 source)
   at Microsoft.MasterDataServices.Core.BusinessLogic.Security.ToModelPrivileges(DataTable table, ResultType resultType)
   at Microsoft.MasterDataServices.Core.BusinessLogic.Security.GetModelPrivilege(RequestContext context, Int32 principalId, SecurityResolutionType resolutionType, PrincipalType principalType, ResultType resultType, Collection`1 results)
   at Microsoft.MasterDataServices.Core.BusinessLogic.Security.PopulateModelPrivilege(RequestContext context, Collection`1 users, SecurityResolutionType resolutionType, ResultType resultType)
   at Microsoft.MasterDataServices.Core.BusinessLogic.Security.GetUserSecurity(RequestContext context, SecurityPrincipalsCriteria criteria, OperationResult results, Boolean pruneDenies)
   at Microsoft.MasterDataServices.Core.BusinessLogic.Security.GetSecurityPrincipal(RequestContext context, SecurityPrincipalsCriteria criteria, SecurityPrincipals principal)
   at Microsoft.MasterDataServices.Services.Service.SecurityPrincipalsGet(SecurityPrincipalsGetRequest request)
   at Microsoft.MasterDataServices.WebUI.ServiceAdapter.ExecuteRequest[TRequestType,TResponseType](MdmServiceOperation`2 operation, TRequestType request, String caller)
   at Microsoft.MasterDataServices.WebUI.ServiceAdapter.GetModelPrivileges(Guid principalId, PrincipalType principalType, SecurityResolutionType resolutionType)
   at Microsoft.MasterDataServices.WebUI.ServiceAdapter.CacheModelPrivileges(Guid principalId, PrincipalType principalType, SecurityResolutionType resolutionType)
   at Microsoft.MasterDataServices.WebUI.ServiceAdapter.GetModelPrivilegesFromCache(Guid principalId, PrincipalType principalType, SecurityResolutionType resolutionType)
   at Microsoft.MasterDataServices.WebUI.Common.ModelTreeview.GetModelPermissions(SecurityResolutionType resolutionType)
   at Microsoft.MasterDataServices.WebUI.Common.ModelTreeview.LoadTree(Node parentNode)
   at Microsoft.MasterDataServices.WebUI.Common.ModelTreeview.LoadData(String principalId, PrincipalType principalType, DisplayModeType displayMode, Int32 modelId)
   at Microsoft.MasterDataServices.WebUI.Security.Common.Models.LoadTree()
   at Microsoft.MasterDataServices.WebUI.Security.Common.Models.LoadData()
   at Microsoft.MasterDataServices.WebUI.Security.Common.SecurityEditPageBase.OnLoad(EventArgs e)
   at Microsoft.MasterDataServices.WebUI.Security.Common.Models.OnLoad(EventArgs e)
   at System.Web.UI.Control.LoadRecursive()
   at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)

 
 
Request information: 
    Request URL: http://xxx/MDS_TEST/security/common/Models.aspx?PID=0f7ee8dc-7df8-4786-afef-0d1595a5e3dc&PTID=1&m=2&MID=00000000-0000-0000-0000-000000000000 
    Request path: /MDS_TEST/security/common/Models.aspx 
    User host address: 10.1.0.1 
    User:  
    Is authenticated: True 
    Authentication Type: Negotiate 
    Thread account name:  
 
Thread information: 
    Thread ID: 11 
    Thread account name:  
    Is impersonating: False 
    Stack trace:    at System.String.Substring(Int32 startIndex, Int32 length)
   at System.Linq.Enumerable.<>c__DisplayClass7_0`3.<CombineSelectors>b__0(TSource x)
   at System.Linq.Enumerable.WhereSelectArrayIterator`2.MoveNext()
   at System.Linq.Buffer`1..ctor(IEnumerable`1 source)
   at System.Linq.Enumerable.ToArray[TSource](IEnumerable`1 source)
   at Microsoft.MasterDataServices.Core.BusinessLogic.Security.ToModelPrivileges(DataTable table, ResultType resultType)
   at Microsoft.MasterDataServices.Core.BusinessLogic.Security.GetModelPrivilege(RequestContext context, Int32 principalId, SecurityResolutionType resolutionType, PrincipalType principalType, ResultType resultType, Collection`1 results)
   at Microsoft.MasterDataServices.Core.BusinessLogic.Security.PopulateModelPrivilege(RequestContext context, Collection`1 users, SecurityResolutionType resolutionType, ResultType resultType)
   at Microsoft.MasterDataServices.Core.BusinessLogic.Security.GetUserSecurity(RequestContext context, SecurityPrincipalsCriteria criteria, OperationResult results, Boolean pruneDenies)
   at Microsoft.MasterDataServices.Core.BusinessLogic.Security.GetSecurityPrincipal(RequestContext context, SecurityPrincipalsCriteria criteria, SecurityPrincipals principal)
   at Microsoft.MasterDataServices.Services.Service.SecurityPrincipalsGet(SecurityPrincipalsGetRequest request)
   at Microsoft.MasterDataServices.WebUI.ServiceAdapter.ExecuteRequest[TRequestType,TResponseType](MdmServiceOperation`2 operation, TRequestType request, String caller)
   at Microsoft.MasterDataServices.WebUI.ServiceAdapter.GetModelPrivileges(Guid principalId, PrincipalType principalType, SecurityResolutionType resolutionType)
   at Microsoft.MasterDataServices.WebUI.ServiceAdapter.CacheModelPrivileges(Guid principalId, PrincipalType principalType, SecurityResolutionType resolutionType)
   at Microsoft.MasterDataServices.WebUI.ServiceAdapter.GetModelPrivilegesFromCache(Guid principalId, PrincipalType principalType, SecurityResolutionType resolutionType)
   at Microsoft.MasterDataServices.WebUI.Common.ModelTreeview.GetModelPermissions(SecurityResolutionType resolutionType)
   at Microsoft.MasterDataServices.WebUI.Common.ModelTreeview.LoadTree(Node parentNode)
   at Microsoft.MasterDataServices.WebUI.Common.ModelTreeview.LoadData(String principalId, PrincipalType principalType, DisplayModeType displayMode, Int32 modelId)
   at Microsoft.MasterDataServices.WebUI.Security.Common.Models.LoadTree()
   at Microsoft.MasterDataServices.WebUI.Security.Common.Models.LoadData()
   at Microsoft.MasterDataServices.WebUI.Security.Common.SecurityEditPageBase.OnLoad(EventArgs e)
   at Microsoft.MasterDataServices.WebUI.Security.Common.Models.OnLoad(EventArgs e)
   at System.Web.UI.Control.LoadRecursive()
   at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
 
 
Custom event details: 

Row Level Security

$
0
0

Hi,

I enabled row level security by creating a DH on an entity and specifying for 2 users which members they are allowed to see. When I log in as user A it shows the members it is allowed to see. The user has also permission to create a new member. After creating a new member, it is visible for user A for some time, but after a while (and refreshing the browser) it disappears. It sounds logical because there is no security set on the newly created member.

What do I have to do to support the scenario that a user only sees the data to which it is allowed to see (row level security) and that newly created members are automatically applied to the right security settings (e.g. row level security is automatically assigned to newly created members).

Q

Business Rule Extension examples

$
0
0

Does anyone know if there are any examples of how to implement business rules extensions by using SQL Functions for conditions and stored procedures for actions in MDS2016? 

Any pointers are much appreciated.

Q

Create Entity Using SQL Query

$
0
0

Hi All,

I want to create an Entity and Attributes in MDS using SQL Query. 

Anyone could share the script...!

Thanks in Advance..!

Baskaran R

Recruiting people who would like to work with us for MDS (Master Data Service) features

$
0
0

Hi All,

This is Leo Li from MDS team. Microsoft released new version of MDS with a lot of new features to fulfill requirements from customers. Now we are working on plan for next release, and would like to collect all your suggestions and scenarios. If you are interested in this topic or have any ideas on this product, please give us your feedbacks. During the engagement, we also would like to show your demo or invite you to try it out when it’s available. Please reply all or reply to me with the following information:

1. Your contact information (email etc.)

2. Your company name


EntityMembersMergeRequest using SOAPUI

$
0
0

Hi There,

I am just trying to use the features offered by MDS and its WCF WebService.

I created an entity in MDS, and I want just to insert / merge one line in this new entity. So I took the wsdl offered by the http://localhost/mds/service/service.wcf?wsdl

Until now everything works fine, I called with SOAPUI the ServiceCheck and ServiceVersionGet and it replied properly.

However when I try to call the EntityMembersMergeRequest I couldn't figure out what parameters to pass to the WebService in order fo it to work.

Below is the request ( in MDS my entity is called "Key Issue")

      <ns:EntityMembersMergeRequest>
         <ns:Members>
            <ns:EntityId>
               <ns:Name>Key Issue</ns:Name>
            </ns:EntityId>
            <ns:MemberType>Leaf</ns:MemberType>
            <ns:Members>
               <!--Zero or more repetitions:-->
               <ns:Member>
                  <!--Optional: Should I use this? 
                  <ns:Attributes />
                  -->
                  <ns:Collections>
                     <ns:Collection>
                        <ns:CollectionId>
                           <ns:Code>123</ns:Code>
                           <ns:MemberType>Leaf</ns:MemberType>
                        </ns:CollectionId>
                     </ns:Collection>
                  </ns:Collections>
                  <ns:MemberId>
                     <ns:Code>123</ns:Code>
                  </ns:MemberId>
               </ns:Member>
            </ns:Members>
            <ns:ModelId>
               <ns:Name>Key Issue</ns:Name>
            </ns:ModelId>
            <!--Optional:-->
            <ns:VersionId>
               <ns:Name>2017</ns:Name>
            </ns:VersionId>
         </ns:Members>
         <!--Optional:-->
         <ns:ReturnCreatedIdentifiers>true</ns:ReturnCreatedIdentifiers>
      </ns:EntityMembersMergeRequest>

All the time I got the same error : 

      <EntityMembersMergeResponse xmlns="http://schemas.microsoft.com/sqlserver/masterdataservices/2009/09">
         <CreatedMembers i:nil="true" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"/>
         <OperationResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
            <Errors>
               <Error>
                  <Code>300005</Code>
                  <Context>
                     <FullyQualifiedName/>
                     <Identifier>
                        <Id>00000000-0000-0000-0000-000000000000</Id>
                        <Name>Key Issue</Name>
                        <InternalId>0</InternalId>
                     </Identifier>
                     <Type>Model</Type>
                  </Context>
                  <Description>The supplied model is not valid.</Description>
               </Error>
            </Errors>
            <RequestId>a2f0d843-f278-4e5c-a9ec-a5b3c39a1988</RequestId>
         </OperationResult>
      </EntityMembersMergeResponse>

Any Help on this?

Thanks


Reporting Solution for BizTalk |follow-us on twitter

MDS 2016 - How to reassign super user access now that [mdm].[udpSecuritySetAdministrator] is gone?

$
0
0

Often a user creates an MDS database without granting Administrator or Super User access to other users, then leaves the company. As a result nobody can maintain the MDS databases (and as their AD account gets disabled we can't use it either).

In MDS 2008 R2 -> MDS 2014 Microsoft has a procedure to circumvent this issue as documented here https://msdn.microsoft.com/en-us/library/ff487048%28v=sql.120%29.aspx?f=255&MSPPError=-2147217396

However in MDS 2016 the procedure mdm.udpSecuritySetAdministrator is no longer available. What's the Microsoft supported method of reassigning Super User now when the original super users are no longer available?


Dynamic data masking from leaf to subscription not working as expected in MDS 2016

$
0
0

Hi,

While doing PoC for dynamic data masking in SQL 2016, We came across an issue, where we are trying to process data after applying mask function in one of the attribute in leaf table. When we process leaf data to subscription view as admin user, subscription procedure (UDF) reading mask data instead of original data & processing the same in MDS subscription.

Ideally if we are running MDF leaf UDF as admin user, it should process original data not masked one.

Is it MDS bug or Is there any other way to process the same?

Thanks,

Dipendra Sing Baghel

Master Data Services 2016 Excel Add-in - Crashes Excel 2016 on Startup

$
0
0

Has anyone found an issue with the Master Data Services 2016 Excel-add in ( x64 ) causing Excel 2016 x64 to crash continually at start-up ?

I'm running Windows 10 Enterprise Version 10.0.10586 Build 10586

Excel is 2016 x64 running under Office 365 ProPlus

MDS Excel Add-in version 13.0.2121.20 (x64)

I also have the required .netframework versions and Visual Studio 2010 runtime installed.   Tried it on a Windows 7 machine with the same version of Excel and MDS plug-in without any issues; tried it on another Windows 10 Laptop and the issue occurred again.

Event Log errors:

Microsoft Excel: Rejected Safe Mode action : Excel is running into problems with the 'microsoft.masterdataservices.exceladdin' add-in. If this keeps happening, disable this add-in and check for available updates. Do you want to disable it now?

Faulting application name: EXCEL.EXE, version: 16.0.6769.2017, time stamp: 0x57014339
Faulting module name: KERNELBASE.dll, version: 10.0.10586.494, time stamp: 0x5775e4c5
Exception code: 0xe0434352
Fault offset: 0x0000000000071f28
Faulting process ID: 0x1eb0
Faulting application start time: 0x01d22467a6027154
Faulting application path: C:\Program Files\Microsoft Office\root\Office16\EXCEL.EXE
Faulting module path: C:\WINDOWS\system32\KERNELBASE.dll
Report ID: fef04df0-905a-11e6-88d5-5ce0c5ac6c2d
Faulting package full name:
Faulting package-relative application ID:

Ran the VSTO manually and get the following:

System.Deployment.Application.InvalidDeploymentException: Exception reading manifest from file:///C:/Program%20Files/Microsoft%20SQL%20Server/130/Master%20Data%20Services/Excel%20Add-In/Microsoft.MasterDataServices.XLAddIn.vsto: the manifest may not be valid or the file could not be opened. ---> System.Deployment.Application.InvalidDeploymentException: Manifest XML signature is not valid. ---> System.Security.Cryptography.CryptographicException: No signature was present in the subject.
   at System.Deployment.Internal.CodeSigning.SignedCmiManifest.Verify(CmiManifestVerifyFlags verifyFlags)
   at System.Deployment.Application.Manifest.AssemblyManifest.ValidateSignature(Stream s)
   --- End of inner exception stack trace ---
   at System.Deployment.Application.Manifest.AssemblyManifest.ValidateSignature(Stream s)
   at System.Deployment.Application.ManifestReader.FromDocument(String localPath, ManifestType manifestType, Uri sourceUri)

Any help would be appreciated.

Thanks :)

Data Type and Length greyed out

$
0
0

I've created an entity with a DESCRIPTION attribute which was created with a DATA TYPE of "Text" and LENGTH of 1438...now that some time has passed, I'm realizing that length should have been more like 2000 characters.  

So, the question is:  How can I increase a text field's length once it's been created?  Both the DATA TYPE and LENGTH are greyed out...

Or perhaps the question should be:  Why are the DATA TYPE and LENGTH properties of an attribute greyed out?  I'm the guy that installed everything, I have god rights to everything...it's not a permissions issue (as best as I can tell), so why can't I change the length?

Integration between Different Models

$
0
0

Hello, 

Can two be integrated in MDS, can I create a consolidated Model to extract the needed data from different models? 

Regards,

Mohammad Yousri


Mohammad Yousri - http://mohammad-yousri.blogspot.com

Can't delete an attribute or hierarchy

$
0
0

Hi

I can’t delete attributes from an entity in Master data services 2016. When I press the delete button the status icon changes to read with the sign !. When I hover over the icon the text is only “error”.

When I’m trying to delete a hierarchy the status hangs on GenericStatus_Updating.

I have tried this on our test server which have been updated from 2014 to 2016. When I noticed the problem on our test server I made the same test on the live server which are a fresh 2016 installation. And the problem was exactly same on the live server.

There is no problem to make new or edit entities, attributes or hierarchies. It’s only problem to delete objects.

Have I missed something I need to do in 2016.?

Tanks in advance

Christopher


Create MDS Entity Using SQL Query

$
0
0

Hi All,

I want to create an Entity and Attributes in MDS using SQL Query. 

Anyone could share the script...!

Thanks in Advance..!

Baskaran R


Validation / Business rule ...

$
0
0

Hi,

New to the product and just wondering how to ... I have a list of valid product combinations in a Entity (REF_Unique_Product_Levels), I then have a Entity that contains Products where we put the Product levels on.

Because we can't limit the slection from level to level, I have come up with a solution that they pick their levels (limited to dropdowns not free text) and then at the end I have a column that concatenates the 5 levels. 

What I want to do now is compare the concatenated column to the REF_Unique_Product_Levels to see if the combination is Valid or not.

Any guidance on how to do this would be greatly appreciated.

MDS 2016 - subscription view page freezes

$
0
0

Hi,

We have recently test-migrated our MDS-solution from SQL Server 2012 to SQL Server 2016 and have found one ”show-stopper”.

In the subscription view page, it takes forever to load the page, and when we select one of the existing views it takes forever to load the Add/Delete and Edit buttons.

We have around 100 subscription views and its works perfect in MDS 2012.

Has anyone else faced this problem?

BR

AL

Error when creating a new Entity Sync to an Existing Target Entity

$
0
0

Hi,

I managed to create Entity Syncs for many existing Entities but I have a bunch of Entities where I cannot seem to get Sync to work properly.

I get the following fail:

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:...

I have checked the all the Column names and types, entity properties, etc. and I always get the same error.

Does anybody have an idea about what is wrong?

Thank you.


Japanese signs impacting error message "The user does not have premission or the Object ID is not valid"?

$
0
0

Hi,

I have MDS 2012 installed and we always use Excel add-in to add/modify records. One of my Japanese users occationally gets the error message "The user does not have premission or the Object ID is not valid" when adding records.

We have done no changes to the users access, in fact we haven't done any changes or additions at all in the administration tool. A temporary solution has been that I as administrator add the records for the user for some time (no issues for me as administrator) and after some preiod, the user can add records to the enity again. I dont know what trigger that it works again.

After the user has gotten this error message, I as an administrator can open up the entity and see as many empty rows as the user has tried to add, including only automatically generated code, all other attributes/columns are empty.

Last time this happend we noticed that there were some issue with a column containing Japanese signs.
On apply rules we got a error message refering to that column with japanese sign saying "Conversion failed when converting the nvarchar value "xxx" to data type int." The column is nvarchar/text field. We tried to add a value to the same column containing latin letters/text and we got the same error. Publishing after this gav us the error message "The user does not have premission or the Object ID is not valid". However, publishing all columns except the one containing Japanese signs was successful and modifying/adding the japanese text to the record as second step was also successful!

Does anyone have an idea what the problem can be?

Viewing all 1311 articles
Browse latest View live


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