When running report connected with SSAS users get message “Either the user, <user>, does not have access to the <database> database, or the database does not exist.”.
There can be multiple reasons – try one by one of possible solutions:
Check if in Analysis Server exists database with name <database>. If not then there are 2 options:
Try to redeploy and reprocess the cube using database name <database>.
Change connection string:
- Open Microsoft Dynamics AX Management Shell.
- iRun command Get-AXReportDataSource -DataSourceName DynamicsAXOLAP| format-list
- Copy the string from “ConnectionString”, change value in property “Initial catalog=” to your correct database name <database> and run the command Set-AXReportDataSource -ConnectionString “<ConnectionString>” -DataSourceName DynamicsAXOLAP
- Redeploy reports to SSRS.
Check if SSRS and SSAS services users and BI user have correct permissions to <database> database in Analysis Server.
Try to redeploy and reprocess the cube.
Microsoft Dynamics developer from July 2008. Comes from Tychy in Poland. Graduated at Silesian University of Technology as Computer Science Master.