Due to an issue with security cyphers that Microsoft has “deprecated”, customers with a premise based sync may experience their sync not running as intended with the following error:
<Type>Information</Type>
<Msg>Error calling service to validate license: The underlying connection was closed: An unexpected error occurred on a send.</Msg>
<Location>Main</Location>
To resolve this, we need to add a section to the configuration file for the Sync Launcher. Below are the instructions to accomplish this:
- On the machine the sync runs, navigate to (C:\Program Files (x86)\AnytimeCollect\Anytime Sync Launcher)
- Right click the “AnytimeCollectSyncLauncher.exe.config” file and open with notepad
- Right under the <Configuration> line at the top, add the following code
- <runtime>
<AppContextSwitchOverrides value="Switch.System.Net.DontEnableSystemDefaultTlsVersions=false"/>
</runtime>
- This should appear like this:
If it prompts you to save a new file or returns any errors, you may need to add permissions to the file, if so, follow these instructions:
- Close the file
- Right click the file and select “Properties”
- Select “Security”
- Select “Edit”
- Select “Add”
- Type in “Everyone” and hit [ENTER]
- Select “Allow” under “Full Control” and select “OK”
- Retry the first steps above to add the line to the file
This should save over the original file and upon reopening, you should see the added line
Please Review the code for any space.