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

When I try to connect to MDS from Excel addin, I get the error - please see the attachement.

$
0
0

I have an issue with MDS (Master Data Services for ONE platform). When I try to connect to MDS from Excel addin, I get the error - please see the attachement.

could you please help in this as it is very urgent for me

Regards,

sriniv


Is there any way to coonect to MDS without using windows authentication

$
0
0

HI ,

Actually i am working for a client having MDS Server,but i am not working in client network domain

but i need to connect to mds server with my desktop credentails is there any way?

can you please help in this, thanks in advance

Regards,

Srinivas Poluri

how to add a reference to another entity member when creating a member

$
0
0

I need to create a member that one of its Attributes (maybe my term is wrong) is a reference to another entity member named group 

the code 

createRequest.Members.MemberType = MemberType.Leaf;
            createRequest.Members.Members = new System.Collections.ObjectModel.Collection<Member> { };
            Member aNewMember = new Member();
            aNewMember.MemberId = new MemberIdentifier() { Name = uag.groupName, MemberType = MemberType.Leaf };



            aNewMember.Attributes = new Collection<MDSService.Attribute>();

            aNewMember.Attributes.Add(new MDSService.Attribute { Identifier = groupID }); // groupID is Identifier I got of the referenced group

//Some other attributes here

createRequest.Members.Members.Add(aNewMember);

            // Create a new entity member
            EntityMembersCreateResponse createResponse = clientProxy.EntityMembersCreate(createRequest);
Tells me:  "The attribute data type is not valid"

Is it wrong to add the reference as attribute? 

How can I embed the reference in the new member? 


Ofer Gal

MDS Filter entity based on attribute from another domain

$
0
0

Hi,

I hope you could provide me with a solution to my problem. I have an entity (A), in which I use domain based attribute. The second entity (B) has several attributes. My problem is that, I would like to filter the first entity (A) based on an attribute that belongs to the second entity. The only way I can filter it (in MDS Excel add-in or Explorer) is by using Code or Name from the second entity.

I have in mind a couple of solutions, but they require some coding with xml saved query from Excel.

Is there out of a box solution that comes with MDS? 

How to manage MDS development + production (+UAT...) data + models?

$
0
0

Hi,

how would one manage development and production of MDS? Use only one MDS and dev / prod versions or use separate MDS installations for dev / prod? I am uncertain about the proper way to install this. We have to develop new models and enter new data on the dev machine. We then have to sync the models and some of that data to prod. We also have to sync some data back to dev at times (because data stewards enter data in prod that we require for dev).

Any hints on best practices would be great. TIA,

Tim


Need to set permission on a set of members. Setting Hierarchy member permission does not appear to work

$
0
0

Our business requires us to set permission by divisions. For example, division A can only update/change division A managed products and division B can only update/change division B managed products, etc. (Users of both divisions can read each other's products).

How could I accomplish this? I tried to set permissions on a derived hierarchy called Product By Division. But i did not get the desired result:

  • On the excel add-in, even though division A products are greyed out for division B users, division B users can still change any of the division A products and publish successfully.
  • On the web UI, division B users can't change division A products (good) but they can change their division attribute to A and save it. Also, add new member is diabled for all users.

I appreciate any insights on how to solve this.


Issue with Assigning Member Hierarchy Permissions in one environment

$
0
0

Issue: Currently the Member Hierarchy permissions will not become effective in our production environment. However, QA and DEV environments cannot replicate the issue.

Description:

On the Hierarchy Members screen, we assign read-only to one member and deny to the other.

The Entity is set to read-only for user.

When looking at the user only screen for the hierarchy membership - the read-only and deny permissions are shown. However, effective shows read-only for both AND an "*". If you hover over the members on this screen it shows  "Read-only (inherited).

In QA - the effective screen reflects the hierarchy membership permissions set under the user only screen.

Troubleshooting steps taken:

1. Validated that SQL Service account in Production environment has sysadmin access. The Service account actually didn't have the sysadmin access when I check originally. I added this and restarted SQL. However, the problem was not solved.

2. This issue is occurring for multiple users in the production environment. I cannot replicate it in QA.

3. After assigning all of the permissions I am using the recommended sp as directed in the immediately apply membership permissions write-up on technet

4. I have validated that the Service Broker is enabled and an Endpoint is present in the production environment.


EXEC   [mdm].[udpSecurityMemberProcessRebuildModel] @Model_ID = MODELID, @ProcessNow = 1;



Derived Hierarchy Permissions - able to move to locked parent

$
0
0

We have MDS 2012 in which we are using derived hierarchies to manage call center data. I have set up permissions at the highest parent level so that uses only have access to modify their centers, but have read only on the others so they can see other parts of the hierarchy.

Our users are testing and found they can move objects from parents where they have access to parents where they do not have access.

For example:

Parent A
-Child A
-Child B
Parent B
-Child C
-Child D

User Bob has Update permissions on Parent A, Read-Only on Parent B. Bob can move child A from Parent A to Parent B, even though he has Read-Only on Parent B.

No validation errors occur from business rules, nor from permissions; however, once the model validates, Bob cannot edit Child A under Parent B as it is now Read-Only. We do not want users to be able to move children across parents for which they do not have update access.

How to I fix this?


Change order of attributes using arrows jumps over 24 attributes

$
0
0

I am working in SQL Server Master Data Services  Version 11.0.5058.0 (SP 2).

I have been asked to group all the financial attributes together.  When I move one of the attributes up using the arrows, it works good jumping over one attribute at a time.  Then I reach a section of attributes where it leap frogs over 24 attributes. It appears these 24 attributes are in a subgroup but there are no attribute groups and I removed the subscription view from the entity.  If I move one of the 24 attributes in the group, it moves it outside of the 24 attributes.  Any ideas on what is causing this issue?

This is under leaf member attributes.  There are no collection or consolidated groups.

Thanks.


Cannot apply business rule - greater than decimal datatype

$
0
0

Hello,

I've encountered such a irritating problem, which I can repeat only on specific environment (even if both tested for sql server 2012).

I created a business rule for 'arg' datatype decimal. The condition is "if is not blank" and the action is "must be greater than 0". After publishing business rules I hit "apply rules" in excel add-in and I received this error:

"Error converting data type nvarchar to numeric. Transaction count after EXECUTE indicates as mismatching number of BEGIN and COMMIT statements. Previous count = 0, current count = 1.Transaction count after EXECUTE indicates as mismatching number of BEGIN and COMMIT statements. Previous count = 0, current count = 1.Transaction count after EXECUTE indicates as mismatching number of BEGIN and COMMIT statements. Previous count = 0, current count = 1.Transaction count after EXECUTE indicates as mismatching number of BEGIN and COMMIT statements. Previous count = 0, current count = 1. Uncommittable transaction is detected at the end of the batch. The transaction is rolled back. "

So far I am 100% sure, that the problem is caused by this specific business rule. There are no values in 'ARG' that return the error of "converting nvarchar to numeric", I've already tried to query that from db level witch cast or checked any uncommitted transactions.

Do you have any ideas what the cause is?

Get value of a member from an other entity

$
0
0

Hello ! 

My problem seems simple but I can't how to do it with MDS... or even if it's possible !

I've got 2 entities "Agent" and "Function". 
"Agent" has a code, a name, and an attribute called "function_code" which refers to "Function"'s code
"Function" as a code and a name. Name is the description of the function. 

I'd like to see in a single row : 

"Code", "Name", "Funcion_code" and "Name" (the last one from the entity "Function"). 

In SQL it will something like 

Select a.code, a.name, a.function_code, f.name
from agent a, function f
where a.function_code = f.code

I've tried with explicit hierarchy, derived hierarchy, consolidated members... 
I was able to have an entity with all those attributes but I can choose the attribute I want. My goal is that, according to "Function_code" in Agent, I get the "Name" of the function... 


Thanks a lot ! 

Powershell New-WebServiceProxy fails for MDS Web Service

$
0
0

It looks like the WSDL generated for the MDS web service is not valid. If you run the following in Powershell it fails:

PS > $svc = New-WebServiceProxy –Uri 'http://localhost/MDS/service/service.svc?wsdl'

New-WebServiceProxy : Exception has been thrown by the target of an invocation.
At line:1 char:8
+ $svc = New-WebServiceProxy –Uri 'http://lonw00053482/MDS/service/service.svc?wsd ...
+        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (:) [New-WebServiceProxy], TargetInvocationException
    + FullyQualifiedErrorId : System.Reflection.TargetInvocationException,Microsoft.PowerShell.Commands.NewWebServiceProxy

PS > $Error[0].Exception.InnerException.ToString()

System.InvalidOperationException: Method Service.SecurityPrincipalsClone can not be reflected. ---> System.InvalidOperationException: The XML element 'SecurityPrincipalsRequest' from namespace 'http://schemas.microsoft.com/sqlserver/masterdataservices/2009/09' references a method and a type. Change the method's message name using WebMethodAttribute or change the type's root element using the XmlRootAttribute.

I can probably manually generate a proxy assembly but it would be far easier if anyone knows a workaround for this.


James

could not install MDS Add-in for excel

$
0
0

I have Office 2013 installed, SQL server 2012  and MDS installed.

I tried installing MDS add-in (all version supporting 2010, 2013 & 2016) and I get same error about the prerequistes.

I tried installing it via command prompt through run as administrator option.

Can anyone help?

Thanks in advance

Product Entity with different Attributes for each type of Product

$
0
0
Hello,

We have a requirement where the Products would have different attributes (or data requirement).  For example:

the 'Ball Bearing' product should have the following attributes: Inner Diameter, Outside Diameter, Material, Shields

the 'O-Ring' product will have: Inner Diameter, Outside Diameter, Material

the Ball Valve product will have: Body Material, Connection Type, Size

Some of the Attributes above are Free Form like the Inner Diameter, Outside Diameter.  Some of them are Domain-based like the Material, Shields, Size, Connection Type.

The sample above are just few of their data requirements, but the average number of product attributes would be between 15-10 per product type.

We have 2000+ different kinds/type of products, combining all different/unique attributes, we have 1400+ unique attributes.  To make one master Product entity, I would need to create 1400+ different attributes.

I've tested one by creating a Product entity with 900 attributes (just below the table limitation).  Have created the entity via Excel add-in.  The entity was successfully created, but due to the Very Large entity, it would not even display in the explorer anymore.

What I would need to do is to have one product table, where each product would have their own attributes depending on the type of the Product.  Different products can be in different entities (if that is the only way), but I would still like be able to list all Products in one view or from another entity, then be able to drill down to their specific data requirements/attributes.

Brgds,

Harold

MDS Error: 0 : Evaluation period has expired.

$
0
0

Hi,

I had a SQL Server 2008 R2 Enterprise installed now I downloaded the SQL Server 2012 trial to try the new features.

I uninstalled the 2008 R2 version and installed the 2012 trial edition.

There was no problem, but the Master Data Services web application fails, it says that the Evoluation period has expired. 

I tried to find some information about this issue, I found the following forum without solution:

http://social.msdn.microsoft.com/Forums/en-IE/sqldenmds/thread/25bbd187-4d75-4735-baae-5b1607022608?prof=required

I set the web.config to log to file, now I have the following log entries in the log file:

MDS Error: 0 : Service started successfully,  Assembly version: 11.0.0.0, file version: 11.0.2100.60 ((SQL11_RTM).120210-1917 )
    DateTime=2012-06-03T20:45:26.0209765Z
MDS Error: 0 : ApiContractVersion: 5102
    DateTime=2012-06-03T20:45:26.0366015Z
MDS Start: 1 : Service.InitializeExpirationStatus
    DateTime=2012-06-03T20:45:26.0522265Z
MDS Error: 0 : Error 193 (0x000000c1). Unable to load sqlboot.dll from path: C:\Program Files\Microsoft SQL Server\110\Shared\sqlboot.dll
    DateTime=2012-06-03T20:45:26.0678515Z
MDS Stop: 2 : Service.InitializeExpirationStatus
    DateTime=2012-06-03T20:45:26.1303515Z

...

MDS Stop: 2 : Service.InitializeExpirationStatus

I checked the dll file in C:\Program Files\Microsoft SQL Server\110\Shared\sqlboot.dll still exists...

Have you got any idea how to solve this problem?

Thanks in advance!

Gabor Varga


Error: The query processor could not produce a query plan

$
0
0

Hi,

We have a issue with a MDS server that have been over us for a couple of days, the original error msg from SQL Server Engine is the one "The query processor could not produce a query plan" but the ones we get on the Excel-Addin are "Sequece contains no elements" or "The value cannot be null"

Thank you in advance for all the help you can provide :P

Using Microsoft SQL Server 2012 (SP1) - 11.0.3393.0 (X64) for 6months on this server without issues
Two weeks ago we started to have 2 errors: "Sequence Contains No Elements" | "The Value Cannot Be Null"
We are using the last version of Excel Add-in
We try to reinstall the MDS feature
If I backup/restore MDS database to other server it works
We updated to SQL 2012 SP2 + CU4 but the error persisted ...


Looking at the MDSTraceLog we are routed to the this msg

SQL Error Debug Info: Number: 8624, Message: Internal Query Processor Error: The query processor could not produce a query plan. For more information, contact Customer Support Services., Server: bbdvsql03\inst01, Proc: udpMetadataEntityGetDetailsXML, Line: 28

At line 28 udpMetadataEntityGetDetailsXML is calling udfMetadataEntityGetDetailsXML … and here is where we stopped

** Error found when try to get data from a entity using Excel add-in **
===================================

Sequence contains no elements

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

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


** From SQL Server Profile using a Trace we can see this sp been called **
exec mdm.udpObjectInformationLookup 
exec mdm.udpEntityMembersGet 


** Log from the MdsTraceLog **

MDS Error: 0 : SqlException message: A database error has occurred. Contact your system administrator.
   at Microsoft.MasterDataServices.Core.DataAccess.DbHelper.HandleExceptions(Exception ex)
   at Microsoft.MasterDataServices.Core.DataAccess.DbHelper.ExecuteXmlDeserializer[T](String sprocName, CloseConnectionBehavior closeBehavior, Object[] parameterValues)
   at Microsoft.MasterDataServices.Core.DataAccess.DbHelper.ExecuteXmlDeserializer[T](String sprocName, Object[] parameterValues)
   at Microsoft.MasterDataServices.Core.DataAccess.MdmDataAccess.GetList[T](Int32 userId, MemoryStream searchCriteria, MemoryStream resultOptions)
   at Microsoft.MasterDataServices.Core.BusinessLogic.MdmBusinessLogic`3.GetList(MetadataSearchCriteria searchCriteria, MetadataResultOptions resultOptions)
SQL Error Debug Info: Number: 8624, Message: Internal Query Processor Error: The query processor could not produce a query plan. For more information, contact Customer Support Services., Server: bbdvsql03\inst01, Proc: udpMetadataEntityGetDetailsXML, Line: 28

** Error found then we try to create a new entitie using Excel Add-in **
===================================

The value cannot be null.

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

   em Microsoft.MasterDataServices.ExcelAddInCore.PublishEntity.CreateEntityImpl(CreateEntityInfo info)
   em Microsoft.MasterDataServices.ExcelAddInCore.PublishEntity.<>c__DisplayClass3.<CreateEntity>b__0(CreateEntityInfo createEntityInfo)

===================================

The value cannot be null. (Microsoft.MasterDataServices.ExcelAddInCore)

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

   em Microsoft.MasterDataServices.ExcelAddInCore.PublishEntity.<>c__DisplayClasse.<CreateEntityImpl>b__9()

   
** Log from the MdsTraceLog **
   
    DateTime=2015-07-09T11:19:42.3647755Z
MDS Error: 0 : SqlException message:  A database error has occurred. Contact your system administrator.
   at Microsoft.MasterDataServices.Core.DataAccess.DbHelper.HandleExceptions(Exception ex)
   at Microsoft.MasterDataServices.Core.DataAccess.DbHelper.ExecuteXmlDeserializer[T](String sprocName, CloseConnectionBehavior closeBehavior, Object[] parameterValues)
   at Microsoft.MasterDataServices.Core.DataAccess.DbHelper.ExecuteXmlDeserializer[T](String sprocName, Object[] parameterValues)
   at Microsoft.MasterDataServices.Core.DataAccess.MdmDataAccess.GetList[T](Int32 userId, MemoryStream searchCriteria, MemoryStream resultOptions)
   at Microsoft.MasterDataServices.Core.BusinessLogic.MdmBusinessLogic`3.GetList(MetadataSearchCriteria searchCriteria, MetadataResultOptions resultOptions)
Informações de Depuração de Erro de SQL: Número: 8624, Mensagem: Internal Query Processor Error: The query processor could not produce a query plan. For more information, contact Customer Support Services., Servidor: bbdvsql03\inst01, Proc: udpMetadataAttributeGroupGetDetailsXML, Linha: 27

Maintaining contiguous code id's by applying business rule

$
0
0

I deleted some records out of an entity, I'd like to keep the Codes as contiguous and incremental, meaning no breaks between the code numbers.

I created a business rule and applied it but codes remain the same.

I used the "Default to a generated Value" action, then selected the Code attrib. --Saved.

Then back to the Entity, I applied business rules. But nothing seemed to have happened. As there was no change in codes.

There are no validation errors either.

What might I be missing?


--ACG

The "Master Data" ribbon does NOT show up after MDM add-in installed

$
0
0

Hello All, 

This issue does stop us doing anything forward. 

MDM add-in , first time, we found, when you go to options-->com add-ins, the verbage below shows "not loaded. A runtime error occurred". Then I followed below link to upgrade my MDM add-in

http://social.technet.microsoft.com/wiki/contents/articles/4520.troubleshooting-the-master-data-services-add-in-for-excel.aspx

Now, the situation is, the error msg goes away and it says "Loaded at startup". But it never loads up even restart your desktop and excel. 

Anyone can share some thoughts on this?

No idea how to move on.


Derek


MDS versionning in sql 2012 : not able to make a copy of a model version

$
0
0

Hi,

I loaded my model with an entity. it puts it in version_1.

1. now i need to to make a copy of version_1 and name it version_2. but i can't because the associated link is desabled.

Can some body tell me why ? and how to proceed to create the version_2 copy ?

2. After that, i have an SSIS package that loads the data.

i want to make the next load of that data into version_2.

how to do it ?

Thank you very much.

Nacer T.


Nacer CREPUQ BI Developer


Advanced filtering of domain-based attributes

$
0
0

I’m at a loss with a user requirement right now and I’m hoping you may have an idea to a solution.

Data Scenario– Sitemaster entity has two attributes (Region and Country).

  • Region and Country are both domain-based attributes on separate entities [Region and . The Country entity has a domain based attribute on REGION.
  • Data relationship looks like this… REGION > COUNTRY

Customer Requirement

  • Customer would like the MDS UI to filter the Country drop-down options based on the Region selection.

To my knowledge – the only filtering that can be done is based on user security using Hierarchy Membership Permissions.

Let me know if you have any ideas.


Viewing all 1311 articles
Browse latest View live