Home
About
Search
Welcome to M-Files Empower – our new support experience. We'd love to hear what you think!Give feedback
Home/Support and troubleshooting/Troubleshooting/Error resolution

Copying file C:\WINDOWS\TEMP\...\CommonDialogs\CommonDialogs.dll failed. (0x80043426)

Last updated on 31 March 2022

Admin
UI Extensibility Framework

Overview

Upon logging in to the vault (especially after a Log Out has happened), you may get an error similar to (the "CAE76F0" file name will probably differ):

Failed to copy file C:\Windows\TEMP\ CAE76F0.tmp\Application\redist\CommonDialogs\CommonDialogs.dll. (0x80043426)

The full error stack would be similar to (the "CAE76F0" file name will probably differ):

CoShellFolder.cpp, 1009, Copying file C:\WINDOWS\TEMP\CAE76F0.tmp\Application\redist\CommonDialogs\CommonDialogs.dll failed. (0x80043426)

CoShellFolder.cpp, 6362, Copying file C:\WINDOWS\TEMP\CAE76F0.tmp\Application\redist\CommonDialogs\CommonDialogs.dll failed. (0x80043426)

CoVault.cpp, 2104, Copying file C:\WINDOWS\TEMP\CAE76F0.tmp\Application\redist\CommonDialogs\CommonDialogs.dll failed. (0x80043426)

CoVault.cpp, 1882, Copying file C:\WINDOWS\TEMP\CAE76F0.tmp\Application\redist\CommonDialogs\CommonDialogs.dll failed. (0x80043426)

CoVault.cpp, 2420, Copying file C:\WINDOWS\TEMP\CAE76F0.tmp\Application\redist\CommonDialogs\CommonDialogs.dll failed. (0x80043426)

CoVault.cpp, 3213, Copying file C:\WINDOWS\TEMP\CAE76F0.tmp\Application\redist\CommonDialogs\CommonDialogs.dll failed. (0x80043426)

CoVault.cpp, 3510, Copying file C:\WINDOWS\TEMP\CAE76F0.tmp\Application\redist\CommonDialogs\CommonDialogs.dll failed. (0x80043426)

MFClientAccessHelper.cpp, 118, Copying file C:\WINDOWS\TEMP\CAE76F0.tmp\Application\redist\CommonDialogs\CommonDialogs.dll failed. (0x80043426)

MFClientAccessHelper.cpp, 410, Copying file C:\WINDOWS\TEMP\CAE76F0.tmp\Application\redist\CommonDialogs\CommonDialogs.dll failed. (0x80043426)

CoVaultConfiguration.cpp, 566, Copying file C:\WINDOWS\TEMP\CAE76F0.tmp\Application\redist\CommonDialogs\CommonDialogs.dll failed. (0x80043426)

CoVaultConfiguration.cpp, 2075, Copying file C:\WINDOWS\TEMP\CAE76F0.tmp\Application\redist\CommonDialogs\CommonDialogs.dll failed. (0x80043426)

CoVaultMounting.cpp, 581, Copying file C:\WINDOWS\TEMP\CAE76F0.tmp\Application\redist\CommonDialogs\CommonDialogs.dll failed. (0x80043426)

CoApplication.cpp, 1252, Copying file C:\WINDOWS\TEMP\CAE76F0.tmp\Application\redist\CommonDialogs\CommonDialogs.dll failed. (0x80043426)

CoApplication.cpp, 1397, Copying file C:\WINDOWS\TEMP\CAE76F0.tmp\Application\redist\CommonDialogs\CommonDialogs.dll failed. (0x80043426)

VaultState.cpp, 1123, Copying file C:\WINDOWS\TEMP\CAE76F0.tmp\Application\redist\CommonDialogs\CommonDialogs.dll failed. (0x80043426)

ApplicationCache.cpp, 338, Copying file C:\WINDOWS\TEMP\CAE76F0.tmp\Application\redist\CommonDialogs\CommonDialogs.dll failed. (0x80043426)

ApplicationCache.cpp, 977, Copying file C:\WINDOWS\TEMP\CAE76F0.tmp\Application\redist\CommonDialogs\CommonDialogs.dll failed. (0x80043426)

FileHelper.cpp, 1732, Copying file C:\WINDOWS\TEMP\CAE76F0.tmp\Application\redist\CommonDialogs\CommonDialogs.dll failed. (0x80043426)

FileHelper.cpp, 1885, Copying file C:\WINDOWS\TEMP\CAE76F0.tmp\Application\redist\CommonDialogs\CommonDialogs.dll failed. (0x80043426)

FileHelper.cpp, 1885, Copying file C:\WINDOWS\TEMP\CAE76F0.tmp\Application\redist\CommonDialogs\CommonDialogs.dll failed. (0x80043426)

FileHelper.cpp, 1862, Copying file C:\WINDOWS\TEMP\CAE76F0.tmp\Application\redist\CommonDialogs\CommonDialogs.dll failed. (0x80043426)

FileHelper.cpp, 1862, The file exists. (0x80070050)

(M-Files 21.8.10524.3)

Cause

Most commonly, this error is caused by a double installation of the same Vault Application. Action sequence similar to the following could result in such an error:

  1. Install the ThemeEditor application.
  2. Some users log in after that and have it installed on their clients.
  3. Install the ThemeEditor_Alternate version of the application.
  4. These users, upon subsequent login may get the error.

In a similar fashion, if the uninstall of an app has not completed properly for any reason, it may cause a similar error.

The second most common reason is antivirus software interfering with the operation of M-Files.

Solution

Make sure that antivirus software is configured as described in the user guide and excludes M-Files as required: https://www.m-files.com/user-guide/latest/eng/m-files_and_virus_scanning.html .

In the March '22 release an enhancement has been made that can alleviate this as well, so you can try upgrading the M-Files Desktop Client to that version or a newer one.

Before following the more complex approach below, you can also try clearing the local cache and destroying the local data. Note that this can cause loss of data if the user has objects that are checked out. Instructions:

In case the ideas above do not help, and the same app tries to install twice (for example, you know recently a certain app has been re-installed to the vault), here is how you can get rid of the error:

  1. Stop and disable the MFClient service.
  2. Restart Windows (this enables it to unlock files it has been locking).
  3. Go to the client cache folder of the vault connection (see details below).
  4. Delete the application folder for the problematic application.
    • You could copy the contents to another location as a safety measure so you could restore them, if needed.
    • If you are not sure which is the problematic application, remove all of them.
  5. Clear the contents of the C:\Windows\Temp folder as well.
    • Although the data in this folder should be temporary in nature, clearing the folder can interfere with the operations of the system and, if done, should be done after the computer has been started up and when no critical operations, including software installations, are in progress.
  6. Enable and start the MFClient service.

This needs to be done on every PC and user that has the error, because the error and folders are user-specific.

The M-Files client cache folder looks something like:

C:\Program Files\M-Files\21.8.10524.3\Client\Apps\{F4C51CB2-8889-4328-AD8D-65FB23B4EED6}\1\{C61C50A7-F29F-45B6-8672-79705FCDAAC5}

which is constructed like this:

C:\Program Files\M-Files\<M-Files version>\Client\Apps\<Vault GUID>\<User ID>\<App GUID>

You can find:

  • The vault GUID in the M-Files Admin, or in the M-Files Desktop Settings (see the Document Vault on Server column).
  • The user id in the M-Files Admin (expand the vault, select Users).
  • The app GUID in the appdef.xml file in the .mfappx file used to install the app to the vault. To easily browse it, rename it to a .zip extension.

Still need help?