Symptoms
Installation of .NET 3.5 inside a container fails and the following errors appear in System Events of the container:.NET Runtime Optimization Service (clr_optimization_v2.0.50727_32) - Service reached limit of transient errors. Will shut down.
Last error returned from Service Manager: 0x80070522.
----------------------------------
The Remote Access Connection Manager service depends on the Secure Socket Tunneling Protocol Service service which failed to start because of the following error:
The system cannot find the file specified.
----------------------------------
The Secure Socket Tunneling Protocol Service service terminated with the following error:
The system cannot find the file specified.
Resolution
To be able to install .NET 3.5 you are recommended to enable VPN support on the container:1. Enable VPN on the container:
vzctl set CTID --vpn on yes
2. Restart the container:
vzctl restart CTID
Example of usage:
C:\Users\Administrator>vzctl set 103 --vpn on --save
Command 'set' is successfully finished
3. Install .NET 3.5 inside the container or just apply this option to the Container in question:
vzctl addrole CTID--role NET-Framework-Core