473,396 Members | 1,755 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

C# windows service not showing up in service manager

I have written a windows service in C#. I am able to install it, but when I
look in the service manager I don't see it. If I start it at the command line
like this: net start spawner it starts right up and runs. I must have missed
something in my installer classes to make this happen, but I can't seem to
figure it what it is.

Any help you can provide is appreciated,
Brian Hman
Aug 19 '05 #1
5 10545

F5 -- Refresh on svs list ?

Brian Hman wrote:
I have written a windows service in C#. I am able to install it, but when I
look in the service manager I don't see it. If I start it at the command line
like this: net start spawner it starts right up and runs. I must have missed
something in my installer classes to make this happen, but I can't seem to
figure it what it is.

Any help you can provide is appreciated,
Brian Hman

Aug 19 '05 #2
Yep. did that and even rebooted.

"John Bailo" wrote:

F5 -- Refresh on svs list ?

Brian Hman wrote:
I have written a windows service in C#. I am able to install it, but when I
look in the service manager I don't see it. If I start it at the command line
like this: net start spawner it starts right up and runs. I must have missed
something in my installer classes to make this happen, but I can't seem to
figure it what it is.

Any help you can provide is appreciated,
Brian Hman

Aug 19 '05 #3
Hi Brian,

Please check the following link for a walkthrough on how to create a
windows application and install it. You can create a setup project or use
Installutil.exe to install the service. You might able to find what you
have missed in your app.

http://msdn.microsoft.com/library/de...us/vbcon/html/
vbwlkwalkthroughcreatingwindowsserviceapplication. asp

These articles are also helpful.

http://msdn.microsoft.com/library/de...us/vbcon/html/
vbtskaddinginstallerstoyourserviceapplication.asp

http://support.microsoft.com/?kbid=816169

http://msdn.microsoft.com/library/de...us/cptools/htm
l/cpconinstallerutilityinstallutilexe.asp

HTH.

Kevin Yu
=======
"This posting is provided "AS IS" with no warranties, and confers no
rights."

Aug 20 '05 #4
I am having the same issue with either c# or VB.net. I followed your links.
One difference that I noticed that in my environment, I don't get a
properties window that allows me to set the ServiceName and other service
properties.

I am running VS .NET 2003 on Windows XP Pro.

"Kevin Yu [MSFT]" wrote:
Hi Brian,

Please check the following link for a walkthrough on how to create a
windows application and install it. You can create a setup project or use
Installutil.exe to install the service. You might able to find what you
have missed in your app.

http://msdn.microsoft.com/library/de...us/vbcon/html/
vbwlkwalkthroughcreatingwindowsserviceapplication. asp

These articles are also helpful.

http://msdn.microsoft.com/library/de...us/vbcon/html/
vbtskaddinginstallerstoyourserviceapplication.asp

http://support.microsoft.com/?kbid=816169

http://msdn.microsoft.com/library/de...us/cptools/htm
l/cpconinstallerutilityinstallutilexe.asp

HTH.

Kevin Yu
=======
"This posting is provided "AS IS" with no warranties, and confers no
rights."

Oct 7 '05 #5
Check the service name you used.
"Kevin Yu [MSFT]" <v-****@online.microsoft.com> wrote in message
news:y5**************@TK2MSFTNGXA01.phx.gbl...
Hi Brian,

Please check the following link for a walkthrough on how to create a
windows application and install it. You can create a setup project or use
Installutil.exe to install the service. You might able to find what you
have missed in your app.

http://msdn.microsoft.com/library/de...us/vbcon/html/ vbwlkwalkthroughcreatingwindowsserviceapplication. asp

These articles are also helpful.

http://msdn.microsoft.com/library/de...us/vbcon/html/ vbtskaddinginstallerstoyourserviceapplication.asp

http://support.microsoft.com/?kbid=816169

http://msdn.microsoft.com/library/de...us/cptools/htm l/cpconinstallerutilityinstallutilexe.asp

HTH.

Kevin Yu
=======
"This posting is provided "AS IS" with no warranties, and confers no
rights."

Oct 18 '05 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Stefan Hinz | last post by:
Degan, jumping in to try and solve some problems that look pretty obvious to me ... > #options for default service (mysqld2) > (mysqld2) It should be , not (mysqld2).
2
by: Russ McDaniel | last post by:
Originally posted to microsoft.public.dotnet.distributed_apps with no response. Reposted here with additional thoughts. --- Hello, I'm writing a Windows service which performs some...
0
by: bill.duncan | last post by:
Hi, I have created a windows service in VB.net using VS .Net (v. 1.1, ..Net Framework 1.1). The problem I have is that after I create a setup project for my service, and then install the service,...
2
by: Mark | last post by:
I created an extremely simple windows service that only writes to the EventLogs on Stop and Pause. I installed it using the InstallUtil.exe program, the output of which is below. It appears to be...
4
by: Kristof Despiere | last post by:
Suppose you have one domain, filled with a couple of users. What needs to be done now is I need to start a windows application from a webform by pressing a button on the webform (for example). ...
5
by: Brian Hman | last post by:
I have written a windows service in C#. I am able to install it, but when I look in the service manager I don't see it. If I start it at the command line like this: net start spawner it starts...
2
by: letibal | last post by:
Hello, I have written a windows service and created an installer for it. The service runs under the system accounts. When started, it launches a GUI. By default, the InteractiveProcess property...
7
by: =?Utf-8?B?QmlsbHkgWmhhbmc=?= | last post by:
我们现在遇到一个问题,通过wcf创建的webservice,选择windows service作为宿主,采用java作为客户端调用成功,但是无法使用asp.net ajax调用。...
5
by: Max2006 | last post by:
Hi, I am trying to limit my wcf service endpoint to response to only given windows user or group. How can I do that? Is there any way to configure that in the .config file? Thank you, Max
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development projectplanning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.