S
Sid Price
I am writing a service using VB.NET 2005 and having some trouble getting
started. I sued the wizard to create the service and I have added some code
to the "OnStart" method. Using the technique described in "How to: Debug the
OnStart Method" I have debugged my startup code and it appears to be working
the way I want. Now I want to install the service and debug the rest of the
service. I have tried to install my service as described in "How to: Install
and Uninstall Services" but my service does not show up in the Server
Explorer and therefore I can not attach to it to continue development. Here
is the log from the installutil utility:
-----
Running a transacted installation.
Beginning the Install phase of the installation.
See the contents of the log file for the C:\Data
Root\Projects\Pacific\Code\VistaMax\Tools 500
Series\VistaScheduler\VMSchedulerService\bin\Debug\VMSchedulerService.exe
assembly's progress.
The file is located at C:\Data Root\Projects\Pacific\Code\VistaMax\Tools 500
Series\VistaScheduler\VMSchedulerService\bin\Debug\VMSchedulerService.InstallLog.
The Install phase completed successfully, and the Commit phase is beginning.
See the contents of the log file for the C:\Data
Root\Projects\Pacific\Code\VistaMax\Tools 500
Series\VistaScheduler\VMSchedulerService\bin\Debug\VMSchedulerService.exe
assembly's progress.
The file is located at C:\Data Root\Projects\Pacific\Code\VistaMax\Tools 500
Series\VistaScheduler\VMSchedulerService\bin\Debug\VMSchedulerService.InstallLog.
The Commit phase completed successfully.
The transacted install has completed.
started. I sued the wizard to create the service and I have added some code
to the "OnStart" method. Using the technique described in "How to: Debug the
OnStart Method" I have debugged my startup code and it appears to be working
the way I want. Now I want to install the service and debug the rest of the
service. I have tried to install my service as described in "How to: Install
and Uninstall Services" but my service does not show up in the Server
Explorer and therefore I can not attach to it to continue development. Here
is the log from the installutil utility:
-----
Running a transacted installation.
Beginning the Install phase of the installation.
See the contents of the log file for the C:\Data
Root\Projects\Pacific\Code\VistaMax\Tools 500
Series\VistaScheduler\VMSchedulerService\bin\Debug\VMSchedulerService.exe
assembly's progress.
The file is located at C:\Data Root\Projects\Pacific\Code\VistaMax\Tools 500
Series\VistaScheduler\VMSchedulerService\bin\Debug\VMSchedulerService.InstallLog.
The Install phase completed successfully, and the Commit phase is beginning.
See the contents of the log file for the C:\Data
Root\Projects\Pacific\Code\VistaMax\Tools 500
Series\VistaScheduler\VMSchedulerService\bin\Debug\VMSchedulerService.exe
assembly's progress.
The file is located at C:\Data Root\Projects\Pacific\Code\VistaMax\Tools 500
Series\VistaScheduler\VMSchedulerService\bin\Debug\VMSchedulerService.InstallLog.
The Commit phase completed successfully.
The transacted install has completed.