Related to Server 2016, I should add:
Run this command: aspnet_regiis -lv
from this dir:
C:\Windows\Microsoft.NET\Framework\v2.0.50727\
This gives you the
best view of what is going on
On Server 2016, installing .net and iis out of sequence does not seem to be a problem.
What is more likely to be a problem on Server 2016 is simply that asp.net is not installed on the machine.