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

Derived Hiearchy Issue: No Levels Defined

$
0
0

Out of nowhere my derived hierarchies starting showing the following message in the MDS UI

No Level Defined:  This Derived Hierarchy is incomplete......

As you can see below the structure is defined and still in tact.  This message shows up in by the Explorer & System Admin areas.  I'm also able to query the subscription view setup without any issue.

This is with 2012 w/ no CUs.  Same setup in running in another environment without issue.


Is required to buy seperate license for MDS when buying SQL Server 2012 Enterprise Edition

$
0
0

Hi,

Please let me know do we need to buy seperate license for Master Data Services(MDS) service as MDS & DQS comes along SQL Server 2012 Enterprise Edition.

We plan to implement MDM solution for our organization. Is buying SQL Server 2012 Enterprise Edition included MDS?

Thanks.

Best Regards

Kashif Chotu

MDS Web UI "Access is Denied"

$
0
0

When I load the page for the web UI, I get the "Access is Denied" page.

This is unexpected since I am using the credential supplied for the initial config; ie the credential is an MDS administrator.  I was able to use the web UI immediately after configuring the MDS dB and web app, but 2 hrs later I was not able to use it, getting the "Access is Denied" message.  Interestingly, I am able to use the Excel addin fine; the credential can send and retrieve.  I started an MDS trace and am getting the following.  Suggestions appreciated.

   DateTime=2013-06-21T23:10:22.4007048Z

MDS S"color:#1f497d;font-family:'Calibri','sans-serif';font-size:11pt;">   DateTime=2013-06-21T23:10:22.4007048Z

MDS Start: 1 : RequestContext.InitializeRequestContext

   DateTime=2013-06-21T23:10:22.4027050Z

MDS Start: 1 : RequestContext.InitializeDatabaseContext

   DateTime=2013-06-21T23:10:22.4027050Z

MDS S"color:#1f497d;font-family:'Calibri','sans-serif';font-size:11pt;">   DateTime=2013-06-21T23:10:22.4047052Z

MDS Start: 1 : RequestContext.InitializeCurrentUser

   DateTime=2013-06-21T23:10:22.4047052Z

MDS Verbose: 0 : Successfully obtained the current Windows principal from the host context.

   DateTime=2013-06-21T23:10:22.4057053Z

MDS Error: 0 : A Windows identity could not be obtained from the current Windows principal or the user property is null.

   DateTime=2013-06-21T23:10:22.4057053Z

MDS S"color:#1f497d;font-family:'Calibri','sans-serif';font-size:11pt;">   DateTime=2013-06-21T23:10:22.4117059Z

MDS Error: 0 : LogError : The user does not have access to the application.

   DateTime=2013-06-21T23:10:22.4407088Z


Mark

MDS 2012 - No Message in ExternalAction queue

$
0
0

Hi,

I am using SQL Server 2012 MDS (SP1 CU4) environment. I have two environments (DEV and UAT). Service Broker is enabled in both the environments and both have the same entities and rules. One of the rule is based on external action workflow (custom dll). When I make change to an entity member in DEV, it creates a message a message in the Service Broker queue. However, when I do the same thing in UAT, it doesn't create a new message in UAT environment. I do not see any error in the event log.

Where should I look for any errors to get a clue on why the external action queue is not creating a message in UAT environment?

Please advise.

Thanks & Regards,
Kamal

Note: DEV is a single server vm. UAT environment comprises of two server vms. One of them is a database server and the other one is the integration server (integration server hosts the MDS Workflow Integration Service, MDS webapp running on IIS, SSIS packages to load the data into MDS database using MDS staging process)

MDS 2012 SP1 CU4 - Best practice on migrating Entity data from one environment to another

$
0
0

I have around 10 entities in a model. One of the entity is the customer entity which contains approx. 4 million records. Out of these 10 entities I want to migrate the data for only 3 entities from one environment to another. The MDSDeploy command either lets you include data or not. What I need is an option to include data for specific entities within my model. Therefore, I had to manually create these members in the new environment for these 3 entities.

Has anyone ran into a similar situation? Is there a better way to handle this situation where we don't have to manually create members for specific entities within a model in new environments? 

Note: I tried to create a package with includedata flag so it includes the members for all the entities. But, I had to kill the process after letting it run for 24+ hours because it still didn't return with a success or a failure. It was probably taking a lot of time because one of entities i.e. Customer entity contains approx. 4 million records. I only tried this option to see if I can uncheck the data for specific entities using package editor after creating it. However, I gave up on that because it just kept running without any feedback or indication of progress.

Staging table naming

$
0
0

Is there a possibility to change the name of a staging table to bring it back in line with the changed name of an entity.

The web UI allows us to update names of entities, but not the name of the associated staging table. Can we use management studio to change the name directly in the database or is this going to break the system?

Thanks,

Peter

Updating a field by Business Rule does not mark the row as changed

$
0
0

I have a parent Entity and a child. In the parent entity there is two value fields, one is writable and the scond is read only. The read only one gets propagated by a business rule.

In the child entity, the two values should be displayed in read only fields. I have created the business rules to pick them up and it works alright, if i change the first value. But changing the readonly value by business rule, does not mark the row as changed and the change does not get picked up on the child entity.

Is this a bug?

HttpWebRequest_WebException_RemoteServer error when opening MDS Explorer and Excel addin also throws an error

$
0
0

HI,

I am facing a big problem every now and then and  It is intermittent is what i have seen.

I keep getting be bleow error messare on my MDS Explorer. I am having MDS2012 installed both UI and excel addin gives error 

My machine is a 2008 R2 Enterprise Web Server x64

I have checked my Authentication settings, and Windows Auth is enabled for the site and for Services folder and so is Anonymous on Services folder.

The error happens both on the machine itself and from a client machine.

The Same time excel addin throws the below error

But when do a complete  Restart of the server or Do a IISRESET on the server by going to >> RUn >> IISRESET , it starts working back normally. But this keeps happening very often. How to solve this . It is getting irritating for customers to use it. Please help.

This is the log details say:

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

The requested service, 'http://ausapexweb01:81/service/service.svc/bhb' could not be activated. See the server's diagnostic trace logs for more information.

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


Server stack trace:
   at System.Runtime.AsyncResult.End[TAsyncResult](IAsyncResult result)
   at System.ServiceModel.Channels.ServiceChannel.SendAsyncResult.End(SendAsyncResult result)
   at System.ServiceModel.Channels.ServiceChannel.EndCall(String action, Object[] outs, IAsyncResult result)
   at System.ServiceModel.Channels.ServiceChannelProxy.InvokeEndService(IMethodCallMessage methodCall, ProxyOperationRuntime operation)
   at System.ServiceModel.Channels.ServiceChannelProxy.Invoke(IMessage message)

Exception rethrown at [0]:
   at Microsoft.MasterDataServices.AsyncEssentials.AsyncResultBase.EndInvoke()
   at Microsoft.MasterDataServices.AsyncEssentials.AsyncExecuter`1.EndExecute(IAsyncResult ar)
   at Microsoft.MasterDataServices.ExcelAddInCore.ConnectionManager.<>c__DisplayClasse.<TestConnectionAsync>b__c(IAsyncResult ar)
   at System.Threading.Tasks.TaskFactory.FromAsyncCoreLogic(IAsyncResult iar, Action`1 endMethod, TaskCompletionSource`1 tcs)



Delete data from entityTables in MDS

$
0
0

Hi All,

I want delete data from entity table in MDS using t-sql

let say  i have entity table called  mdm.19_234_EN

Delete from mdm.19_234_EN

Is is Possible to delete using t-sql?

Thanks!

MDS Staging Relationship Tables

$
0
0

Hi,

I am quite a novice in MDS. I have been assigned a task to upgrade an already developed tool for deploying MDM, to deploy MDS. I was told the only difference we have is the Service Reference. I have updated the Service Reference to point to the new MDS 2012 service.

After upgrade the one method that failed during the Build was ModelMembersBulkMerge, and I have replaced the method withEntityStagingLoad[mdsproxy.EntityStagingLoad(newInternational(), "MDS2012",EntityStagingImportType.MergeOverwrite, EntityMemberCreate(ListMem).ToArray(),true, out stagingbatch);].

This allowed me to build the tool successfully without any errors, but failed to inject any data to MDS. The service trace threw the following error while executing the tool. After some initial analysis, I got to know that, if there are explicit hierarchies in the feed then, the Staging Relationship Tables are created automatically while importing the Structure.  However in my current feed I don’t have any Explicit Hierarchies defined, all  Hierarchies that I have are Derived ones (Derived Hierarchies). Even then the injector tries to access Staging Relationship tables and fails with the following error.

SqlException message: Invalid object name 'stg.NAME_Relationship'.

Can anyone help me on this? If am missing anything here?

Thanks n Regards Biswajit Pattanaik

[MDS] use business rule to set 2 attribute as composite and must be unique on one entity

$
0
0

Hi All,

As title, I have an entity which include 3 attributes (COMPANY, TEAM, COUNT) as below,

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

COMPANYTEAMCOUNT
APPLEHR100
APPLECS50
APPLEOM200
IBMHR90
IBMCS40


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

And I know business rule can set action for unique check, but what I want is to checkCOMPANY+TEAM should be unique, not just one attribute check.

Please advise if any solution, thanks in advanced.

BR,

Jackie


MDS - Security on hierarchies

$
0
0

Hi.

I'm having a problem with security on hierarchy.

I have one group of users that has access to all entities (some have 'read only' and some have 'update' status  for him) but I would like to set that he can see only one out of four hierarchies that i have created.

Problem is that when I set other three on 'deny' he still sees them in the hierarchy list and he can open them but when he opens them he can't see any data in them.

Is it possible to set that he doesn't see them at all?

Thank,

Kind regards,

Nikolina

Excel 2013 MDS Add-In

$
0
0

We are playing around with Excel 2013 to see what changes are coming, but can't find an MDS Add-In that will work.  The existing MDS SQL 2012 Add-In won't install on top of Office 2013.

Thanks



Problem with Activation Queue, send mail on Master data Services

$
0
0

Hi all,

Anyone knows how to solve or where is this XML mentioned below ?

The activated proc [mdm].udpNotificationQueueActivate] running on queue 'MDS.mdm.microsoft/mdm/queue/notification output the Following: 'XML parsing: line 1, character 2241, illegal name character'

I got this error on SQL Server Log, from MDS. Send mail notification does not works because of that. 

MDS 2012 Transactions not logged using MDS Staging process through SSIS

$
0
0

I noticed that the changes to the member attributes from Explorer UI or MDS Excel add-in can be viewed through “View Transactions”. However, if the changes are done through SSIS package using MDS Staging process (ImportType=2), then they are not available through “View Transactions”. Basically the updates to master data attributes through MDS staging are not audited. 

Has anyone else run into this? I would imagine this to be an important feature that should behave in the same manner whether the update is done manually through a user interface or through an automated process such as MDS Staging procedure.

Any thoughts?


SQL SERVER 2012 MDS .. Login failed for user domain/billcool

$
0
0

SQL SERVER 2012 MDS

I installed SQL 2012 trial version on my local Windows 7 64bit machine. The plan is to play with new MDS. The MDS installation was successful. I am able to see the MDM database where I am sysadmin. When I browse tourl:  http:billcool/mds I get the following error:

[SqlException (0x80131904): Login failed for user 'domain\billcool$'.]
   Microsoft.MasterDataServices.Core.DataAccess.DbHelper.ExecuteNonQueryHandlingTransportError(SqlCommand sqlCommand) +461
   Microsoft.MasterDataServices.Core.DataAccess.DbHelper.GetTimeout(String settingName) +231
   Microsoft.MasterDataServices.Core.DataAccess.DbHelper.SetConnection(String connectionString) +532
   Microsoft.MasterDataServices.Core.BusinessEntities.RequestContext.InitializeDatabaseContext() +117
   Microsoft.MasterDataServices.Core.BusinessEntities.RequestContext.InitializeRequestContext(HostContext hostContext) +95
   Microsoft.MasterDataServices.WebUI.ServiceAdapter.GetCurrentUser() +178
   Microsoft.MasterDataServices.WebUI.Common.Header.OnInit(EventArgs e) +294
   System.Web.UI.Control.InitRecursive(Control namingContainer) +186
   System.Web.UI.Control.InitRecursive(Control namingContainer) +421
   System.Web.UI.Control.InitRecursive(Control namingContainer) +421
   System.Web.UI.Control.InitRecursive(Control namingContainer) +421
   System.Web.UI.Control.InitRecursive(Control namingContainer) +421
   System.Web.UI.Control.InitRecursive(Control namingContainer) +421
   System.Web.UI.Control.InitRecursive(Control namingContainer) +421
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +2098

Why it's showing a '$' sign after my name in login? Can anybody help resolve this?

 domain/billcool is a serveradmin and has all permissions to the sql server.

Thanks in advance for any help....

Windows 8 - "The required .svc handler mappings are not installed in IIS"

$
0
0

Hi

I am getting the error "The required .svc handler mappings are not installed in IIS" in the Master Data Services Configuration Manager. I am running the configuration tool as administrator on a domain joined machine using a domain user account (which is also a member of the local Administrators group).

My configuration is as follows:

Windows 8

SQL Server 2012 RTM + CU 2 (build 11.0.2325).

All required prerequisites should be installed in IIS.

I have reviewed this issue: http://social.msdn.microsoft.com/Forums/is/sqldenmds/thread/764ba30b-418a-4f79-9a8d-ce9dd3225a7a

 But it does not seem to be the same problem - at least not the same solution. I hope someone can help. Thanks.

/Michael Barett


Michael Barrett

Error in /Service/Service.svc/bhb when open MDS Explorer

$
0
0

Hi! I get stuck when opening the MDS Explorer on MDS Server and already tried all suggestions from forums but have no progress.
I append my Environment, Log(IIS, MDS, Fiddler, UI) , and related config.
Hope you could give me some advice. Thank you! 

Environment

OS : Windows Server 2008 R2SQL : Microsoft SQL Server 2012 - 11.0.2100.60 (X64)
         Developer Edition (64-bit) on Windows NT 6.1 <X64> (Build 7601: Service Pack 1) (Hypervisor)
IIS7
Silverlight (64 bit) 5.1.20513
Browser : IE9 , FF22, Chrome 28
MDS Server is installed on VM, in Windows Domain 
Login user has system administration permission.

Application Pools Setting
MDS Application
(a) Managed Pipeline Mode = Integrated
(b) Identity = ApplicationPoolIdentity, 



UI Error Message

When opening MDS Explorer,  the UI popup error messages like this.

First error message window

WebException: [HttpWebRequest_WebException_RemoteServer] 
Arguments:  NotFound Debugging resource strings are unavailable
-----------------------------------------------------
Second error message window (only show up in Firefox)

System.Reflection.TargetInvocationException: [Arg_TargetInvocationException]


Fiddler Log
seems I don't have permission to access the request URL : mdsdev:88/Service/Service.svc/bhb

HTTP Error 401.2 - Unauthorized
You are not authorized to view this page due to invalid authentication headers.
Detailed Error Information
ModuleIIS Web Core
NotificationAuthenticateRequest
Handlersvc-Integrated-4.0
Error Code0x80070005
Requested URLhttp:  //   mdsdev:88/Service/Service.svc/bhb
Physical PathC:\Program Files\Microsoft SQL Server\110\Master Data Services\WebApplication\Service\Service.svc\bhb
Logon MethodNot yet determined
Logon UserNot yet determined
Failed Request Tracing Log DirectoryC:\inetpub\log

IIS Log

bhb again, not sure how to access it.

/Explorer/AttributeSL.aspx MID=1&VID=1&EID=3
/Service/Service.svc/bhb 

2013-07-21 13:14:24 W3SVC2 fe80::208e:fa0c:31e5:901%10 GET /ScriptResource.axd d=jzBYvlgjGckxbHmd645HrUCsak8pPcTsujxzxXp5gfykwH0og-wOaIEfQRCkVtHUZaU9O-WZs75NSCtNmb4qyzx09zzgZlqq_Hxfv_GJZEA_V7wJtJkFpfiSaTBMqU17icKQwTLbTKf4fmtiRlbLYQ2&t=ffffffffb9f9f042 88 domain\nick fe80::208e:fa0c:31e5:901%10 HTTP/1.1 Mozilla/5.0+(Windows+NT+6.1;+WOW64;+rv:22.0)+Gecko/20100101+Firefox/22.0 mdsdev:88 200 0 0 1
2013-07-21 13:14:26 W3SVC2 fe80::208e:fa0c:31e5:901%10 GET /Explorer/AttributeSL.aspx MID=1&VID=1&EID=3 88 domain\nick fe80::208e:fa0c:31e5:901%10 HTTP/1.1 Mozilla/5.0+(Windows+NT+6.1;+WOW64;+rv:22.0)+Gecko/20100101+Firefox/22.0 mdsdev:88 200 0 0 326
2013-07-21 13:14:27 W3SVC2 fe80::208e:fa0c:31e5:901%10 POST /Service/Service.svc/bhb - 88 domain\nick fe80::208e:fa0c:31e5:901%10 HTTP/1.1 Mozilla/5.0+(Windows+NT+6.1;+WOW64;+rv:22.0)+Gecko/20100101+Firefox/22.0 mdsdev:88 500 0 0 157


MDS Log

Only first two rows mention error, cannot figure out what they mean.

MDS Error: 0 : Service started successfully,  Assembly version: 11.0.0.0, file version: 11.0.2100.60 ((SQL11_RTM).120210-1917 )
    DateTime=2013-07-21T13:26:55.2677163Z
MDS Error: 0 : ApiContractVersion: 5102
    DateTime=2013-07-21T13:26:55.2686929Z
MDS Start: 1 : Service.InitializeExpirationStatus


My Settings

Authentication :
(a) MDS Website : Enable Windows Authentication. Disable Anonymous Authentication.

Under Windows Authentication > Advanced Settings > set Extended Protection = Accept or Required
(b) Service Folder :  Enable Windows Authentication. Enable Anonymous Authentication.


Web.config

In MDS Web.config, add policyEnforcement = WhenSupported

My Web.config

<system.serviceModel>
    <behaviors>
      <serviceBehaviors>
        <behavior name="mdsWsHttpBehavior">
          <serviceMetadata httpGetEnabled="true" httpsGetEnabled="false" />
          <serviceDebug includeExceptionDetailInFaults="false" />
          <serviceThrottling maxConcurrentSessions="400" />
          <dataContractSerializer maxItemsInObjectGraph="999999999" />
        </behavior>
      </serviceBehaviors>
    </behaviors>
    <bindings>
      <wsHttpBinding>
        <binding name="mdsWsHttpBinding" maxBufferPoolSize="2147483647" maxReceivedMessageSize="2147483647">
          <readerQuotas maxArrayLength="2147483647" maxBytesPerRead="2147483647" maxDepth="2147483647" maxNameTableCharCount="2147483647" maxStringContentLength="2147483647" />
          <security mode="Message">
            <message clientCredentialType="Windows" />
<transport clientCredentialType="Windows">
 <extendedProtectionPolicy policyEnforcement="WhenSupported" />
</transport>
          </security>
        </binding>
      </wsHttpBinding>
      <basicHttpBinding>
        <binding name="mdsBasicHttpBinding" maxBufferPoolSize="2147483647" maxReceivedMessageSize="2147483647">
          <readerQuotas maxArrayLength="2147483647" maxBytesPerRead="2147483647" maxDepth="2147483647" maxNameTableCharCount="2147483647" maxStringContentLength="2147483647" />
          <security mode="TransportCredentialOnly">
            <transport clientCredentialType="Windows" />
<extendedProtectionPolicy policyEnforcement="WhenSupported" />
          </security>
        </binding>
      </basicHttpBinding>
    </bindings>
    <services>
      <service behaviorConfiguration="mdsWsHttpBehavior" name="Microsoft.MasterDataServices.Services.Service">
        <endpoint binding="wsHttpBinding" bindingConfiguration="mdsWsHttpBinding" bindingNamespace="http://schemas.microsoft.com/sqlserver/masterdataservices/2009/09" contract="Microsoft.MasterDataServices.Services.ServiceContracts.IService" />
        <endpoint address="bhb" binding="basicHttpBinding" bindingConfiguration="mdsBasicHttpBinding" bindingNamespace="http://schemas.microsoft.com/sqlserver/masterdataservices/2009/09" contract="Microsoft.MasterDataServices.Services.ServiceContracts.IService" />
      </service>
    </services>
  </system.serviceModel>


My applicationHost.config

 <location path="MDS">
        <system.webServer>
            <security>
                <authentication>
<basicAuthentication enabled="false" />
                    <windowsAuthentication enabled="true" useKernelMode="true">
                        <extendedProtection tokenChecking="Allow" />
                    </windowsAuthentication>
                    <anonymousAuthentication enabled="false" />
                </authentication>
            </security>
        </system.webServer>
    </location>
    <location path="MDS/Service">
        <system.webServer>
            <security>
                <authentication>
<basicAuthentication enabled="false" />
                    <anonymousAuthentication enabled="true" />
<!--anonymousAuthentication enabled="true" userName="" /-->
                    <windowsAuthentication enabled="true" />
                </authentication>
            </security>
        </system.webServer>
    </location>


   

MDS Excel Plugin loads entities twice when launching a saved query

$
0
0
My customer is having Excel plugin issues with saved queries.  Every time they make a saved query for one entity and then come back later with a new workbook and try to load the saved query it always double loads two tabs with the same entity.  I cannot duplicate the issue with my own machine or our own test envs.  In fact, when my customer sends me their saved queries, I am able to load them without the double load issue.  I've done testing with both Excel 2010 and 2013 with my own hardware resources and can't reproduce.  When I go to my clients offices and watch them create and load saved queries the behavior is completely different on their laptops.  Has anyone run into this issue or have any ideas on how to fix this? 

Chad Dotzenrod SWC | TECHNOLOGY PARTNERS 1420 Kensington Road, Suite 110 Oak Brook, Illinois 60523-2144 http://www.swc.com

Can MDS and SSRS coexist well?

$
0
0

I've got a server that's already being used for SSRS (Server 2012 & SQL 2012 SP1) and obviously is using port 80.  Is there some super special process for getting MDS/DQS installed on this server?  Assuming I'll use port 10000 for MDS, what should I do post-MDS-and-IIS-install?  I'm having a heck of a time figuring it out and the docs are pretty vague.

Viewing all 1311 articles
Browse latest View live


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