BizTalk BAM activity Deploy problem – The BAM Star Schema database has not been configured. Run bm.exe setup-databases to configure the database.

  • Sandro Pereira
  • Oct 25, 2010
  • 2 min read

When trying to deploy BAM activity into a new BizTalk Environment:

  • C:\Program Files (x86)\Microsoft BizTalk Server …\Tracking>bm.exe deploy-all -DefinitionFile:BAM.SMSExpress.xls

It happened to me the following error:

“Microsoft (R) Business Activity Monitoring Utility Version 3.9.469.0
Copyright (C) Microsoft Corporation. All rights reserved.
Using ‘BAMPrimaryImport’ BAM Primary Import database on server ‘BTS2010LAB01’…
Deploying Activity… Done.
Deploying View… ERROR: The BAM deployment failed.

The BAM Star Schema database has not been configured. Run bm.exe setup-databases to configure the database.

📝 One-Minute Brief

When deploying BAM activities, you may encounter an error stating the Star Schema database is not configured. This typically happens because the BAM Analysis (OLAP) features were not fully enabled or configured during the BizTalk Configuration Wizard.

Cause

  • One of the possible causes of the problem is that Analysis Services from BAM aggregations were not configured.

Solution

  • Open BizTalk Server Configuration Console. (All Programs ➤ Microsoft BizTalk Server … ➤ BizTalk Server Configuration).
  • Select the option BAM Tools in the left menu and check the option Enable Analysis Services for BAM Aggregations.
  • Configure the BAM Analysis Database and the BAM Star Schema Database.
  • Click Apply Configuration.
  • On the Summary screen, click Next.
BAM Tools Configuration summary
  • On the completed screen, click Finish.

Once the Star Schema is configured, your bm.exe deploy command should run successfully. If you still encounter issues, double-check that the SQL Server Analysis Services service is actually started on the target server.

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.

2 thoughts on “BizTalk BAM activity Deploy problem – The BAM Star Schema database has not been configured. Run bm.exe setup-databases to configure the database.”

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