EDN Admin
Well-known member
<p align=left><font face=Arial size=2></font>
All,
<p align=left>I can debug windows service program in visual studio 2005, I write the line of code
<p align=left>#if DEBUG
<p align=left>Debuuger.Lauch()
<p align=left>#endif
<p align=left>and when i start the service, visual studio launch the debugger, so I can debug the service prgoram
<p align=left>But in visual studio 2008, I cannot let it work. And when I attche service process, it asks me to run visual studio in admin privilege, when i run visual studio in admin priviledge, it still pompts the same error message.
<p align=left>
<p align=left>Any help?
<p align=left>
<p align=left>Bing
View the full article
All,
<p align=left>I can debug windows service program in visual studio 2005, I write the line of code
<p align=left>#if DEBUG
<p align=left>Debuuger.Lauch()
<p align=left>#endif
<p align=left>and when i start the service, visual studio launch the debugger, so I can debug the service prgoram
<p align=left>But in visual studio 2008, I cannot let it work. And when I attche service process, it asks me to run visual studio in admin privilege, when i run visual studio in admin priviledge, it still pompts the same error message.
<p align=left>
<p align=left>Any help?
<p align=left>
<p align=left>Bing
View the full article