IIS Remote Management - An unexpected error occurred while sending Print

  • iis, windows, management
  • 0

When connecting to IIS Remote Management, you may encounter the following error message: "An unexpected error occurred on send."

This error is typically caused by our servers not supporting outdated versions of TLS, while some end-user .NET installations still attempt to use these older versions. To resolve this issue, the .NET framework needs to be configured to use newer versions of TLS.

To resolve this, registry modifications are required to enforce the use of the latest TLS versions in .NET. Please follow the steps below:

  1. Important: Before making any changes to your registry, it is highly recommended to back up your computer or registry. We are not responsible for any adverse effects resulting from these changes.
  2. Run the following PowerShell comamnds from an elevated PowerShell prompt
    New-ItemProperty "hklm:\SOFTWARE\Microsoft\.NETFramework\v4.0.30319" -Name SchUseStrongCrypto -Value 1 -PropertyType DWord
    New-ItemProperty "hklm:\SOFTWARE\Microsoft\.NETFramework\v4.0.30319" -Name SystemDefaultTlsVersions -Value 1 -PropertyType DWord
    New-ItemProperty "hklm:\SOFTWARE\WOW6432Node\Microsoft\.NETFramework\v4.0.30319" -Name SchUseStrongCrypto -Value 1 -PropertyType DWord
    New-ItemProperty "hklm:\SOFTWARE\WOW6432Node\Microsoft\.NETFramework\v4.0.30319" -Name SystemDefaultTlsVersions -Value 1 -PropertyType DWord
  3. After the commands have been executed, please restart your computer for the changes to take effect.

 


Was this answer helpful?

« Back