There are multiple reasons why you might not be able to view a SAS OLAP cube. This SAS KB article is a guide to diagnosing the cause of your particular problem.
For example, review this note if the message View Cube results are not available occurs in SAS® OLAP Cube Studio 4.2 or later. Another common error is Metadata error - The specified metadata repository or schema does not define any cubes.
Each section includes information about where to look and which items you should investigate.
Check for problems at the operating system level
New out call client connection (1) from sastrust.
Verify that the SAS OLAP Server was started after the SAS® Metadata Server had completed its own start-up routine.
Verify that there are no errors in either the OLAP server log or the metadata server log that indicate a problem.
Note: You can also do this verification in the SAS OLAP Cube Studio by completing the following steps. Right-click the OLAP Schema in the metadata folder ► click the Server Assignment tab. Make sure that the schema is correctly associated with the application server.
Using either an interactive Base SAS® session or SAS® Enterprise Guide®, submit the following PROC SQL passthru to capture a more descriptive error. Replace the macro values in the code below with the correct information for your environment.
/* The machine name or IP address for the OLAP server */
%let host=server.domain.com;
/* The port number for the OLAP server */
%let port=5451;
/* A User ID with access to the cube */
%let user=sasdemo;
/* The User's password */
%let pass=sasdemo1;
/* The OLAP cube name */
%let cube=Example;
proc sql;
connect to olap (host="&host" port=&port
user="&user" pass="&pass");
select * from connection to olap (
select [Measures].defaultmember on columns from [&cube]
);
disconnect from olap;
quit;
Errors that contain Access Denied or User does not have privileges typically indicate a problem at the operating system level.
Errors that contain the word permission usually indicate that the problem is due to metadata permissions.
If the error indicates that the repository or schema does not contain cubes, see the next section.
In SAS 9.1.3 Service Pack 3 and earlier, it is possible to create multiple schemas that have the same name. This will cause the OLAP server to lose the reference to the cube object. You can remove duplicate schemas in SAS OLAP Cube Studio if the schema is empty. To empty a schema, recreate the cubes in that schema using the Edit Cube Structure option in the context menu of the cube. Make sure to change the schema name before completing the wizard.
If the -METAREPOSITORY option has not been specified in the OLAP server's configuration, the server will be unable to locate the schema or cubes. The preferred location for this option is the sasv9.cfg file located in the home directory of the application server. For example, the directory might be Lev1\SASMain or Lev1\SASApp. The option can also be specified directly in the OLAP Server's configuration file or shell script if necessary.
Make sure that the -METASERVER option is pointing to the correct SAS Metadata Server.