web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Microsoft Dynamics AX (Archived)

Dynamics AX initial SSAS database processing gets stuck

(0) ShareShare
ReportReport
Posted on by 480

Hi All,

I get into an issue while AX cubes processing. A clean AX installation was performed based on SQL 2016 but SQL version is not an issue since there is another installation based on exactly the same version and it works perfectly.

I tried to change some SSAS parameters according to the following articles:

https://blog.calvett.co.uk/2009/04/05/analysis-server-appears-to-hang/

https://blogs.msdn.microsoft.com/psssql/2007/01/16/processing-appears-to-stall-or-become-sluggish-on-multi-processor-machines-running-analysis-services-2005/

The result was the same - dimensions' full processing always gets stuck on a query when SRSANALYSISENUMS table is used, i.e.:

SELECT [BASEENUM_PurchLineDeliveryPrecision].[ENUMITEMVALUE] AS [BASEENUM_PurchLineDeliveryPrecisionENUMITEMVALUE0_0],[BASEENUM_PurchLineDeliveryPrecision].[ENUMITEMNAME] AS [BASEENUM_PurchLineDeliveryPrecisionENUMITEMNAME0_1]
FROM 
(
SELECT A.ENUMITEMVALUE, A.ENUMITEMLABEL AS ENUMITEMNAME FROM [DBO].SRSANALYSISENUMS A WHERE A.ENUMNAME = 'PurchLineDeliveryPrecision' AND A.LANGUAGEID = 'en-us'
)
 AS [BASEENUM_PurchLineDeliveryPrecision] 


or

SELECT [BASEENUM_NoYes].[ENUMITEMVALUE] AS [BASEENUM_NoYesENUMITEMVALUE0_0],[BASEENUM_NoYes].[ENUMITEMNAME] AS [BASEENUM_NoYesENUMITEMNAME0_1]
FROM 
(
SELECT A.ENUMITEMVALUE, A.ENUMITEMLABEL AS ENUMITEMNAME FROM [DBO].SRSANALYSISENUMS A WHERE A.ENUMNAME = 'NoYes' AND A.LANGUAGEID = 'en-us'
)
 AS [BASEENUM_NoYes]

or

SELECT [GENERALJOURNALCUBE_DIM].[TRANSACTIONTYPE] AS [GENERALJOURNALCUBE_DIMTRANSACTIONTYPE0_0],[GENERALJOURNALCUBE_DIM].[PERIODCODE] AS [GENERALJOURNALCUBE_DIMPERIODCODE0_1],[GENERALJOURNALCUBE_DIM].[POSTINGLAYER] AS [GENERALJOURNALCUBE_DIMPOSTINGLAYER0_2],[GENERALJOURNALCUBE_DIM].[POSTINGTYPE] AS [GENERALJOURNALCUBE_DIMPOSTINGTYPE0_3],[BASEENUM_LedgerTransType].[ENUMITEMNAME] AS [BASEENUM_LedgerTransTypeENUMITEMNAME1_0],[BASEENUM_LedgerTransType].[ENUMITEMVALUE] AS [BASEENUM_LedgerTransTypeENUMITEMVALUE1_1]
FROM 
(
SELECT TRANSACTIONTYPE.ENUMITEMVALUE TRANSACTIONTYPE , PERIODCODE.ENUMITEMVALUE PERIODCODE , POSTINGLAYER.ENUMITEMVALUE POSTINGLAYER , POSTINGTYPE.ENUMITEMVALUE POSTINGTYPE FROM ( SELECT DISTINCT ENUMITEMVALUE FROM [DBO].SRSANALYSISENUMS WHERE ENUMNAME = 'LedgerTransType' ) TRANSACTIONTYPE CROSS JOIN ( SELECT DISTINCT ENUMITEMVALUE FROM [DBO].SRSANALYSISENUMS WHERE ENUMNAME = 'FiscalPeriodType' ) PERIODCODE CROSS JOIN ( SELECT DISTINCT ENUMITEMVALUE FROM [DBO].SRSANALYSISENUMS WHERE ENUMNAME = 'CurrentOperationsTax' ) POSTINGLAYER CROSS JOIN ( SELECT DISTINCT ENUMITEMVALUE FROM [DBO].SRSANALYSISENUMS WHERE ENUMNAME = 'LedgerPostingType' ) POSTINGTYPE 
)
 AS [GENERALJOURNALCUBE_DIM],
(
SELECT A.ENUMITEMVALUE, A.ENUMITEMLABEL AS ENUMITEMNAME FROM [DBO].SRSANALYSISENUMS A WHERE A.ENUMNAME = 'LedgerTransType' AND A.LANGUAGEID = 'en-us'
)
 AS [BASEENUM_LedgerTransType]
WHERE 
(
(
[GENERALJOURNALCUBE_DIM].[TRANSACTIONTYPE] = [BASEENUM_LedgerTransType].[ENUMITEMVALUE]
)
)

Execution of the last query returning almost 127k records takes  ~500ms.

Some more details:

  • This is run in a non-production VM with 2 CPU cores, 8GB RAM containing only SSRS and SSAS components;
  • SSAS project gets delpoyed properly;
  • Demand forcast cubes get processed without any problems;
  • Values tested for ThreadPool \ Process \ MaxThreads : 1, 2, 4, 8, 32, 64, 150;
  • When XMLA script for processing dimensions is divided into smaller scripts all dimensions get processed. The thing is that AX database is empty so there is no guarantee it will work when data exists. 

Has anybody faced this problem?

*This post is locked for comments

I have the same question (0)
  • A.Prasanna Profile Picture
    8,225 on at

    Have you checked Logs in Event viewer ?

  • lcwik Profile Picture
    480 on at

    Yes, I checked Event viewer and logs of SSAS but there is nothing. In SQL Profiler you can see that the process stopped on a query and after around a minute you get Audit logout entries.

  • A.Prasanna Profile Picture
    8,225 on at

    Just check on Administrative Logs , there should be error logged for SSAS

  • lcwik Profile Picture
    480 on at

    Just as I wrote before - there is nothing logged related to unfinished SSAS database processing.

  • Verified answer
    lcwik Profile Picture
    480 on at

    Microsoft Support advised changing CoordinatorExecutionMode (Advanced Settings) to 600 (the prevoius value was -4) and that solved the problem. We tried some other values before like -8 and 10 but it didn't help. SSAS database processing hasn't got stuck after serveral tests so far.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the March Top 10 Community Leaders

These are the community rock stars!

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
CP04-islander Profile Picture

CP04-islander 26

#2
imran ul haq Profile Picture

imran ul haq 8

#3
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 4 Super User 2026 Season 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans