# Missing AlphaVSS.x64.dll error on clean install

**URL:** <https://forum.duplicati.com/t/missing-alphavss-x64-dll-error-on-clean-install/2519>\
**Category:** Support\
**Created:** [February 14, 2018, 10:06am UTC](https://forum.duplicati.com/t/missing-alphavss-x64-dll-error-on-clean-install/2519 "2018-02-14T10:06:53Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![avmaksimov](https://forum.duplicati.com/letter_avatar_proxy/v4/letter/a/f475e1/32.png) [@avmaksimov](https://forum.duplicati.com/u/avmaksimov)\
**Post date:** [February 14, 2018, 10:06am UTC](https://forum.duplicati.com/t/missing-alphavss-x64-dll-error-on-clean-install/2519/1 "2018-02-14T10:06:53Z")

</div>

I have error in clean install:

> The file or assembly “AlphaVSS.x64.dll” or one of their dependencies could not be loaded. The specified module could not be found.

After press OK I have no error. But this message appear always when I edit job.

---

<div class="post-metadata">

**Author:** ![kees-z](https://forum.duplicati.com/user_avatar/forum.duplicati.com/kees-z/32/29_2.png) [@kees-z](https://forum.duplicati.com/u/kees-z)\
**Post date:** [February 14, 2018, 10:41am UTC](https://forum.duplicati.com/t/missing-alphavss-x64-dll-error-on-clean-install/2519/2 "2018-02-14T10:41:47Z")

</div>

Does `AlphaVSS.x64.dll` actually exist on your system? It should be located in the subfolder `alphavss`, under the Duplicati program folder.  
The `alphavss` folder should contain 3 files: `AlphaVSS.Common.dll`, `AlphaVSS.x64.dll` and `AlphaVSS.x86.dll`.

It looks like something went wrong when copying the files of the last update to the Duplicati program folder. My suggestion:

- Download the latest Zip version of Duplicati.
- Stop all Duplicati instances (Duplicati.Server.exe, Duplicati.GUI.TrayIcon.exe, Stop Duplicati Windows service).
- Check in Task Manager if there are no running processes starting with Duplicati. If there are any, end these processes.
- Extract the contents and copy it over the current files in the Duplicati program folder. All files an be overwritten, you will not lose any data or settings.

---

<div class="post-metadata">

**Author:** ![avmaksimov](https://forum.duplicati.com/letter_avatar_proxy/v4/letter/a/f475e1/32.png) [@avmaksimov](https://forum.duplicati.com/u/avmaksimov)\
**Post date:** [February 14, 2018, 11:24am UTC](https://forum.duplicati.com/t/missing-alphavss-x64-dll-error-on-clean-install/2519/3 "2018-02-14T11:24:45Z")

</div>

Unfortunately, after these actions I see same error.

The alphavss folder should contain 3 files: AlphaVSS.Common.dll, AlphaVSS.x64.dll and AlphaVSS.x86.dll. - Yes and root folder of D2 contain: AlphaVSS.Common.dll

---

<div class="post-metadata">

**Author:** ![kees-z](https://forum.duplicati.com/user_avatar/forum.duplicati.com/kees-z/32/29_2.png) [@kees-z](https://forum.duplicati.com/u/kees-z)\
**Post date:** [February 14, 2018, 12:34pm UTC](https://forum.duplicati.com/t/missing-alphavss-x64-dll-error-on-clean-install/2519/4 "2018-02-14T12:34:00Z")

</div>

> [@Should 2.0.2.19 be promoted to the experimental channel?](https://forum.duplicati.com/t/should-2-0-2-19-be-promoted-to-the-experimental-channel/2465/27):
>
> The file or assembly “AlphaVSS.x64.dll” or one of their dependencies could not be loaded. The specified module could not be found.

AlphaVSS needs the Visual C++ 2017 Redist package. You could try to (re)install this package from here:

> **[Download Visual Studio Tools - Install Free for Windows, Mac, Linux](https://visualstudio.microsoft.com/downloads/)**
>
> Download Visual Studio IDE or VS Code for free. Try out Visual Studio Professional or Enterprise editions on Windows, Mac.

Scroll down to the bottom of the list. There you’ll find **Microsoft Visual C++ Redistributable for Visual Studio 2017**. Download it for the same processor architecture as your Duplicati install (x86 or x64, or both).

---

<div class="post-metadata">

**Author:** ![avmaksimov](https://forum.duplicati.com/letter_avatar_proxy/v4/letter/a/f475e1/32.png) [@avmaksimov](https://forum.duplicati.com/u/avmaksimov)\
**Post date:** [February 14, 2018, 1:15pm UTC](https://forum.duplicati.com/t/missing-alphavss-x64-dll-error-on-clean-install/2519/5 "2018-02-14T13:15:06Z")

</div>

Thank you! All OK. I think better to add this to setup or error message with message to download “Visual C++ 2017 Redist package”.

---

<div class="post-metadata">

**Author:** ![kees-z](https://forum.duplicati.com/user_avatar/forum.duplicati.com/kees-z/32/29_2.png) [@kees-z](https://forum.duplicati.com/u/kees-z)\
**Post date:** [February 14, 2018, 1:17pm UTC](https://forum.duplicati.com/t/missing-alphavss-x64-dll-error-on-clean-install/2519/6 "2018-02-14T13:17:26Z")

</div>

Glad to hear it’s working now.  
I’ve marked my own post as Solution if you don’t mind, to help others who run into the same issue.

---

<div class="post-metadata">

**Author:** ![kenkendk](https://forum.duplicati.com/user_avatar/forum.duplicati.com/kenkendk/32/5305_2.png) [@kenkendk](https://forum.duplicati.com/u/kenkendk)\
**Post date:** [February 15, 2018, 1:19pm UTC](https://forum.duplicati.com/t/missing-alphavss-x64-dll-error-on-clean-install/2519/7 "2018-02-15T13:19:48Z")

</div>

It sounds like you have a situation where the installer is omitting install of some files (I think you have it resolved, but I would like to know why it happens).

Can you look in your antivirus logs or quarantine folders and see if the files are retained here?

---

<div class="post-metadata">

**Author:** ![JonMikelV](https://forum.duplicati.com/letter_avatar_proxy/v4/letter/j/439d5e/32.png) [@JonMikelV](https://forum.duplicati.com/u/JonMikelV)\
**Post date:** [February 15, 2018, 3:53pm UTC](https://forum.duplicati.com/t/missing-alphavss-x64-dll-error-on-clean-install/2519/9 "2018-02-15T15:53:02Z")

</div>

All - I moved this to it’s own topic for now so the [Should 2.0.2.19 be promoted to the experimental channel?](https://forum.duplicati.com/t/should-2-0-2-19-be-promoted-to-the-experimental-channel/2465/34) topic doesn’t get too diluted.

Oddly, the “solved” icon is still showing on the old topic. If it doesn’t clear itself out in a bit I my un-solve then re-solve this topic just to see what happens.

---

<div class="post-metadata">

**Author:** ![Jeremy](https://forum.duplicati.com/letter_avatar_proxy/v4/letter/j/82dd89/32.png) [@Jeremy](https://forum.duplicati.com/u/Jeremy)\
**Post date:** [February 20, 2018, 2:51pm UTC](https://forum.duplicati.com/t/missing-alphavss-x64-dll-error-on-clean-install/2519/10 "2018-02-20T14:51:14Z")

</div>

I had the same problem. I installed the 2015 and 2017 versions of the C++ files, rebooted, and the problem went away.

The FAQ on this website says that the 2015 version is needed, but some places, like this thread, say that the 2017 version is needed. Maybe the FAQ needs an update?

May I suggest adding all those necessary files to the Windows installer so that they are installed automatically with Duplicati? Also, it would be great to add this info to the error message and the VSS advanced option help text so that users can see the solution there instead of having to search forum threads about the error message. Thanks!

---

<div class="post-metadata">

**Author:** ![JonMikelV](https://forum.duplicati.com/letter_avatar_proxy/v4/letter/j/439d5e/32.png) [@JonMikelV](https://forum.duplicati.com/u/JonMikelV)\
**Post date:** [February 27, 2018, 2:56pm UTC](https://forum.duplicati.com/t/missing-alphavss-x64-dll-error-on-clean-install/2519/11 "2018-02-27T14:56:43Z")

</div>

> [@kees-z](#):
>
> Does AlphaVSS.x64.dll actually exist on your system? It should be located in the subfolder alphavss, under the Duplicati program folder.
> 
> The alphavss folder should contain 3 files: AlphaVSS.Common.dll, AlphaVSS.x64.dll and AlphaVSS.x86.dll.

So a week or so ago I pulled the trigger and installed Duplicati 2.0.2.19\_canary on a client’s machine. It’s running fine OTHER than the following message (I’m using `--snapshot-policy=On`):  
`Failed to create a snapshot: System.IO.FileNotFoundException: Could not load file or assembly 'AlphaVSS.x64.dll' or one of its dependencies. The specified module could not be found.`

I checked `C:\Program Files\Duplicati 2\alphavss` and all 3 files mentioned are in it.

So it appears in my case (fresh install of 2.0.2.19 and no updates yet) the files ARE installed but possibly not registered?

Before I do something crazy like update to 2.0.2.20 (yay!) is there some testing I could do to help figure from out where the issue with this coming?

---

<div class="post-metadata">

**Author:** ![kees-z](https://forum.duplicati.com/user_avatar/forum.duplicati.com/kees-z/32/29_2.png) [@kees-z](https://forum.duplicati.com/u/kees-z)\
**Post date:** [February 28, 2018, 8:25am UTC](https://forum.duplicati.com/t/missing-alphavss-x64-dll-error-on-clean-install/2519/12 "2018-02-28T08:25:45Z")

</div>

Did you install the VC++ 2017 Redist package? If not, see solution a few posts above.

---

<div class="post-metadata">

**Author:** ![JonMikelV](https://forum.duplicati.com/letter_avatar_proxy/v4/letter/j/439d5e/32.png) [@JonMikelV](https://forum.duplicati.com/u/JonMikelV)\
**Post date:** [February 28, 2018, 6:16pm UTC](https://forum.duplicati.com/t/missing-alphavss-x64-dll-error-on-clean-install/2519/13 "2018-02-28T18:16:03Z")

</div>

> [@kees-z](#):
>
> Did you install the VC++ 2017 Redist package?

I did not, and will certainly do so once any testing is done. (I’m not in any hurry.)

What I’m trying to figure out is why the files DO exist in the `alphavss` folder but Duplicati says they can’t be found.

For now I’m _assuming_ it has something to do with a failure to register the DLLs on installation and that all installing the Redist package really does for Duplicati is to provide a registration of the files.

I used to know how to check what was registered and do manual DLL registrations, but it’s been so long I’ll have to look it up somewhere. 🙂

---

<div class="post-metadata">

**Author:** ![JonMikelV](https://forum.duplicati.com/letter_avatar_proxy/v4/letter/j/439d5e/32.png) [@JonMikelV](https://forum.duplicati.com/u/JonMikelV)\
**Post date:** [June 8, 2018, 7:49pm UTC](https://forum.duplicati.com/t/missing-alphavss-x64-dll-error-on-clean-install/2519/14 "2018-06-08T19:49:43Z")

</div>

According to Settings -\> Apps & Features installed VC++ 2017 Redist (x64) on 05/19/2018 and am still getting the warning.

I do NOT have installed VC++ 2015 which seems to have worked for some people, should I give that a try or are there other things worth testing first?

---

<div class="post-metadata">

**Author:** ![hepter](https://forum.duplicati.com/letter_avatar_proxy/v4/letter/h/c0e974/32.png) [@hepter](https://forum.duplicati.com/u/hepter)\
**Post date:** [June 13, 2019, 7:28pm UTC](https://forum.duplicati.com/t/missing-alphavss-x64-dll-error-on-clean-install/2519/15 "2019-06-13T19:28:02Z")

</div>

Manual solution of the problem.

Open the \*.csproj file with your own notepad

```
 <PropertyGroup Condition="...">

         ...Other Props...

         <!-- Just add the following line here -->
         <Prefer32Bit>false</Prefer32Bit>    

 </PropertyGroup>
```

---

<div class="post-metadata">

**Author:** ![Marcilio\_Amaral](https://forum.duplicati.com/user_avatar/forum.duplicati.com/marcilio_amaral/32/3872_2.png) [@Marcilio\_Amaral](https://forum.duplicati.com/u/Marcilio_Amaral)\
**Post date:** [January 20, 2020, 9:39pm UTC](https://forum.duplicati.com/t/missing-alphavss-x64-dll-error-on-clean-install/2519/16 "2020-01-20T21:39:50Z")

</div>

If someone is having trouble downloading this specific version, follow the link:

> **[Download Microsoft Visual C++ Redistributable (All Versions)](https://www.itechtics.com/microsoft-visual-c-redistributable-versions-direct-download-links/)**
>
> Microsoft ecosystem includes Visual Studio which is used for developing applications used for Windows Operating System. Microsoft Visual C++ is one program

It was only with her that I managed to solve my installation.  
Testing on Windows Server 2012, 2016 and 2019

- Duplicati must be closed completely and opened again to recognize.
- When in doubt, I installed both versions, 32 and 64 bits of Visual 2017

Everything working fine now.

---

<div class="post-metadata">

**Author:** ![Taomyn](https://forum.duplicati.com/user_avatar/forum.duplicati.com/taomyn/32/2665_2.png) [@Taomyn](https://forum.duplicati.com/u/Taomyn)\
**Post date:** [January 21, 2020, 7:05am UTC](https://forum.duplicati.com/t/missing-alphavss-x64-dll-error-on-clean-install/2519/17 "2020-01-21T07:05:25Z")

</div>

FYI, since about a year the 2019 release removes all individual installations of versions after 2013, and so 2015/2017 are not needed and should not be installed manually (it’s in the name as a reminder). Applications checking for them should detect they are covered by the 2019 release and work. Versions 2013 and earlier remain separate installations but I don’t know if Microsoft are ever going to be able to merge those into the all-in-one, and I suspect they can’t.

 ![image](https://forum.duplicati.com/uploads/default/original/2X/b/b9941851161548433fac95a4bf76d530f55b1e8e.png)

---

<div class="post-metadata">

**Author:** ![kees-z](https://forum.duplicati.com/user_avatar/forum.duplicati.com/kees-z/32/29_2.png) [@kees-z](https://forum.duplicati.com/u/kees-z)\
**Post date:** [January 21, 2020, 9:13am UTC](https://forum.duplicati.com/t/missing-alphavss-x64-dll-error-on-clean-install/2519/18 "2020-01-21T09:13:50Z")

</div>

Note that AlphaVSS is an external package that Duplicati uses for creating shadow copies, it’s not required for Duplicati itself.  
Recently, version 2.0.0 was released. For this version, VC++ Redist 2019 is required and it supports .NET Core 3.1.  
AlphaVSS 1.4.0.0 (released 03/13/2017) is the version that is included in the current version of Duplicati.

> **[alphaleonis/AlphaVSS](https://github.com/alphaleonis/AlphaVSS/releases)**
>
> AlphaVSS is a .NET class library released under the MIT license providing a managed API for the Volume Shadow Copy Service also known as VSS. - alphaleonis/AlphaVSS

---

<div class="post-metadata">

**Author:** ![ts678](https://forum.duplicati.com/letter_avatar_proxy/v4/letter/t/8491ac/32.png) [@ts678](https://forum.duplicati.com/u/ts678)\
**Post date:** [January 21, 2020, 11:48am UTC](https://forum.duplicati.com/t/missing-alphavss-x64-dll-error-on-clean-install/2519/19 "2020-01-21T11:48:34Z")

</div>

I always thought of it as only being used on Windows, e.g. for VSS and long pathname support.

Are any of you expert enough in the area to offer any thought why macOS is looking for it here?

> [@Release: 2.0.5.1 (beta) 2020-01-18](https://forum.duplicati.com/t/release-2-0-5-1-beta-2020-01-18/8904/8):
>
> After installing this version on macOS 10.14.6 with Mono 6.6.0.161 (multiple computers) I see the following error in my output log:
> 
> > Failed to load process type Duplicati.Library.Common.IO.VssBackupComponents assembly /Applications/Duplicati.app/Contents/Resources/Duplicati.Library.IO.dll  
> > , error message: Could not load type of field ‘Duplicati.Library.Common.IO.VssBackupComponents:\_vssBackupComponents’ (1) due to: Could not load file or asse  
> > mbly ‘AlphaVSS.Common, Version=1.4.0.0, Culture=neutral, PublicKeyToken=959d3993561034e3’ or one of its dependencies. =\> Could not load type of field ‘Dupli  
> > cati.Library.Common.IO.VssBackupComponents:\_vssBackupComponents’ (1) due to: Could not load file or assembly ‘AlphaVSS.Common, Version=1.4.0.0, Culture=neut  
> > ral, PublicKeyToken=959d3993561034e3’ or one of its dependencies.

Sorry to veer off-topic into a different AlphaVSS symptom that I assume can’t be fixed the same way.  
Follow-ups can be made directly at topic linked above, or (if it’s going to be long) maybe a new topic.

---

<div class="post-metadata">

**Author:** ![sanktus](https://forum.duplicati.com/letter_avatar_proxy/v4/letter/s/d9b06d/32.png) [@sanktus](https://forum.duplicati.com/u/sanktus)\
**Post date:** [May 26, 2020, 6:09pm UTC](https://forum.duplicati.com/t/missing-alphavss-x64-dll-error-on-clean-install/2519/20 "2020-05-26T18:09:21Z")

</div>

Same here on Ubuntu 20.04.  
Have you been able to solve it?

---

<div class="post-metadata">

**Author:** ![ts678](https://forum.duplicati.com/letter_avatar_proxy/v4/letter/t/8491ac/32.png) [@ts678](https://forum.duplicati.com/u/ts678)\
**Post date:** [May 26, 2020, 9:07pm UTC](https://forum.duplicati.com/t/missing-alphavss-x64-dll-error-on-clean-install/2519/21 "2020-05-26T21:07:13Z")

</div>

> [@sanktus](#):
>
> Same here on Ubuntu 20.04.

If you mean the later AlphaVSS.Common warning (and not the original AlphaVSS.x64.dll one) try this:

> [@Warning on latest backup - 2020-04-21 13:45:00 -06 - \[Warning-Duplicati.Library.DynamicLoader.DynamicLoader\`1-SoftError\]](https://forum.duplicati.com/t/warning-on-latest-backup-2020-04-21-1300-06-warning-duplicati-library-dynamicloader-dynamicloader-1-softerror/9675/5):
>
> > [@Warning on latest backup - 2020-04-21 13:45:00 -06 - \[Warning-Duplicati.Library.DynamicLoader.DynamicLoader\`1-SoftError\]](https://forum.duplicati.com/t/warning-on-latest-backup-2020-04-21-1300-06-warning-duplicati-library-dynamicloader-dynamicloader-1-softerror/9675/4):
> >
> > I get this error sometimes
> 
> > No longer removes AlphaFS and AlphaVSS files from non-Windows packages, thanks [@warwickmm](https://github.com/warwickmm)
> 
> [2.0.5.106\_canary\_2020-05-11](https://github.com/duplicati/duplicati/releases/tag/v2.0.5.106-2.0.5.106_canary_2020-05-11) fixes it, but you’d have to risk a Canary build until it gets out. More at:
> 
> [VSS warning on non-Windows platforms #4149](https://github.com/duplicati/duplicati/issues/4149#issuecomment-629669753) if you want to go the Canary route (has some risks).
> 
> If you prefer workaround, see [earlier here](https://forum.duplicati.com/t/warning-on-latest-backup-2020-04-21-1300-06-warning-duplicati-library-dynamicloader-dynamicloader-1-softerror/9675/3), download the .zip for _your_ release, and install missing.dll.

[Next page](https://forum.duplicati.com/t/missing-alphavss-x64-dll-error-on-clean-install/2519.md?page=2)
