Overview
When connecting through the M-Files desktop client, the user receives the error message "The relative path cannot be determined for folders on different drives."Solution
The full error stack is like the one below:CoScriptDelegate_Events.cpp, 414, The relative path cannot be determined for folders on different drives. (0x800408D1)
IDispatchInvocation.cpp, 96, The relative path cannot be determined for folders on different drives. (0x800408D1)
Theme Editor: theme-helper.js, 116, The relative path cannot be determined for folders on different drives. (0x800408D1)
MDispatchExImpl.h, 688, The relative path cannot be determined for folders on different drives. (0x800408D1)
MDispatchExImpl.h, 850, The relative path cannot be determined for folders on different drives. (0x800408D1)
CoScriptObjectFactory.cpp, 505, The relative path cannot be determined for folders on different drives. (0x800408D1)
(M-Files version number here)
This error message relates to Theme Editor and is a known issue.
You can find the latest documentation here: https://kb.cloudvault.m-files.com/Default.aspx?#3ECA226F-7B54-428B-B539-DE443E6134EC/object/42033BB5-4597-4197-B4E0-578AB657B45F/latest
In chapter 2.1 it is stated:
"CHOOSING AN INSTALLATION PACKAGE
There are two installation packages available for the Theme Editor; the default package ThemeEditor_N_N_N_N.mfappx and the alternate package ThemeEditor_Alternate_N_N_N_N.mfappx.
In most scenarios, ThemeEditor_N_N_N_N.mfappx is the package that should be used.
ThemeEditor_Alternate_N_N_N_N.mfappx should only be used if the M-Files Desktop Client is installed on a different drive than the user's temp folder. If the alternate package is not used in this scenario, users will receive errors within M-Files regarding the "relative path" not being able to be determined."
Typically, this error is generated when M-Files is installed on a different drive than the user's \%temp% folder.
The two options that resolve this are to install the alternate version of the Theme Editor or to make sure that that the M-Files Desktop is installed into the temp folder for the user and not to some other location. If these do not resolve the issue, please contact Support@M-Files.com.
