Article Details
Id:18955
Product:finPOWER Connect
Type:FIX
Version:3.04.04
Opened:21/01/2022
Closed:04/02/2022
Released:09/06/2022
Job: J028152

finPOWER Connect fails to start; message shown is "Could not find special directory 'My Documents'."

finPOWER Connect may fail to start and shows the message "An unhandled exception has occurred. Could not find special directory 'My Documents'."

This error has been seen when running under Citrix and may be an issue to do with the folder redirection feature in Windows.

The best workaround, apart from fixing the issue in Citrix, is to ensure the either User Preferences or Global Settings, Documents and Templates, "Documents" folder is defined.

The following Business Layer functions have been updated:

  • finBL.System.IsInProgramFilesFolder
    • If fails to retrieve False is now returned.
  • finBL.System.ProgramFilesFolder
    • If fails to retrieve a blank String is now returned.
  • finBL.System.UserDataFolder
    • If fails to retrieve a blank String is now returned.
  • finBL.Runtime.FileUtilities.ApplicatonDataPath
    • Function is now obsolete as not used within finPOWER Connect.

In addition, if the User Data folder (Windows "My Documents" special folder) fails, the blank top for User Preferences "Document" folder will be "ERROR: Failed to get User Data Folder".