기본적으로 db에 기록하는 간단한 WCF 서비스가 만들어졌습니다. 빌드가 정상이며 msi 설치 파일이 만들어졌습니다. 이미하지 않은 경우Windows 서비스를 중지 할 수 없습니다.
: 나는 Windows 서비스를 설치하고 내가 그것을 중지 할 때, 그러나 나는이 오류 얻을 어떤 작품을 시작합니다
"Could not stop the service1 service on local computer. The service did not return an error. This could be an internal windows error or an internal service error. If the problem persists, contact your system administrator."
서비스의 OnStop 이벤트 내에 코드를 게시 할 수 있습니까? –
ok sure.please give me solution – saran
Stephan P.이 제안 했으므로 OnClose 코드를 게시하십시오. 바로 지금 우리가 일할 수있는 것이 아무것도 없습니다. –