创建了一个基本上记录到数据库的简单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事件中发布代码吗? – 2011-03-02 12:23:26
确定..请给我解决方案 – saran 2011-03-02 12:36:04
由于Stephan P.建议,请发表OnClose代码。现在我们没有什么可以合作的了。 – 2011-03-02 15:14:02