Accessing Analysis Server Web Interface - Cannot Open Database
Problem
There will be times when the Analysis Server web interface is accessed, and the page displays the error Cannot open database "database_name" by the login. It can be because no database was created and deployed.
When accessing the Analysis Server web interface, you may encounter the error Cannot open database "database_name" by the login displayed in the page. This issue occurs because no database was created and deployed.
Resolution
Follow these instructions to solve the issue:
-
Using the Analysis Server console application, execute the command CreateSql:
CreateSQl CommandOpeniT.Server.Etl.Console.exe CreateSql -
Let the process finish, then execute the command CreateOlap:
CreateOlap CommandOpeniT.Server.Etl.Console.exe CreateOlap -
Let the process finish, then execute the command DeploySql:
DeploySQl CommandOpeniT.Server.Etl.Console.exe DeploySql -
Let the process finish, then execute the command DeployOlap:
DeployOlap CommandOpeniT.Server.Etl.Console.exe DeployOlap -
Let the process finish.
-
Reaccess the web interface, and the home page should be displayed.