Are you trying to create an offline cube for Multidimensional OLAP or Tabular cube ?
If this is multidimensional cube, try check the user permission see if it has access to the cube and check if you could create .cub file with other measure or user account.
If you are trying to create .cub file with SSAS Tabular model, unfortunately it is currently not support. The OLAP Offline feature in Excel is just for Multidimensional Cube. I
If the answer is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.
What can I do if my transaction log is full?--- Hot issues November
How to convert Profiler trace into a SQL Server table -- Hot issues November