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

Excel Macro to click on publish button of Master Data Services Add-in

$
0
0

I am creating an excel macro to perform extra validation and defaults whilst the user is editing the MDS entity. It will be added as a workbook add-in. At the end of the macro I would like to be able to launch publish. The MDS addin is a ribbon. Does anyone have an example of how I can simulate a click on the Publish button or what the call that the button does is?


David Roseneder

MDS Configuration Manager > Create Web Application = Unexpected Error, Keyset does not exist (HRESULT: 0x80090016)

$
0
0

we are having Problems installing MDS on new sever.

Server: Windows 2008 R2
SQL Server 2012 SP1 (Developer Edition)

In the Master Data Services Configuration Manager Wizard ...

- DB Creation (Database Configuration) was succesfull

- But we are stucked in the "Web Configuration", "Create Application" failes in both cases (Choose "Create new Website" or choose existing site like "Default Web Site")

Error Message is alwasy:
Unexpected Error - An unexpected error occurred: Keyset does not exist (Exception from HRESULT: 0x80090016)

Any ideas? Are there any Extended logs created by Wizard activity? Windows Application Eventlog Shows nothing!

Delete using MDS Web Interface not working.

$
0
0

Hello,

I'm currently using MDS 2012 and have setup a new model. The model has been populated using SSIS. When I use the Web Interface and try deleting a row, it shows that the information is being deleted but nothing happens.

I've got Administrator rights on both the SQL & MDS environments. I've checked the event log however there are no errors logged. I also ran a trace in SQL and found nothing.

Your assistance in resolving this will be much appreciated.

Thanks

 

MDS - Excel Switch Server, allow change of Connection ? Workarounds/Hacks available?

$
0
0

There's a connect entry describing exactly my Problem:

Using the Master Data Services Excel Add-in, user establishes a connection, creates a table of data from an Entity and saves the Excel file.  If in the future they want to change the Connection (e.g. point to a different MDS server), there is no apparent way to acheive this.

https://connect.microsoft.com/SQLServer/feedback/details/773739/master-data-services-excel-add-in-allow-change-of-connection

Did anyone found a pragmatic Workaround for switching the Connection/Server for existing MDS-Tables in Excel? This shouldn't be rocket sience or? Where does the addin store this "metainformation" within Excel-file?

 

It will throw System.ArgumentOutOfRangeException when do add member in page2 of MDS2012.

$
0
0

Prerequisite:Make Entity has more than 2 pages.

Repro1:

1.Go to MDS explorer and choose entity.

2.Go to Page 2.

3. Click Add member button.

Repro2:

1. Go to MDS explorer and choose entity.

2. Click Add member button.

3. Go to Page 2.

Actual Result:

System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index
   at System.ThrowHelper.ThrowArgumentOutOfRangeException()
   at System.Collections.Generic.List`1.get_Item(Int32 index)
   at System.Collections.ObjectModel.Collection`1.get_Item(Int32 index)
   at Microsoft.MasterDataServices.Client.ViewModel.Common.SortablePagedCollectionView`1.GetEnumerator()
   at System.Windows.Controls.DataForm.get_ItemsCount()
   at System.Windows.Controls.DataForm.SetCanMoveToLastItem()
   at System.Windows.Controls.DataForm.SetAllCanProperties()
   at System.Windows.Controls.DataForm.<SetUpCollectionView>b__a(DataForm instance, Object source, NotifyCollectionChangedEventArgs eventArgs)
   at System.Windows.Controls.WeakEventListener`3.OnEvent(TSource source, TEventArgs eventArgs)
   at System.Collections.Specialized.NotifyCollectionChangedEventHandler.Invoke(Object sender, NotifyCollectionChangedEventArgs e)
   at Microsoft.MasterDataServices.Client.ViewModel.Common.SortablePagedCollectionView`1.CollectionChangedHandler(Object sender, NotifyCollectionChangedEventArgs e)
   at System.Collections.Specialized.NotifyCollectionChangedEventHandler.Invoke(Object sender, NotifyCollectionChangedEventArgs e)
   at System.Collections.ObjectModel.ObservableCollection`1.OnCollectionChanged(NotifyCollectionChangedEventArgs e)
   at System.Collections.ObjectModel.ObservableCollection`1.InsertItem(Int32 index, T item)
   at System.Collections.ObjectModel.Collection`1.Insert(Int32 index, T item)
   at Microsoft.MasterDataServices.Client.ViewModel.MasterData.EntityMembersViewModel.AddNewMemberToCollection(Guid requestId, EntityMembersGetResponse response, Exception ex)
   at Microsoft.MasterDataServices.Client.ViewModel.ServiceProxy.ServiceClient.<>c__DisplayClass16`2.<ExecuteRequest>b__15(Object sender, RequestCompletedEventArgs`1 e)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at Microsoft.MasterDataServices.Client.ViewModel.ServiceProxy.ServiceClient.OnEntityMembersGetCompleted(Object state) 

Unable to access master database using SendSuite Installer on SQL 2008 R2

$
0
0

Currently trying to install new database on an instance of Microsoft SQL 2008 R2 installed on Windows 2008 R2. Using installer supply by SendSuite on an application server for this and getting error ‘unable to access master database.’ Installer prompts for database sysadmin account, password valid ok when using the sa account for this.

But SQL event logs shows access being tried via the account logged on to the application server and not the account requested in the SendSuite installer (e.g the sa account)

Can anyone suggest what access permission/roles are required on master database to create this application database?Has anyone tried installing SendSuite and found similar issues?

Adding MDS 2012 to an existing cluster instance

$
0
0

We have an Active/Passive clustered SQL server instance. It was originally installed as SQL 2008 R2. We did an in place upgrade to SQL 2012 SP1.

We did not install MDS services in the original install. When we attempt to add MDS it fails with the following error:

Rule “Existing clustered or clustered-prepared instance” failed

Is there a way to install MDS to the existing instance?

I seem to read conflicting information about the possibility. One entry said this was resolved in CU1, but that doesn't seem to be the case. I've also read that you can add a new node to the cluster that does contain MDS. Finally, I read that you can bypass the cluster rule check to force the installation:

Setup.exe /SkipRules=StandaloneInstall_HasClusteredOrPreparedInstanceCheck /Action=Install

Can anyone offer any guidance in how to add this feature? Or are we stuck re-building the cluster if we want MDS in the same instance?

Thanks in advance!

Shawn

how to publish data in tsql after staging

$
0
0

hi all,

I have populated my stg.name_leaf table and executed the stg.upd_name_leaf stored proc.
For some record, the ImportStatus_id =1 and new batch_id is assigned, for others the Import_Status_ID =0 and Batch_ID is null.

1.Not sure why for the later, there is no batch_ID assigned and Import_status_id=0
2.Further, how can one validate the business rules as well as move the data from staging to actual being published, using the appropriate stored proc?  (I've tried various resources with no luck).

I was only able to additionally track down  the  mdm.udpValidateModel sproc, for model validation, but cannot locate a vehicle/stored proc by which to validate the business rules nor any to actually publish the data, so it will be available in the subscription views.  (I am aware of the manual flow, via Excel or web, on how to publish changes but wanted to know how to validate business rules and publish the data -- how to do it in code/stored procs.

thanks much for any guidance,

Cos


Attribute SortOrder Bug

$
0
0

We are runnig SQL Server 11.0.3381.0.

This has happend before but with 2 or 3 attributes in an entity, but this time we have a "new" few days old entity that has 70 or so attributes with the following problem (there was lots of Excel manipulation and field length ant type changes to form the Entity, but I am not sure when the problem occured).

The end result is that when a leaf memeber order (screen column order) is being changed in the Web UI (entity edit) the Leaf member jumps over many attrubutes at a time .

Example :

Name Code   Column1 Column2 Column3 Column4 Column5

I move Column5 UP and instead of it going between 3 and 4 it jumps between Column1 and Column2. Moving it back down puts in back in the last spot.

After further investigation we found tblAttribute and SortOrder column in the MDS database.  Sorting by Entity shows (in the above case) that Column2,Column3, and Column4 have the same sort order:

example:

Attribute  SortOrder

Column1       1

Column2       3

Column3       3

Column4       3

Column5       4

So moving Column5 up made it 3 as well and put it all the way above Column2, making Column4 sortorder a 4. But moving Column5 back made Column4 again a 3 and Column5 a 4.  Moving any columns realy just swaps its SortOrder with the one you moved to, so it never clears out all 3s...

So we have once manipulated SortOrder via updates directly in the Db, with seemingly no bad effects. But this time we have 70 attributes and lots of production data , and I'd like to know if there are any potential problems, and if there are how we move the order elsewhere. (We have found that someone complained of Db error after they changed the  SortOrder column directly in the Db).


Thanks,

     EthernetIP

 

MDS configuration "User does not match known account in Active Directory"

$
0
0

No matter what I put in the application pool credentials box it cannot reconcile with AD. Any thoughts?

 The account shown is the one SQL services are running under.

Jeff


staging data through t-sql

$
0
0

hi all,

I am trying to troubleshoot why a t-sql based staging does not work and created a simple entity called "test", with just one attribute.

I loaded the leaf stg table with two members, as per below:

insert into stg.test_leaf(importType, ImportStatus_id,code)
values(1,  0, 'test1')

insert into stg.test_leaf(importType, ImportStatus_id,code)
values(1,  0, 'test2')

then executed EXEC[stg].[udp_test_Leaf] @VersionName = N'VERSION_1', @LogFlag = 1, @BatchTag = N'test_batch20140203' 

The proc did not generate  any errors, nor do I see anything special being further propagated into the published data or anything else changed in the stg tables.  Am I missing some basic steps?  (MDS 2012 SP1).   I do not see any pending batches in the "Integration Management" web interface.  The web broker is enabled (SELECT is_broker_enabled, * FROM sys.databases WHERE name LIKE 'MDS%')

thx a big bunch,
Cos


An error has occurred because a control with id '%spPlaceHolderMain%' could not be located or a different control is assigned to the same ID after postback.

$
0
0

Hello All, When i try to do a filter on an entity and click filter button, i see the below error message being popped up. Can someone provide a solution to this ?

"An error has occurred because a control with id '%spPlaceHolderMain%' could not be located or a different control is assigned to the same ID after postback. If the ID is not assigned, explicitly set the ID property of controls that raise postback events to avoid this error."

Please let me know the process to set the ID explicitly.

MDS - Cascading Business Rule on constrained attributes

$
0
0

 Hi,

I am hoping that someone can shed some light on an issue I am having with Business Rules

I have 2 entities "entity1" and "entity2", an attribute in entity2 is constrained by entity1. Both these entities have an archive flag (numeric).

There is a business rule set on entity2, which checks the archive flag on entity1 and assigns the same value to the archive flag on entity2 (1 or 0).

After following this post Cascading Business Rules (Friday, November 12, 2010 11:44 AM), I have set up change tracking on entity1.

My rule reads as follows:

If (entity1.archive has changed in group 1 and entity1.archive = 1) then archive = 1

I have also tried this without the has changed condition (there is a second rule that reactivates where archive = 0).

When the rules are published, they run successfully first time. But when I change archive on entity1, and apply the business rules to entity2, they do not seem to identity that entity1 has been archived and entity2 is not updated with the relevant value.

Do I have to set the validation status manually? Or should this automatically pick up when the rules are applied or the version is validated?

If you require any additional information, please let me know.

Thanks

David

MDS2012 Setup - Create Web Applikation - Unexpected Error (Multiple connections to a server or shared resource...)

$
0
0

again Problems installing MDS Server on a single Server with all components :(
Using the configuration wizard i could create the MDS-Database but trying to create the web-Application throws following error:

Can someone explain/translate to me this errormessage? What could be the root cause?

- Windows Server IIS Role is installed with all Options selected and i can browse Default Homepage on port 80

- For username i defined a local useraccount (with Full Windows + SQL Permissions) on Server

BTW: I have not used a Domain user account because this throws another errormessage "User does not match known account in Active Directory", cause for this is propably that user accounts are created in other Domain which is trusted but not detected through wizard, see also: http://social.msdn.microsoft.com/Forums/sqlserver/en-US/2b3f2885-4c3d-4952-9771-a11b08ca1911/mds-configuration-user-does-not-match-known-account-in-active-directory?forum=sqlmds#7d0ba93b-eeb7-4251-be0a-6c13acf29369.

deleting older versions will have any impact?

$
0
0

Hi,

The MDM UI has become very slow. We have version created every month. To increase the performance im planning to delete the older versions of 2012 using the proc : 

[mdm].[udpVersionDelete].

Will this improve the performance ? Will it have any impacts on the current run ? Please throw some light :)


How do i take backup of a version and make it offline ? I do not want to take a full backup of the DB.

$
0
0
How do i take backup of a version and make it offline ? I do not want to take a full backup of the DB.

MDSModelDeploy Operation Failed, clone cannot be deployed, The Attribute Value is not valid

$
0
0

I've created a model containing a customer entity with various domain based attributes.  I've populated the entities via a combination of manual entry and the staging tables.  In the source system I have approx 950 customer records, all of which fail validation on the source system as some of the attributes will be maintained only in MDS and are not in the source systems I'm pulling the initial data from.

I ran the MDSModelDeploy.exe to create a package containing data on the source system.  I then ran the package to apply the package using the -deployclone option on my target system.  I piped the output into a flat file for review.

Here is the error I'm receiving.

MDSModelDeploy operation failed. Elapsed time: 00:01:00.2314612
Error:
A clone of the "Subzero_1" model cannot be deployed.
An error occurred while processing message request type 'EntityMembersMergeRequest'. See exception details for more information.
Package deployment failed with 344 errors

The attribute value is not valid.
The attribute value is not valid.   (repeated 344 times)

Any ideas what the issue might be?  I have tried verbose logging as well and did not find anything that would point me in the direction of the problem.  The end result was that the model was not deployed to the target.

I have also created a package without data, deployed that, then applied the data.  This gets the model to the target and the data also appears to be there but I did receive this error on the deployupdate.

This is on SQL Server 2012.

MDS Excel Add In Apply Rules does not work

$
0
0

I have the most recent version of the MDS Excel plug in installed in Excel 2013, and am running SQL Server 2012 Enterprise.  The Apply Rules button does not perform validation as it should. If I "Publish" data that does not conform to the business rules I have set up, it does return the proper errors indicating what rules have been violated; just using the "Apply Rules" button does not. I have twice gotten it to work momentarily by turning Show Status on and off several times in succession, but I have not been able to identify any consistent sequence that caused it.

Any help offered to resolve my problem would be appreciated.

MDSModelDeploy issue

$
0
0

Hi All,

During model import (using MDSModelDeploy app) I am receiving the following error message:

MDSModelDeploy operation failed. Elapsed time: 00:00:00.2986081

Error:

Method not found: 'Void Microsoft.MasterDataServices.Deployment.ModelDeployer..ctor(Microsoft.MasterDataServices.Core.HostContext)

I was not able to find any information regarding this issue. Can you help me?

Best Regards,

Mike

How to archive all history records of sys.dm_exec_procedure_stats?

$
0
0

Hello,

In SQL Server 2008 R2, I want to monitor all SP's performance, so I need archive ALL history records in sys.dm_exec_procedure_status, but as you know, the lifetime of the row is as long as the stored procedure remains cached. When a stored procedure is removed from the cache, the corresponding row is eliminated from this view.

Is somebody have a good solution to archive all history records?

Thanks,

Cunhui


Stay hungry, stay foolish.

Viewing all 1311 articles
Browse latest View live


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