Windows 서비스에서 호스팅되는 VB의 WCF가 있습니다. 서비스가 실제로 설치되도록 설치 프로그램을 관리했습니다.Windows 서비스에서 호스팅되는 WCF 오류
Service cannot be started. System.ArgumentException: ServiceHost only supports class service types.
at System.ServiceModel.Description.ServiceDescription.GetService(Type serviceType)
at System.ServiceModel.ServiceHost.CreateDescription(IDictionary`2& implementedContracts).........
누구는 무슨 일이 일어나고 있는지 어떤 아이디어가 :
The service on Local Computer started and then stopped. Some services stop automatically if they have no work to do, for example, the Performance Logs and Alerts service.
이벤트 뷰어를 Cheking하면 다음 날 제공 : 내가 서비스를 시작하려고 할 때, 나는 다음과 같은 오류가 발생합니다? 감사!
일부 코드를 게시하십시오. 서비스 호스트를 여는 방법은 무엇입니까? – ukhardy
실제로 작동합니까? –
안녕하세요 AJ - 잠시 시간이 지났지 만 약간의 연구를 수행 한 후 첫 번째 답변을 확인했습니다. David Steele이 맞았습니다. –