BAM: The cube “MyView” was not processed. Please run the cube DTS to process the cube

  • Sandro Pereira
  • Jul 17, 2013
  • 3 min read

After I deploy a BAM activity to a new BizTalk Server 2010 environment, I create a job called “BAM Generic Import data” to import all BAM data information to OLAP Cubes that will be presented on the Aggregations tab in the BAM Portal.

However, when I try to manually execute the job, I get an error message saying:

“The cube “MyView” was not processed. Please run the cube DTS to process the cube”

When I went to the event viewer, I saw several Bam Event Provider warning messages with the following details:

Bam Event Provider warning messages

Log                Job History (BAM Generic Import data)
Step ID                0

Server                MyServer\BIZTALK
Job Name                BAM Generic Import data
Step Name                (Job outcome)
Duration                00:00:00
Sql Severity                0
Sql Message ID                0
Operator Emailed
Operator Net sent
Operator Paged
Retries Attempted                0

Message

The job failed. Unable to determine if the owner (Domain\User) of job BAM Generic Import data has server access (reason: Could not obtain information about Windows NT group/user ‘Domain\User’, error code 0x2. [SQLSTATE 42000] (Error 15404)).

📝 One-Minute Brief

When deploying a BAM activity, you may encounter the error: “The cube [ViewName] was not processed. Please run the cube DTS to process the cube.” This failure typically occurs within the SQL Job “BAM Generic Import data” and is often caused by the job owner lacking Active Directory (AD) query permissions. The long-term fix is granting the service account proper AD access, but a quick workaround is changing the SQL job owner to a system administrator (sa) account.

Cause

This error most likely occurs when the machine account that runs the job (BAM Generic Import data) doesn’t have permission to query the AD.

Job BAM Generic Import Data ower

Solution 1

I would recommend requesting to the AD administrator access to this user or change owner that runs this job to a low-privileged domain account that has proper permissions on the AD – Members of the Domain should be enough.

Solution 2

However in my case the AD administrator was on vacation and the other unavailable and my user account indeed didn’t have permission to query the AD (don’t ask me why) so the only solution that I found to try to solve the problem was to change the owner to the SQL Login System administrator (sa) that, lucky, wasn’t locked.

Job BAM Generic Import Data ower fixed

And problem solved … at least momentarily until we can apply the solution 1

Hope you find this helpful! If you liked the content or found it useful and would like to support me in writing more, consider buying (or helping to buy) a Star Wars Lego set for my son. 

Thanks for Buying me a coffe
Author: Sandro Pereira

Sandro Pereira lives in Portugal and works as a consultant at DevScope. In the past years, he has been working on implementing Integration scenarios both on-premises and cloud for various clients, each with different scenarios from a technical point of view, size, and criticality, using Microsoft Azure, Microsoft BizTalk Server and different technologies like AS2, EDI, RosettaNet, SAP, TIBCO etc. He is a regular blogger, international speaker, and technical reviewer of several BizTalk books all focused on Integration. He is also the author of the book “BizTalk Mapping Patterns & Best Practices”. He has been awarded MVP since 2011 for his contributions to the integration community.

Leave a Reply

Your email address will not be published. Required fields are marked *

The Ultimate Cloud
Management Platform for Azure

Supercharge your Azure Cost Saving

Learn More
Turbo360 Widget

Back to Top