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

How to insert new data into a [stg] entity table in MDS using a stored proc.?

$
0
0

Hello Everyone,

Right now, I manually publish data into one of my MDS entities using Excel UI.  Is there a way to insert new data into my MDS entities ( [stg] tables )  using a MDS SQL stored procedure so data refresh is refreshed automatically through an ETL process as opposed to me publishing data to a MDS server through an Excel UI.

Thank you very much.


donnie100


MDS Excel Plugin

$
0
0

Hi guys,

We are using Excel plugin to fetch and publish data in our local MDS. However, I'm wondering if I can configure a custom workflow to call another web service with the keys which are modified or inserted, whenever there is a push form business team through excel plugin?

Cheers

Business Rule corruption

$
0
0

Has anyone encountered then following:

Suddenly I cannot create or edit any existing business rule without it becoming corrupted. This occurred after security updates to the server. 

Running Windows Server 2012 and SQL Server 2016

Creating/editing a rule that uses a user defined function results in the following: "This business rule contains corrupted rule item(s), as corresponding SQL Script has been changed"

Creating a simple rule to check that an attribute value equal to some static value:

"The sequence must be greater than zero"

I've tried to look at the underlying stored procedures that run and the business rules tables, but have not found anything except the corrupted data.

Microsoft MDS with Java

$
0
0

Hi...

Is there any way can Microsoft MDS Webservice API's be accessible by Java.

Typically, WCF api is created for the MDS operations, and these will be exposed as services.

But, Can Java be used to create MDS services, without using WCF?

Thanks in Advance.

- Anand Kumar

Link Entity based on Value of Attribution

$
0
0

I am using Master Data Services SQL Server 2014.

I am trying to see if there is a way to link a Attribute to Entity based on the value of the attribute.

Example:

Portfolio    Type             Value

ABC           Country       Canada

ABC            Currency     CAD

In the example above, If I put Country as Type then the list of values are in the Country entity. If I put Currency as Type then the list of values are in the Currency Entity

ERR210052 - while deactivating a member even when there are no references

$
0
0

I am trying to deactivate some members and getting ERR210052  this error all the time. When i try from UI,  I am able to delete the member. Please suggest. 

SQL Server 2008 R2 MDS Version: 10.53.6000.34

We are having a major issue because of this problem. Please help.

Model Package Editor

$
0
0

I am on SQL Server 2012 and have just discovered the Model Package Editor which looked like a good alternative to our full package deployment.

When reading online, they talk about a wizard for editing the package however, when I run ModelPackageEditor, I don't get a wizard nor do I find any option to initiate the wizard. If I open a package file, I just get the XML and no option for easily managing what's in or out. 

Does anyone know what I'm missing or what I need to do to get it as per guides? Or even to bring up this mystical GUI for element selection?


Thanks

Business rules in MDS does not work as expected

$
0
0

Hi,

I have recently updated MDS to 2016 SP1. From then i face this issue.

I create a business rule to default to another attribute value but when i save it the second field disappears. I redo everything but still it does not appear. Is there a bug fixed after SP1 for this.

The business rule looks like this now

If 

None

Then

Owner defaults to <<the second field does not appear here >>

Else

None

Regads,

Swapna.


Can't publish business rules in 2016 - error 300

$
0
0

Hi


New to MDS, and am now playing around with 2016.

I am getting an error when trying to do "publish all" when managing business rules.

The error occurs both when I have created a new rule and when I try to delete it(having it in "Deletion pending" state).

The error I get is:

"300 : A database error has occurred. Contact your system administrator. "

Does anyone know what the actual problem can be or where I can find more info about the error codes for MDS?

Thanks in advance!


Sql server 2012 with service pack 3 encounter error 966134

$
0
0

Hi

I'm trying to install master data services on my server but keep encountering the 966134 "String or binary data would be truncated" error when the length of a SQL Server Integration Services (SSIS) DQS cleansing component name is longer than 32 characters. error.

Microsoft SQL Server 2012 (SP3) (KB3072779) - 11.0.6020.0 (X64)
 Oct 20 2015 15:36:27
 Copyright (c) Microsoft Corporation
 Enterprise Edition (64-bit) on Windows NT 6.2 <X64> (Build 9200: ) (Hypervisor)

Please help.

Thanks

Error when using default MDS WSDL in Java

$
0
0

Hi,

We are trying to implement Java client for MDS default service. We tried to create proxy for the WSDL (http:/localhost/Service/Service.svc?wsdl).

1) We use Eclipse with Apache CXF Maven Plug in to generate the proxy class. We get the following error:

[ERROR] Error while generating code.Location [ http://winx-v0223.jbhunt.com:81/Service/Service.svc?xsd=xsd0{1,196971}].
org.xml.sax.SAXParseException; systemId: http://winx-v0223.jbhunt.com:81/Service/Service.svc?xsd=xsd0; lineNumber: 1; columnNumber: 196971; A class/interface with the same name "com.roytuts.soap.client.Version" is already in use. Use a class customization to resolve this conflict.

[ERROR] Error while generating code.Location [ http://winx-v0223.jbhunt.com:81/Service/Service.svc?xsd=xsd4{1,280}].
org.xml.sax.SAXParseException; systemId: http://winx-v0223.jbhunt.com:81/Service/Service.svc?xsd=xsd4; lineNumber: 1; columnNumber: 280; (Relevant to above error) another "Version" is generated from here.

2) We also tried to create the proxy in Eclipse with Axis 2. We get the following error:

IWAB0399E Error in generating Java from WSDL:  java.io.IOException: ERROR: Missing <soap:fault> element inFault "SkuNotSupportedMessageFault" in operation "SkuNotSupportedMessageFault", in binding BusinessRulesPaletteGet

    java.io.IOException: ERROR: Missing <soap:fault> element inFault  

However, when we replace the wsdl:fault with wsdl:Soap in the WSDL file, we could able to generate the proxy.

3) We tried to create java proxy with the above tools for another WCF service (WSDL), there is no hurdle in getting the proxy class now. It creates without error. But, we get all the above 2 issues only with Default MDS Service


Please Let us know what is the right way to get the proxy out of Default MDS service WSDL.


- ANAND

Error publishing business rule, operator: must contain the pattern

$
0
0
Hello,

They help me with an error that shows me the Master Data Services of SQL Server 2016, when trying to create a business rule with the operator must contain the pattern. When you publish the business rule, it displays the error: 102: A database error has occurred. Contact your system administrator.

Reviewing the Master Data Service log shows the error:

--proc, server , database MDS. Error: System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near ','.
Incorrect syntax near ')'.
   at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)
   at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose)
   at System.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady)
   at System.Data.SqlClient.SqlCommand.RunExecuteNonQueryTds(String methodName, Boolean async, Int32 timeout, Boolean asyncWrite)
   at System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(TaskCompletionSource`1 completion, String methodName, Boolean sendToPipe, Int32 timeout, Boolean& usedCache, Boolean asyncWrite, Boolean inRetry)
   at System.Data.SqlClient.SqlCommand.ExecuteNonQuery()
   at Microsoft.MasterDataServices.Core.DataAccess.DbHelper.<>c__DisplayClasse.<>c__DisplayClass11.<ExecuteNonQuery>b__d()
   at Microsoft.MasterDataServices.Core.DataAccess.MdsDbUtilities.ExecuteMethodWithRecoverableErrorRetry(MethodDelegate method)
   at Microsoft.MasterDataServices.Core.DataAccess.DbHelper.<>c__DisplayClasse.<ExecuteNonQuery>b__c(SqlConnection connection)
ClientConnectionId:b1eb6dee-06d1-4a4e-82bc-d9990c518845

Ing. Allen Quiros SQL Server MCP

MDS Staging Table StatusID 2 and Error code 1048580

$
0
0

Hi,

I created SSIS package to insert data in MDS staging table and then process it.

However what i see lately is that majority of my records show ImportStatus_ID as 2 and Error code as 1048580.

I searched online but did not find what does this mean as there is no reference to this error code.

Can anyone help me understand what this error code mean?

Thanks


Thanks, Dilkush Patel Microsoft SQL Developer Support Microsoft Corporation

Master Data Services 2012 vs 2016 Hosted

$
0
0
I have a Question what happened with the parameter &Hosted=true (for include the MasterDataServices 2012 ) into a frame but into of SQL 2016 this parameter doesn't work

Thanks a lot for all answers

Bye

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!


Using MDS to manage SharePoint term-stores and Dynamics CRM option sets/lookup fields

$
0
0

We are busy developing an enterprise platform and applications using SharePoint, Dynamics CRM, BizTalk, etc.

Throughout the SharePoint and CRM environments, there are a number of meta-data term stores, option sets and lookup fields which have the same values. Maintaining these separately in SharePoint and CRM presents a problem in terms of data consistency. We are therefore exploring the option of using MDS to manage these sets, and to "push" them to SharePoint and CRM.

Questions I have in this regard are :

a) Is this a feasible solution? If not, any suggestions around how we keep these term sets, etc. in synch?

b) Assuming the solution is feasible, what is the best way to implement it? Custom services in SharePoint and CRM? BizTalk services and orchestration?

Transaction Issue in MDS API

$
0
0

Hi,

I'm trying to implement transaction in MDS through service. I'm inserting a member through EntityMembersCreate().

If there is any error while inserting, i need to revert this member entry from MDS [Like ROLLBACK transaction in TSQL].

Here is the code:

           // Create a new entity member
            OperationResult operationResult = new OperationResult();
            Collection<MemberIdentifier> InsertedMembers = new Collection<MemberIdentifier>();
            InsertedMembers = mdsProxy.EntityMembersCreate(international, entityMembers, true, out operationResult);


          // Reverse Transaction
            int iTransID = InsertedMembers[0].InternalId;//NOT GETTING TRANSACTION ID FROM MemberIdentifier
            Collection<ReplacementId> Replacement = new Collection<ReplacementId>();
            mdsProxy.TransactionsReverse(international, new Collection<int> { iTransID }, out Replacement);

1) I couldn't able to get the transaction ID in from the EntityMembersCreate. 

2) I found when there is an error in any attribute in member, then all other attributes are getting inserted expect that. Partial member is inserted even if one attribute is error out.Ideally I was expecting ALL OR NOTHING. 

Please advice on the above 2 queries.

Thanks in Advance!


- ANAND

Create/update relationship Entities in MDS

$
0
0

Hi,
I'm new to MDS. We have created 2 entities. 

Customer[Code,CustomerID,CustomerName] 

CustomerAddress[Code,CustomerID,AddressID,Address]

CustomerID is Domain based attribute in Customer table. 

User enters both customer and address from a single screen. Currently I'm using doing 2 service calls to achieve both these inserts.

1) First Create Customer member and get the inserted new customer code from InsertedMembers.

Collection<MemberIdentifier> InsertedMembers =  mdsProxy.EntityMembersCreate(international, entityMembersCustomer, true, out operationResult);
string strNewTypeCode = InsertedMembers[0].Code;//New Customer ype Code

2) Again another insert to CustomerAddress entity through another service call

mdsProxy.EntityMembersCreate(international, entityMembersAddress, true, out operationResult);


By anyway, if I this 2 service calls for this operation can be done with single EntityMembersCreate()?

Please guide me an optimum way to achieve this operation. I'm ready to change the Entity structure is needed.

We will do the same operation for Update too.

Thank you!


- ANAND

I need to notify multiple users in a business rule

$
0
0

MDS 2016

I need to notify multiple users in a business rule. I can select only one user in the combobox now.

Is user group only a domain group? If only the domain group, it does not suit me. I have a lot of small groups. I have no right to create domain groups.


from Moscow with money

How to insert logo image in the upper part of the web GUI ?

$
0
0

MDS 21016

How to insert company logo image in the upper part of the web GUI ?


from Moscow with money

Viewing all 1311 articles
Browse latest View live


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