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

Master Data Services Excel add-in not installing for Excel 365

$
0
0

I have Excel under office 365 (32 bit). Also SQL server 2017 with MDS.

MDS Excel add-in installation fails on prerequisite: '32-bit version of Microsoft Excel 2010, 2013 or 2016'.
I tried different versions of the add-in. 

Is the add-in not compatible with Excel 365, or am I missing something? 

Don't really feel like downgrading to older versions of Excel or SQL server. 


LastChgDateTime triggered even if nothing changes?

$
0
0

MDS 2012:

I am loading data through the use of staging tables.  I have this process scheduled and using SSIS, I lookup if the record exists (by the business key) and if it does, I fill in the code.   MDS then performs the update if it is needed.  If it is not needed, the LastChgDateTime field still changes, even if nothing in the record changes.  By design or is there a way to configure this? 

MDS 2016 CU4: Web Interface - unable to access to users and groups security parameters

$
0
0

Since the application of the MDS 2016 CU4, Im unable to access to security parameters (function, models, hierarchies,...). The web application  is not responding.

Any solution.

BUG - MDS add-in for Excel SQL 2017

$
0
0

Hi,

We recently downloaded the Microsoft SQL Server 2017 Master Data Services Add-in For Microsoft Excel and found a new bug (getting used to this now...)

When you have a derived hierarchy that filters a domain based hierarchy it lists all childrens independet of parent selection.

It seems to have to do with the new Attribute Search box (Which is really good!). It always list all attributes independet of parent selection.

Anyone have a workaround?

BR

AL

F.S.M.O.

$
0
0
What are some of the roles of F.S.M.O. (flexible single master operations)? AND WHAT ARE GPOs ?

More Extensible MDS in further releases

$
0
0

Hi,

I am currently working on custom UI application using WCF,

and found some missing (or I am the only missing for them :))functionality (at least from back-end-side)(IMHO) reaching perfectness , it would great:

Create custom attributes for model objects, (those could be accessible only via WCF) such as ShowModel, ShowEntity, ShowAttribute, DisplayAttributeInDBAAttributeLookup, and so on.

AttributeGroups are not full filled, because you can set visibility to a certain group, but you cannot forbid visibility of all attributes. So ,why groups are necessary? if you grant access for one group, you have to leave that user away from other groups and group-less attributes. It is the way easier than denying access to certain attributes through user's permissions.

Attribute visibility and editing options - sometimes System attributes causes pain in MDS WebApplication ,because attribute Code , which is AutoGenerated on bridge entities(ie ProductMarket)  means nothing to end consumer, and would be great to be able to make it hidden.

Also possibility to make attributes read only regardless access permissions, those would be calculated by business rules or loaded by staging , etc

In summary,

Everything is good, but could be better :)



MDS Excel add-in - formatting issue

$
0
0

Hi,

I have a couple of fields in MDS table that I want to format as currency in Excel. Every time I am refreshing the table the formatting is removed and all numbers are shown in the Number format.

Is there a way to preserve the formatting on refresh?

Thanks in advance.

Data import - validation/harmonization

$
0
0

Hi,

we're beginning to look at MDS and while trying it a bit I've run into a small issue:

We're importing people data, and we are wondering how to handle translating stuff like this:

Employee IDCountry_codeDepartmentGender
123456FI4310Mies
456789NO4310Mann
789456DK4310Mand

The Department field is a seperate entity - but we're seing that we can only have one code/key for 4310. So the idea is to make 3 different codes (NO4310, DK4310, FI4310 or similar). 
But when we import data the field will just have "4310".

Can we use validation rules to set the logic like "If country = "NO" & Department = 4310 then Department = NO4310" during import? 

Else we need to build some kind of parser on the import which transforms the national department code to a common value.

Or - is an idea to instead use one department code/key, and then make some kind of other attribute on it which reflects where it belongs? Like "Department_Country_NO" = "Norse Department Name"? 
But how to then reflect that back to the employment entries? 

Secondly - we have three different values for gender coming into the import, can I easily translate those into the same value, "Male", during an import? 

Any great ideas, or pointers where to look? :) 



How to show a particular record at the first record of the table always?

$
0
0
I have an Entity A inwhich there are like 1000 records. There is an Entity B and One of the column in Entity B is domain based for Entity A. So, when user click that column in Entity B, it opens a window in which user can select  any of the 1000 records. Here, i have a requirement like, when the window opens, i want 'a particular record to show at the top' from Entity A. How can i do that? That record is a frequently choosed record and hence i want to show that record at the top , so that users no need to find that record by scrolling down to 1000 records. Please help me on this. i can't use sort ascending or  descending in the prestg tables or in the stored prcedures because if we use that then that record will go somewhere in the middle - pleas help!

Adding new user in Master Data Services

$
0
0

I have installed master data services in windows 10 pro.

I have a requirement  to add another user from a external work group PC, so that the user can access the MDS web application.

Is there any way to add new users from  another PC?.

SQL Server 2016 Upgrade - Issues Editing or Creating Entities or Attributes in Models

$
0
0

Hi,

Recently we installed SP2 2016 and cumulative package update 6 for SP2 (most recent), and there are issues when we create or edit entities or attributes in the models.  For example, when an Entity is created in System Administration - besides it taking several minutes that never did before - the Entity shows however the default Name and Code do not generate.  Also for the same Entity when creating a new Attribute - besides it taking several minutes that never did before - the attribute does not create and status message shows error (couldn't get details, just a red exclamation).  Additionally the Entity does not exist when going to Explorer.  

Any information or help would be appreciated as we cannot develop any new items in MDS 2016 with the current state.

Thanks.

Master data Service: No parameterless constructor defined for this object

$
0
0

MDS site suddenly stopped working with the below error. Noticeable action was vulnerability scan from the security team.

Appreciate any assistance to resolve this issue

Note: MDS 2016 is deployed on SQL server 2016 version.

No parameterless constructor defined for this object.

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.MissingMethodException: No parameterless constructor defined for this object.

Source Error:
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Stack Trace:
[MissingMethodException: No parameterless constructor defined for this object.]
   System.RuntimeTypeHandle.CreateInstance(RuntimeType type, Boolean publicOnly, Boolean noCheck, Boolean& canBeCached, RuntimeMethodHandleInternal& ctor, Boolean& bNeedSecurityCheck) +0
   System.RuntimeType.CreateInstanceSlow(Boolean publicOnly, Boolean skipCheckThis, Boolean fillCache, StackCrawlMark& stackMark) +139
   System.Activator.CreateInstance(Type type, Boolean nonPublic) +105
   System.Activator.CreateInstance(Type type) +12
   System.Web.Mvc.DefaultControllerActivator.Create(RequestContext requestContext, Type controllerType) +75

[InvalidOperationException: An error occurred when trying to create a controller of type 'Microsoft.MasterDataServices.WebUI.Controllers.HomeController'. Make sure that the controller has a parameterless public constructor.]
   System.Web.Mvc.DefaultControllerActivator.Create(RequestContext requestContext, Type controllerType) +242
   System.Web.Mvc.DefaultControllerFactory.CreateController(RequestContext requestContext, String controllerName) +103
   System.Web.Mvc.MvcHandler.ProcessRequestInit(HttpContextBase httpContext, IController& controller, IControllerFactory& factory) +263
   System.Web.Mvc.MvcHandler.BeginProcessRequest(HttpContextBase httpContext, AsyncCallback callback, Object state) +77
   System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +1020
   System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step) +195
   System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +128


Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.7.3282.0 

MDS SQL 2016 Can't edit permissions for selected group in Manage Groups

$
0
0
We have installed MDS 2016 and can assign permissions to users but when we try to edit a groups permission the system just hangs.

We can add both AD and local groups but cannot grant any rights to the groups.

Has anyone else had this issue and how do we resolve it?

We are using SQL 2016 SP1 CU05

COMException (0x800AC472)

$
0
0

Dear,

In the MDS GUI, when downloading the data to excel, we are experiencing an error: "Exception from HRESULT: 0x800AC472".

Everything was working fine, and for other users (same security) it still does.
Also via the excel ribbon > masterdata > connecting to the entity/data still workt.

When checking the windows updates, no updates has been done.

Also installing SQL2016 MDS SP2 did not work.

Here is the detail of the error, hopefully someone has an idea.

Excel Client Side Error Log:
System.Runtime.InteropServices.COMException (0x800AC472): Exception from HRESULT: 0x800AC472
   at System.Windows.Forms.Control.MarshaledInvoke(Control caller, Delegate method, Object[] args, Boolean synchronous)
   at System.Windows.Forms.Control.Invoke(Delegate method, Object[] args)
   at System.Windows.Forms.WindowsFormsSynchronizationContext.Send(SendOrPostCallback d, Object state)
   at Microsoft.MasterDataServices.ExcelAddInCore.DataView.<>c__DisplayClass6d.<LoadData>b__6b(IAsyncResult ar)
   at System.Threading.Tasks.TaskFactory`1.FromAsyncCoreLogic(IAsyncResult iar, Func`2 endFunction, Action`1 endAction, Task`1 promise, Boolean requiresSynchronization)

DatabaseSchemaVersion
13.2.0.0

SQLServerVersion
Microsoft SQL Server 2016 (SP2) (KB4052908) - 13.0.5026.0 (X64)
        Mar 18 2018 09:11:49
        Copyright (c) Microsoft Corporation
        Enterprise Edition: Core-based Licensing (64-bit) on Windows Server 2012 R2 Standard 6.3 <X64> (Build 9600: ) (Hypervisor)

ProductVersion
13.2.0.0

CompatibilityLevel
110

OSVersion
Microsoft Windows Server 2012 R2 Standard

Excel Version
16.0.10325.20118

Excel Add-in Version
13.0.2121.20

Thanks in advance,

Best regards, Bram

Super User question MDS 2012

$
0
0

I prepare SQL Server 2012 to 2017 migration including MDS 2012 to 2017.

In our 2012 MDS database I did not pay attention to the 1. administrator user. The user belonged to a domain "olddomain" that is no longer available. So I used the 

EXEC [mdm].[udpSecuritySetAdministrator] @UserName=@v_UserName, @SID = @v_SID, @PromoteNonAdmin = 1; 

Stored Procedure to change the Administrator. The new administrator belonging to "newdomain" has got the ID = 1 in mdm.tblUser and the record for the old administrator has been deleted. Seems to me the change was successful. But the new Administrator has not assigned the "Super User" function in MDS 2012 as I can see in Web Interface user administration.

I also restored an MDS 2012 database backup (before Admin change!!) to SQL Server 2017 and after upgrading the database schema there was still the olddomain Administrator in the users list and he has assigned the "Super User" function (and several other functions). 

As of my knowledge the [mdm].[udpSecuritySetAdministrator] SP is not available in MDS 2017 so I have to change the Super User in MDS 2012 but after that the new Administrator has no Super User function assigned in MDS 2012. 

Can anyone tell me how to migrate the MDS from 2012 to 2017 including change of the Super User to have a user with this function available in MDS 2017 after migration?

THX a lot for any help.


Inconsistent data if you add a date that is before March 1, 1900 in the MDS add-in for Excel in SQL Server 2016

$
0
0

You use the Master Database Service (MDS) add-in for Excel in Microsoft SQL Server 2016. When you change or add a date in the Excel Add-in that is before March 1, 1900, you find that the MDS database contains the date minus one day. This problem leads to inconsistent data.

I can find Microsoft patch update for sql server 2014, but could not find anything for 2016.

(https://support.microsoft.com/en-us/help/3046893/fix-inconsistent-data-if-you-add-a-date-that-is-before-march-1-1900-in)

Can you please help?

Thanks in advance

MDS 2016 Excel Plug In Not Working

$
0
0

Hi All

Good Day!!

I am working on MDS 2016 as a developer and require excel plug-in for performing bulk data inserts, updates and deletes.

Though, it is a fairly simple installation process outlined by MS and same steps works on my colleagues' machine, but on my machine it does not. For clarity of problem, I will outline below exact steps followed by me for installation:

Excel Version:  MS Excel 2016 32 Bit

SQL Server Version : 2016

Runtime Installed  : MS Visual Studio Tools for Office Runtime 2010 

Excel Add In Installed : MasterDataServicesExcelAddinSS16

Step 1 - Install the VS tools mentioned above on local machine (where excel is installed)

Step 2 - Install Excel Plug In mentioned above

Post this, after opening excel I am able to see the Master Data Tab available will multiple options.

But while I am trying to establish a connection to SQL server, nothing happens. I created a Dev connection as per below image:

But when I click on test or connect, nothing happens....no error message, no loading screen. I tried many possible solutions available over the internet but did not happen. Can you please help me with the solution to this?

Let me know if further info is required for debugging the issue.

Many Thanks

Prakhar

How to copy a model within the same service - is this possible?

$
0
0

I am configuring a new Master Data Services 2017 site. I want to have 2 models on my site - one for test/dev work and one for Live data. I created my test model (let's call it MyModel_TEST) and added some entities and data. I then wanted to create a copy of that model, just called MyModel, by using the MDSModelDeploy utility.

So, I first exported my model to a file using the createpackage switch like so:

MDSModelDeploy.exe createpackage -model "MyModel_TEST" -service MDS1 -package "C:\temp\MyModel_TEST.pkg"

Then, I ran the following command to create my copy model:

MDSModelDeploy.exe deploynew -model "MyModel" -service MDS1 -package "C:\temp\MyModel_TEST.pkg" 

However, this results in an error, which is:

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

Error:The "MyModel" model cannot be deployed.

1750: Could not create constraint or index. See previous errors., @ErrorNumber = 1750, @ErrorProcedure = "", line 2, @ErrorNumber = 50000, @ErrorProcedure = "udpEntitySave", line 916

Correlation Id: 7bf9f0ce-d030-4c21-843d-f9920d1c900d


I also ran a SQL Profiler trace to capture more detail and noticed there were several other errors, such as:

Invalid object name 'mdm.tbl_5_52_EN'.

Am I trying to achieve something that is not possible with MDS? Is there a better approach to having a separate test and live model?


MDS2016 Excel add-in

$
0
0

Hello everyone;

I'm using Master data services 2016 =>the web App works correctly

Microsoft Excel 2016 64bits

I've downloaded MDS Excel add-in from: microsof website (ENU\x64)

I installed it and added it to Excel correctly 

when I try to connect to my MDS server , I get this error:

The connection failed because the URL is invalid or the version of the Master Data Services web application is not supported.

There was no listening endpoint on .... This is often due to an incorrect address or SOAP action. If present, see the InnerException element for more information. (Mscorlib) OperationId = fbeaa61d-fff0-44b7-a687-3210dde2b0c2

what should I do?

ENU\x64\MasterDataServicesExcelAddin.msi

ENU\x64\MasterDataServicesExcelAddin.msi

ENU\x64\MasterDataServicesExcelAddin.msi

ENU\x64\MasterDataServicesExcelAddin.msi


HELP! MDS is broken after update to SQL 2012 SP4

$
0
0

Hi,

I recently updated our SQL server to SQL 2012 SP4 (from SP1) and ever since, MDS has not been working. I went to Configuration Manager and it said the database required an upgrade (from 11.2.0.0) but when I click on the Upgrade button I get the below error which I can't decipher nor find anywhere on Google:

Microsoft.MasterDataServices.Configuration.ConfigurationException: Unable to locate the embedded resource. ---> System.IO.FileNotFoundException: Unable to locate the embedded resource.
   at Microsoft.MasterDataServices.Configuration.DatabaseUtilities.UpgradeMasterDataServicesDatabase(SqlConnection connection, String databaseName, Collection`1& businessRuleExclusionWarnings)
   at Microsoft.MasterDataServices.Configuration.Commands.UpdateMasterDataServicesDatabase.InternalProcessRecord()
   at Microsoft.MasterDataServices.Configuration.Commands.ConfigurationCmdlet.ProcessRecord()
   at System.Management.Automation.CommandProcessor.ProcessRecord()
   --- End of inner exception stack trace ---
   at Microsoft.MasterDataServices.Configuration.InstanceManager.Execute(Command command)
   at Microsoft.MasterDataServices.Configuration.InstanceManager.UpgradeMasterDataServicesDatabase(DatabaseServerInformation serverInformation, DatabaseInformation databaseInformation)
   at Microsoft.MasterDataServices.Configuration.UI.ServerManagement.ConfigurationAdministration.UpgradeDatabase(DatabaseInformation databaseInformation)
   at Microsoft.MasterDataServices.Configuration.UI.MdsDatabase.UpgradeDatabase()

Any help would be greatly appreciated - the business need MDS back and it's becoming a major problem!

Thanks,

Viewing all 1311 articles
Browse latest View live


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