# Cannot stop deleting unwanted files and BouncyCastel Errors

**URL:** https://forum.duplicati.com/t/cannot-stop-deleting-unwanted-files-and-bouncycastel-errors/14144
**Category:** Uncategorized
**Created:** [March 23, 2022, 8:48pm UTC](https://forum.duplicati.com/t/cannot-stop-deleting-unwanted-files-and-bouncycastel-errors/14144 "2022-03-23T20:48:46Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![RickkeeC](https://forum.duplicati.com/user_avatar/forum.duplicati.com/rickkeec/32/3515_2.png) [@RickkeeC](https://forum.duplicati.com/u/RickkeeC)
#### Post date: [March 23, 2022, 8:48pm UTC](https://forum.duplicati.com/t/cannot-stop-deleting-unwanted-files-and-bouncycastel-errors/14144/1 "2022-03-23T20:48:46Z")

</div>

2.0.6.100\_canary\_2021-08-11

Stuck on deleting unwanted files Stop now or after current just keeps running.  
I am not sure I want to delete any of my files. The source has not changed. These are archive files.  
I don’t want it to delete my 3 TB of data, how do I stop it. Arghhhh…

Looping on this.

Mar 23, 2022 4:40 PM: Cancellation Requested 

Mar 23, 2022 4:39 PM: Failed to load assembly C:\Program Files\Duplicati 2\MimeKit.dll, error message: Could not load file or assembly ‘BouncyCastle.Crypto, Version=1.8.5.0, Culture=neutral, PublicKeyToken=0e99375e54769942’ or one of its dependencies. The system cannot find the file specified. 

Mar 23, 2022 4:39 PM: Failed to load assembly C:\Program Files\Duplicati 2\MimeKit.dll, error message: Could not load file or assembly ‘BouncyCastle.Crypto, Version=1.8.5.0, Culture=neutral, PublicKeyToken=0e99375e54769942’ or one of its dependencies. The system cannot find the file specified. 

Mar 23, 2022 4:39 PM: Failed to load assembly C:\Program Files\Duplicati 2\MimeKit.dll, error message: Could not load file or assembly ‘BouncyCastle.Crypto, Version=1.8.5.0, Culture=neutral, PublicKeyToken=0e99375e54769942’ or one of its dependencies. The system cannot find the file specified. 

Mar 23, 2022 4:39 PM: Failed to load assembly C:\Program Files\Duplicati 2\MimeKit.dll, error message: Could not load file or assembly ‘BouncyCastle.Crypto, Version=1.8.5.0, Culture=neutral, PublicKeyToken=0e99375e54769942’ or one of its dependencies. The system cannot find the file specified. 

Mar 23, 2022 4:39 PM: Failed to load assembly C:\Program Files\Duplicati 2\MimeKit.dll, error message: Could not load file or assembly ‘BouncyCastle.Crypto, Version=1.8.5.0, Culture=neutral, PublicKeyToken=0e99375e54769942’ or one of its dependencies. The system cannot find the file specified. 

Mar 23, 2022 4:39 PM: Failed to load assembly C:\Program Files\Duplicati 2\MimeKit.dll, error message: Could not load file or assembly ‘BouncyCastle.Crypto, Version=1.8.5.0, Culture=neutral, PublicKeyToken=0e99375e54769942’ or one of its dependencies. The system cannot find the file specified.

---

<div class="post-metadata">

### Author: ![RickkeeC](https://forum.duplicati.com/user_avatar/forum.duplicati.com/rickkeec/32/3515_2.png) [@RickkeeC](https://forum.duplicati.com/u/RickkeeC)
#### Post date: [March 23, 2022, 9:05pm UTC](https://forum.duplicati.com/t/cannot-stop-deleting-unwanted-files-and-bouncycastel-errors/14144/2 "2022-03-23T21:05:48Z")

</div>

I was able to kill the process. Stop now should STOP NOW.  
Now , bout those BouncyCastle errors.

---

<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: [March 26, 2022, 8:47pm UTC](https://forum.duplicati.com/t/cannot-stop-deleting-unwanted-files-and-bouncycastel-errors/14144/3 "2022-03-26T20:47:50Z")

</div>

> [@RickkeeC](#):
>
> Now , bout those BouncyCastle errors.

> [@RickkeeC](#):
>
> 2.0.6.100\_canary\_2021-08-11

Google search on the error finds:

> [@Backups start failing after a week or so](https://forum.duplicati.com/t/backups-start-failing-after-a-week-or-so/13502/10):
>
> Theory behind this is that [MailKit.dll 2.3.1.0](https://www.nuget.org/packages/MailKit/2.3.1) has a dependency on MimeKit \>= 2.3.1 which has a  
> [dependency](https://www.nuget.org/packages/MimeKit/2.3.1) on BouncyCastle \>= 1.8.5 which Duplicati shipped until [2.0.6.100 removed its use](https://github.com/duplicati/duplicati/releases/tag/v2.0.6.100-2.0.6.100_canary_2021-08-11),  
> possibly not realizing that there was an indirect use through MailKit which is used to send email.

> [@Backups start failing after a week or so](https://forum.duplicati.com/t/backups-start-failing-after-a-week-or-so/13502/11):
>
> Tried copying the BouncyCastle.Crypto.dll from the previous RPM file and the message has now stopped appearing for any jobs, so it does seem something needs fixing in MimeKit like you thought.

Does this work for you? If so, please see if there’s an open [Issue](https://github.com/duplicati/duplicati/issues). If not, could you open an issue?

EDIT: On Windows, `.rpm` file won’t work easily, but there are also `.zip` versions of all the binaries.
