日期:2014-05-17  浏览次数:20458 次

.<exe>的程序,在win2008下报错,帮我看看怎么解决啊
就是在win2008报错,应该是兼容问题,求解决方案

Cannot start service from command line or a debugger.A Windows Service must first be installed(using install.exe) and then started with the ServerExploer, Windows Service Administrative tool or the NET Start command.

------解决方案--------------------
http://www.codeproject.com/Articles/10153/Debugging-Windows-Services-under-Visual-Studio-NET
------解决方案--------------------
How to debug Windows services

http://support.microsoft.com/default.aspx?scid=kb;en-us;824344
------解决方案--------------------
Debugging Windows Services
http://www.windowsdevcenter.com/pub/a/dotnet/2003/09/02/debuggingsvcs.html
------解决方案--------------------
先搞成控制台程序调一下看看有问题没有
------解决方案--------------------
这是一个windows服务。  你没有安装吧?
------解决方案--------------------
说你没有安装windows服务说
------解决方案--------------------
install.bat  就是那个批处理文件啊。  点击安装,然后再windows服务里启动它就可以了。  不需要点这个exe程序吧
------解决方案--------------------
如果要调试windows服务的话, 先把服务运行启动,然后打开VS=》调试=》附加到进程=》选中windows服务进程 即可。
------解决方案--------------------
服务要先安装(注册)才能启动,然后才能附加进程调试
------解决方案--------------------
http://bbs.csdn.net/topics/390507846