Go to services and make sure that Function Discovery Provider Host and Function Discovery Resource Publication services are both running. Make sure that both services are set to automatic start.
...