Opened 10 years ago

Closed 9 years ago

#511 closed bug (wontfix)

Office Add-in producing errors with Excel

Reported by: jkenyon Owned by: blucecio
Priority: minor Milestone:
Component: Office Addin Version: 7.1.2
Keywords: Cc:


Office Addin 2.10.0
LogicalDOC version 7.1.2

When trying to open an excel spreadsheet on my desktop I get the following error dialog: "There was a problem sending the command to the program."

Here are the addin logs:

2015-01-12 15:54:28 DEBUG LogicalDOCOfficeAddIn.AddinModule? - AddinStartupComplete? called version:
2015-01-12 15:54:28 DEBUG LogicalDOCOfficeAddIn.AddinModule? - SetCurrentApp? Enter.
2015-01-12 15:54:28 DEBUG LDOfficeCore.OfficeDocumentHelper? - Setting Excel app
2015-01-12 15:54:28 DEBUG LDOfficeCore.OfficeDocumentHelper?+ExcelUIHelper - change current-culture to 'en-US'.
2015-01-12 15:54:28 DEBUG LDOfficeCore.OfficeDocumentHelper?+ExcelUIHelper - change excelApp.DisplayAlerts? to 'false'
2015-01-12 15:54:28 DEBUG LDOfficeCore.OfficeDocumentHelper?+ExcelUIHelper - change excelApp.DisplayAlerts? back to 'True'
2015-01-12 15:54:28 DEBUG LogicalDOCOfficeAddIn.AddinModule? - base.HostMajorVersion?: 14
2015-01-12 15:54:32 INFO LogicalDOCOfficeAddIn.AddinModule? - Addin Shutdown called.
2015-01-12 15:54:32 INFO LogicalDOCOfficeAddIn.AddinModule? - Calling logicaldocAddIn.OnShutdown?
2015-01-12 15:54:32 DEBUG LogicalDOCOfficeAddIn.LogicalDOCAddIn - ClearDocumentCache?: C:\Users\jkenyon\AppData?\Roaming\LogicalDOC\Office Add-In\My Documents
2015-01-12 15:54:32 INFO LogicalDOCOfficeAddIn.LogicalDOCAddIn - ClearDocumentCache? deleted 0 files
2015-01-12 15:54:32 INFO LogicalDOCOfficeAddIn.LogicalDOCAddIn - Calling DeleteTempFiles?
2015-01-12 15:54:32 INFO LogicalDOCOfficeAddIn.AddinModule? - Shutdown finished.

Change History (3)

comment:1 Changed 10 years ago by jkenyon

When you uninstall the add-in, the following directory is deleted: "%USERPROFILE%\AppData?\Roaming\Logical Objects\LogicalDOC Office Add-in". However the following directory remains: "%USERPROFILE%\AppData?\Roaming\LogicalDOC\Office Add-In". Which is good because it retains all of your settings when you upgrade the add-in but I suspect the old folderCache.xml file was causing trouble.

I believe this issue may have been due to me changing the settings of the add-in between our 2 x installations of LogicalDOC (PROD and TEST). When you change settings it updates the config.xml fine in "%USERPROFILE%\AppData?\Roaming\LogicalDOC\Office Add-In" however I found the folderCache.xml file was referencing a workspace in PROD not present in TEST. This might explain why it was crashing?

I seemed to resolve my issue by uninstalling, manually removing the "%USERPROFILE%\AppData?\Roaming\LogicalDOC\Office Add-In" directory, re-installing the add-in and reconfiguring the settings. The folderCache.xml is no longer present. What action in the add-in generates this file?

comment:2 Changed 10 years ago by Blucecio

Yes John, you're right.
If you have changed the configuration of the add-in from one repository to another, the file folderCache.xml might give you problems.
This is because the old file retains references to folders of old repository.
In this case the solution is precisely to delete the file folderCache.xml.
This file contains references to the last 10 used folders (saving locations) to populate the drop down selection for quick saving.

comment:3 Changed 9 years ago by car031

  • Resolution set to wontfix
  • Status changed from new to closed

Unfortunately we cannot avoid this issue

Note: See TracTickets for help on using tickets.