BusinessObjects Board

Xcelsius error "Could not connect to microsoft excel...

Hey everyone,

I am attempting to open a dashboard however the following error wont let me

“Could not connect to Microsoft Excel, to prevent further data corruption the program must be closed”

I have tried the following:

-Open the task manager and view the processes tab. Kill the Excel process and then attempt to restart the dashboard.

-From the file menu open your .xlf file. This should help

-If this too does not help…simply restart your machine to kill any processes that may be hindering the proper opening of Xcelsius application.

-Close all excel applications

-Open the file on another machine to see if it opens up.

Thanks in advance!


MHassan (BOB member since 2013-11-19)

Off the top of my head, I’ve no idea. But I’m fairly sure I’ve read of a way to trick xcelsius into talking to excel again. Something to do with renaming the file extension? Can’t remember if it was on this forum or via google.

If I find it again, I’ll post a link, but do some searching…

Debbie


Debbie :uk: (BOB member since 2005-03-01)

Is this happening with all dashboards or just one in particular?


katullus :us: (BOB member since 2009-08-21)

someone has already put a solution for this, but what I would do to prevent it is the following.

1-save as diferent versions as you progress with your dashboard.
2-before you close your dashboard, an easy way to detect if there is a corruption is looking at the last save file size, its half of what it supposed to be, e.g., if the file was 1203kb, the file would probably have 700kb.
3-if you find this has happend, do not close the file.
4-export the existing excel by selecting Data, export and save it on your c drive.
5-Select Data and this time import the excel file again, it will advise you that all data will be overwritten and previous data will be lost, click ok.
once you have re-imported the file, it should have its original file size.

note when exporting to excel, the excel file is conciderably bigger. for a xlf of 1200kb, the excel is around 5000kb

Hope it helps saving you guys lots of time.


javval77 (BOB member since 2014-10-01)

If you have an XLF with a corrupted data model, you can replace it.

Rename the .XLF file to a .ZIP file
Open the .ZIP with something like WinZip or 7-Zip (the regular Windows function won’t work)
The xldoc file is your data model
Find another copy of your data model (hopefully you have one that has all the same sheets, and is at least reasonably current)
Rename that copy to “xldoc” (no extension)
Overwrite the xldoc in the .ZIP with this xldoc
Close the .ZIP
Rename the .ZIP back to .XLF

When you re-open the XLF, it will use this data model. If you changed any of the sheet names, or are missing any sheets, then components or connections that reference those sheets will need to be remapped. Also hopefully you remember all the changes that need to be made to the data model since you took that backup.


Lugh (BOB member since 2009-07-16)

I just had the same thing happen to me. What I usually do is publish the XLF to my dev server once I finish my work and then check the XLF into TFS. This morning when I wen to open the XLF on my local machine (the one I had just worked on and checked into TFS) I got this error. I was able to work the file though by opening the published version from the server. I realize that this isn’t going to work for everyone but for us it saved today.


padre :us: (BOB member since 2006-03-01)

Lugh’s answer was based on my more thorough solution in Error in communicating with Excel.


lozeon (BOB member since 2009-10-09)