I have a deployment project for a .NET desktop application that has "Crystal Reports Runtime Engine for .NET Framework" as a prerequisite. I have Crystal Reports for Visual Studio 13.0.31 installed. When I run the setup.exe file for my application in a VM with Windows Server 2016 Standard as the operating system, I get the following error:
"An error occurred when downloading the following resource: http://downloads.businessobjects.com/akdlm/cmetruntime/clickonce/CRRuntime_32bit_13_0_31.msi"
It refers me to a log and the last few lines are:
"Downloading files to "C:\Users\ADMINI~1\AppData\Local\Temp\2\VSD5939.tmp\"
(1/21/2022 7:45:32 PM) Downloading 'Crystal Reports for .NET Framework 4.0\CRRuntime_32bit_13_0_31.msi' from 'http://downloads.businessobjects.com/akdlm/crnetruntime/clickonce/CRRuntime_32bit_13_0_31.msi' to 'C:\Users\ADMINI~1\AppData\Local\Temp\2\VSD5939.tmp\'
Download completed at 1/21/2022 7:45:34 PM
Downloading failed with HRESULT=-2146697202"
That HRESULT is 0x800c000e in hex and means "A security problem occurred". This happens when I am a Windows user with administrative permissions, including when I am logged in as Administrator. I have full control over the folder where the download is to take place.
I downloaded the redistributable MSI file for CR 13.0.31 and I can run it and it installs successfully in the same VM.
What is causing this error when my setup program tries to download the CR installer and how do I fix it?