Error: An unexpected error occurred on a send (receive)

Axcient DirectRestore (ADR)

Written By Tami Sutcliffe (Super Administrator)

Updated at February 20th, 2023

Examples of possible error messages:

Error message: The underlying connection was closed: An unexpected error occurred on a send.

This error might occur when you are unable to restore mail to the original mailbox. 


Error message: An unexpected error occurred on a send

This error might occur if you are unable to connect to Exchange Server.

This error might also appear as 

Error message: An unexpected error occurred on a receive


What causes this error?


This type of error is caused by an incorrect configuration of the .NET Framework.

  • For TLS 1.2, the SChannel protocol must be enabled at the operating system level. 
  • You must update and configure .NET Framework so it supports TLS 1.2

For details, please see:


Prepare your system to resolve this error


STEP 1. Before enabling TLS 1.2, verify that your NET Framework supports TLS 1.2 

For Axcient DirectRestore (ADR) to function correctly, you must have .NET Framework 4.5.2 or higher. We recommend .NET Framework 4.8.

Refer to the tables below:

.NET Framework version(s)

Supported TLS versions

.NET 4.5.2

TLS 1.0
TLS 1.1
TLS 1.2 (with a hotfix)

.NET 4.5.2 (WCF)

TLS 1.0

.NET 4.6 – 4.8

TLS 1.0
TLS 1.1
TLS 1.2

.NET Framework Version(s)

Default TLS version used

.NET 4.5.2

Lowest available on the operating system (TLS 1.0)

.NET 4.6 – 4.8

TLS 1.2

STEP 2. Confirm that all of your browsers are updated to the latest versions for TLS 1.2 enablement.

STEP 3. Additional step only for .NET Framework 4.5.2: Confirm that the Domain Controller System is updated for TLS 1.2 enablement. Learn more at https://learn.microsoft.com/en-us/mem/configmgr/core/plan-design/security/enable-tls-1-2


How to resolve this error


STEP 1Confirm which protocols are enabled on the Windows server where the Exchange Server (ES) is installed.

To do this, open a file in notepad after export registry from this path:

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Protocols

Note: TLS 1.2 protocol should be enabled before going forward. 

TLS 1.2 is enabled by default on Exchange Server 2019 / 2016 with the latest CU. Check the configurations through the ES console to verify no manual changes to the ES have been applied which might disable TLS 1.2.


STEP 2. The method of fixing the Windows registry depends on the location where Axcient DirectRestore is installed. 

2.1. If Axcient DirectRestore is installed on a server: 

Restart the server after applying the .NET Framework registry change.

2.2. If Axcient DirectRestore is installed on a system other than a server:

Manually check the registry:

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Protocols 

If there are no protocols keys (TLS) inside the above path, apply the .NET Framework registry change.

Otherwise, if TLS 1.0/1.1 is enabled, disable it and enable TLS 1.2 (client and server).


STEP 3. To apply a .NET Framework registry change:

3.1. Confirm you have .NET Framework 4.5.2 or higher (preferably 4.8)

3.2. Verify that the registry parameters are set as below. 

If the registry parameters differ from those shown below, you can apply changes manually or use this file: EnableStrongCrypto.reg.

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\.NETFramework\v2.0.50727]     

"SystemDefaultTlsVersions" = dword:00000001

"SchUseStrongCrypto" = dword:00000001

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\.NETFramework\v4.0.30319]

"SystemDefaultTlsVersions" = dword:00000001

"SchUseStrongCrypto" = dword:00000001

[HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\.NETFramework\v2.0.50727]

"SystemDefaultTlsVersions" = dword:00000001

"SchUseStrongCrypto" = dword:00000001

[HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Microsoft\.NETFramework\v4.0.30319]

"SystemDefaultTlsVersions" = dword:00000001

"SchUseStrongCrypto" = dword:00000001

3.3. Restart the server/system where Axcient DirectRestore is installed.

3.4. Reinstall Axcient DirectRestore after the restart.

 


 SUPPORT | 720-204-4500 | 800-352-0248

1394