Ninnad Jagtap
Active member
- Joined
- Apr 12, 2005
- Messages
- 35
- Programming Experience
- Beginner
I m new to windows service . I have written a windows service but when i run it; it show me a alert saying " Cannot start Service from the command line or a debugger. A window Service must First be installed (usng installutil.exe)and then started with the ServiceExplorer,Windows Service Administrator Tool or the NET START Command"
i Command drive i have done the following
D:\Projects\FAXMgmt\bin\Debug>installutil faxmgmt.exe
Microsoft (R) .NET Framework Installation utility Version 1.1.4322.573
Copyright (C) Microsoft Corporation 1998-2002. All rights reserved.
Running a transacted installation.
Beginning the Install phase of the installation.
See the contents of the log file for the d:\projects\faxmgmt\bin\debug\faxmgmt.e
xe assembly's progress.
The file is located at d:\projects\faxmgmt\bin\debug\faxmgmt.InstallLog.
Installing assembly 'd:\projects\faxmgmt\bin\debug\faxmgmt.exe'.
Affected parameters are:
assemblypath = d:\projects\faxmgmt\bin\debug\faxmgmt.exe
logfile = d:\projects\faxmgmt\bin\debug\faxmgmt.InstallLog
No public installers with the RunInstallerAttribute.Yes attribute could be found
in the d:\projects\faxmgmt\bin\debug\faxmgmt.exe assembly.
The Install phase completed successfully, and the Commit phase is beginning.
See the contents of the log file for the d:\projects\faxmgmt\bin\debug\faxmgmt.e
xe assembly's progress.
The file is located at d:\projects\faxmgmt\bin\debug\faxmgmt.InstallLog.
Committing assembly 'd:\projects\faxmgmt\bin\debug\faxmgmt.exe'.
Affected parameters are:
assemblypath = d:\projects\faxmgmt\bin\debug\faxmgmt.exe
logfile = d:\projects\faxmgmt\bin\debug\faxmgmt.InstallLog
No public installers with the RunInstallerAttribute.Yes attribute could be found
in the d:\projects\faxmgmt\bin\debug\faxmgmt.exe assembly.
Remove InstallState file because there are no installers.
The Commit phase completed successfully.
The transacted install has completed.
But i am getting the same message
Plz. Advice
Regards
Ninnad Jagtap
i Command drive i have done the following
D:\Projects\FAXMgmt\bin\Debug>installutil faxmgmt.exe
Microsoft (R) .NET Framework Installation utility Version 1.1.4322.573
Copyright (C) Microsoft Corporation 1998-2002. All rights reserved.
Running a transacted installation.
Beginning the Install phase of the installation.
See the contents of the log file for the d:\projects\faxmgmt\bin\debug\faxmgmt.e
xe assembly's progress.
The file is located at d:\projects\faxmgmt\bin\debug\faxmgmt.InstallLog.
Installing assembly 'd:\projects\faxmgmt\bin\debug\faxmgmt.exe'.
Affected parameters are:
assemblypath = d:\projects\faxmgmt\bin\debug\faxmgmt.exe
logfile = d:\projects\faxmgmt\bin\debug\faxmgmt.InstallLog
No public installers with the RunInstallerAttribute.Yes attribute could be found
in the d:\projects\faxmgmt\bin\debug\faxmgmt.exe assembly.
The Install phase completed successfully, and the Commit phase is beginning.
See the contents of the log file for the d:\projects\faxmgmt\bin\debug\faxmgmt.e
xe assembly's progress.
The file is located at d:\projects\faxmgmt\bin\debug\faxmgmt.InstallLog.
Committing assembly 'd:\projects\faxmgmt\bin\debug\faxmgmt.exe'.
Affected parameters are:
assemblypath = d:\projects\faxmgmt\bin\debug\faxmgmt.exe
logfile = d:\projects\faxmgmt\bin\debug\faxmgmt.InstallLog
No public installers with the RunInstallerAttribute.Yes attribute could be found
in the d:\projects\faxmgmt\bin\debug\faxmgmt.exe assembly.
Remove InstallState file because there are no installers.
The Commit phase completed successfully.
The transacted install has completed.
But i am getting the same message
Plz. Advice
Regards
Ninnad Jagtap