Windows service hosting WCF service is not starting
XINSTALL BY CLICKING THE DOWNLOAD FILE
To fix various PC problems, we recommend DriverFix:This software will keep your drivers up and running, thus keeping you safe from common computer errors and hardware failure. Check all your drivers now in 3 easy steps:
- DriverFix has been downloaded by 0 readers this month.
Windows Communication Foundation (WCF) is an essential part of any self-hosted server for Windows machine as it offers a framework for building service-oriented applications. At times after building a WCF project and installing the service you may encounter issues such as “Windows service hosting WCF service is not starting”.
The issue can occur due to several reasons including port error, disabled .Net Framework options and more. In this article, we take a look at the possible solutions to help you diagnose and resolve the Windows service hosting WCF service is not starting issue in Windows.
How to fix Windows service hosting WCF service is not starting
1. Enable .NET Framework Features
For Web HTTP – Enable “Windows Communication Foundation HTTP Activation” option.
For TCP, MSMQ – Enable “Windows Communication Foundation NonHTTP Activation” option.
How to enable Remote Desktop on Windows Server 2019
2. Register Network Service User
netsh http add urlacl url=http://+:8000/ user=”NETWORK SERVICE”
netsh http add urlacl url=http://+:8000/ sddl=”O:NS”
3. Check your Code Function for Error
Conclusion
By following the steps in this article you can resolve Windows service hosting WCF service is not starting issue in Windows computer. Do note that the solutions vary depending on the individual user problem unless the issue is with the WCF or Windows features itself.
RELATED STORIES YOU MAY LIKE:
ncG1vNJzZmivmaOxsMPSq5ypp6Kpe6S7zGiuoqaUpMS0eceoqq2hnpx6uK%2FFZqqeqqaesKZ5zairZquklr%2B1tc2gZg%3D%3D