Tag Archives: Visual Studio

ServiceHost directive error

Today while running a unit test to test a WCF service I started to get an exception which stopped me from running the unit test. I decided to look in the Windows event log and found several entries like this: WebHost failed to process a request. Sender Information: System.ServiceModel.ServiceHostingEnvironment+HostingManager/12036987 Exception: System.ServiceModel.ServiceActivationException: The service ‘/LeadManagerSvc.svc’ cannot be activated due… Read More »