Hi:
In order to re-order the elements in an existing TM1 dimension (which was created manually using dimension editor) I have exported the dimension (as a cma file - the only option it gave me), reordered the elements to the desired order, saved as an .xdi file.
But when I try to save it back to TM1 in Perspectives using 'Developer', 'Dimension Save', and I get the error 'Invalid data base directory: "..\samples\tm1\PData"TM1P.INI ="C:\Users\Hd\AppData\Roaming\Applix\TM1\\tm1p.ini"
In 'TM1', 'Options' this is the data directory of the local server so this seems fine.
I am an admin/have write access.
We have not used dimension worksheets/xdi files before (we use the dimension editor) so there are no other xdi files on the server.
Many thanks in advance for any advice on where I am going wrong.
Error saving XDI file - Invalid data base directory
- jim wood
- Site Admin
- Posts: 3970
- Joined: Wed May 14, 2008 1:51 pm
- OLAP Product: TM1
- Version: PA 2.0.7
- Excel Version: Office 365
- Location: 575 Washington Blvd Jersey City NJ USA
- Contact:
Re: Error saving XDI file - Invalid data base directory
XDI's use your local database directory, not the directory of the server. Also have you made sure that the file your working on fits with the structure required for an XDI? I only ask to help you avoid pain later on.
Struggling through the quagmire of life to reach the other side of who knows where.
Go Build a PC
Jimbo PC Builds on YouTube
OS: Mac OS 11 PA Version: 2.0.7
Go Build a PC
Jimbo PC Builds on YouTube
OS: Mac OS 11 PA Version: 2.0.7
-
Alan Kirk
- Site Admin
- Posts: 6672
- Joined: Sun May 11, 2008 2:30 am
- OLAP Product: TM1
- Version: PA2.0.9.18 Classic NO PAW!
- Excel Version: 2013 and Office 365
- Location: Sydney, Australia
- Contact:
Re: Error saving XDI file - Invalid data base directory
Ah.... yeah. No. It doesn't. It really, really doesn't.wigglyrat wrote: In order to re-order the elements in an existing TM1 dimension (which was created manually using dimension editor) I have exported the dimension (as a cma file - the only option it gave me), reordered the elements to the desired order, saved as an .xdi file.
But when I try to save it back to TM1 in Perspectives using 'Developer', 'Dimension Save', and I get the error 'Invalid data base directory: "..\samples\tm1\PData"TM1P.INI ="C:\Users\Hd\AppData\Roaming\Applix\TM1\\tm1p.ini"
In 'TM1', 'Options' this is the data directory of the local server so this seems fine.
The database directory is supposed to be exactly that; a directory. What you have there is part of a directory with a relative reference ("but relative to what?", Perspectives is probably wondering; ..\ just means "the folder above me") and part of what looks like an config file entry which is pointing to the location of your client .ini file, which will leave TM1 scratching its head when it comes to saving an .xdi.
It should look more like:
Code: Select all
\\ServerName\ShareName\FolderPath\ToWhere\YouKeep\YourXDIsCode: Select all
X:\FolderPath\ToWhere\YouKeep\YourXDIs(Of course for local servers, that path really is the Database Directory. For remote servers, it's "the place where .xdi / .xrus are stored, which may or may not be the server's real database folder".)
"To them, equipment failure is terrifying. To me, it’s 'Tuesday.' "
-----------
Before posting, please check the documentation, the FAQ, the Search function and FOR THE LOVE OF GLUB the Request Guidelines.
-----------
Before posting, please check the documentation, the FAQ, the Search function and FOR THE LOVE OF GLUB the Request Guidelines.
