eddoria wrote:
When we went from Excel 2003 to 2010 we cannot open xdi files. We get the message "Excel cannot open the file 'businessunit.xdi' because the file format or file extension is not valid.
We can open it using Excel 2003 so not sure what has happened. I have searched for this but cannot find anything relating to this specific message.
We are using TM1 10.1.1
Any help with this would be greatly appreciated.
Vera Hawkins
Vera,
I haven't heard of this issue preventing the file from opening
at all in Excel before, but the odds are that it's connected with the accursed extension hardening "improvement" that was made in Excel 2007. The first thing that I do when I get a new computer is to kneecap that functionality by disabling it in the Registry. The method for doing that is described in
this MSDN article. (Note that the key will actually be:
HKEY_CURRENT_USER\Software\Microsoft\Office\14.0\Excel\Security
rather than
HKEY_CURRENT_USER\Software\Microsoft\Office\12.0\Excel\Security
if you're using Excel 2010 rather than 2007.)
However as I said the usual effect of Extension Hardening is to give you a useless, annoying, time wasting dialog rather than to stop you from opening the .xdi completely. That suggests to me that something else is in play as well.
If disabling Extension Hardening doesn't work, I would suggest that you open one of the .xdis in Excel 2003, then go to File -> Save As and check the
Save As Type drop down to see what the format actually is. If it is
Microsoft Excel Workbook (*.xls) then there's no obvious reason for it, but what I'm thinking is that they may, for some reason, be in one of the older formats like
Microsoft Excel 5.0/95 Workbook which also uses the same file extension. If that is the case it's quite possible that Excel 2010 is spitting the dummy, expecting a 97-2003 .xls file format but actually getting the older one. If that's the problem you'll probably need to re-save all of your .xdis in the newer format. (Remember that you would need to put quote marks around the name (like
"MyDim.xdi" ) otherwise it'll end up saved as MyDim.xdi.xls. Don't use the standard Dimension Worksheets -> Save functionality to do this since it's actually the Excel file that you're trying to update, not the dimension.) Obviously try this on
copies of the .xdis first.
The last thing I'd try (not that this should be necessary) is to go to Windows Explorer, go to your server data folder, right click on an .xdi and make sure that the extension is associated with Microsoft Excel.
If none of this works, post again with details of how you went and we'll see whether we can think of anything else.