Bookmarks

Yahoo Gmail Google Facebook Delicious Twitter Reddit Stumpleupon Myspace Digg

Search queries

192.168.1.41:8000, Www.xxxcon., %s wwwxxxcon, %s wwwxxxcon, www.xxxcon, xxxxdup, bitlord outgoing port settings, ckowwwxxx, 192.168.1.41:8000/nor-482.html, php.ini "Unable to initialize module"

Links

XODOX
Impressum

#1: windows service problem

Posted on 2008-04-23 15:11:01 by Andrew

Hi,

I've created a windows application C# service according to:
http://msdn2.microsoft.com/en-us/library/ms123402.aspx?wa=ws ignin1.0

But my service is not appearing in the computer management panel at all.
Any ideas ?

cheers

Report this message

#2: Re: windows service problem

Posted on 2008-04-23 16:16:03 by Norman Yuan

Have you started the service after installed it? A Windows service can be
set to automatic start when machine is turned on, or manaul start. If it is
latter, you will not see it in task manager until it gets started manually
(or by other programs).

"Andrew" <Andrew@discussions.microsoft.com> wrote in message
news:270CADCE-E723-48AF-8AB9-6E9FFF28F8CD@microsoft.com...
> Hi,
>
> I've created a windows application C# service according to:
> http://msdn2.microsoft.com/en-us/library/ms123402.aspx?wa=ws ignin1.0
>
> But my service is not appearing in the computer management panel at all.
> Any ideas ?
>
> cheers

Report this message

#3: Re: windows service problem

Posted on 2008-04-23 16:37:00 by Andrew

Thanks for your reply.

But I don't even see the application on the "Computer Management\Services"
panel. So I can't even start the application up. I've tried both automatic
and manual modes. No luck.

Can it be a problem with my computer itself ?

cheers
Andrew

"Norman Yuan" wrote:

> Have you started the service after installed it? A Windows service can be
> set to automatic start when machine is turned on, or manaul start. If it is
> latter, you will not see it in task manager until it gets started manually
> (or by other programs).
>
> "Andrew" <Andrew@discussions.microsoft.com> wrote in message
> news:270CADCE-E723-48AF-8AB9-6E9FFF28F8CD@microsoft.com...
> > Hi,
> >
> > I've created a windows application C# service according to:
> > http://msdn2.microsoft.com/en-us/library/ms123402.aspx?wa=ws ignin1.0
> >
> > But my service is not appearing in the computer management panel at all.
> > Any ideas ?
> >
> > cheers
>
>

Report this message

#4: Re: windows service problem

Posted on 2008-04-23 16:47:04 by Andrew

I've looked into the Windows Task Manager window.

I see the application running there as "MyNewService.vhost.exe".
1) Shouldn't it be just ".exe" and not the ".vhost.exe" ?
2) I've tried to EndProcess, but it keeps on coming back again.
3) I still can't see the application in the Computer Management /Services
window.

cheers
Andrew

"Norman Yuan" wrote:

> Have you started the service after installed it? A Windows service can be
> set to automatic start when machine is turned on, or manaul start. If it is
> latter, you will not see it in task manager until it gets started manually
> (or by other programs).
>
> "Andrew" <Andrew@discussions.microsoft.com> wrote in message
> news:270CADCE-E723-48AF-8AB9-6E9FFF28F8CD@microsoft.com...
> > Hi,
> >
> > I've created a windows application C# service according to:
> > http://msdn2.microsoft.com/en-us/library/ms123402.aspx?wa=ws ignin1.0
> >
> > But my service is not appearing in the computer management panel at all.
> > Any ideas ?
> >
> > cheers
>
>

Report this message

#5: Re: windows service problem

Posted on 2008-04-23 18:39:47 by Phil Wilson

That link isn't workiung for me, so I don't know if it has installation
instructions using installutil, installer classes or a setup project.
If you're seeing ...vshost.exe that's the Visual Studio debugging host, so
perhaps you've got a debug version installed or something.

--
Phil Wilson
Definitive Guide to Windows Installer
http://www.apress.com/book/view/1590592972


"Andrew" <Andrew@discussions.microsoft.com> wrote in message
news:270CADCE-E723-48AF-8AB9-6E9FFF28F8CD@microsoft.com...
> Hi,
>
> I've created a windows application C# service according to:
> http://msdn2.microsoft.com/en-us/library/ms123402.aspx?wa=ws ignin1.0
>
> But my service is not appearing in the computer management panel at all.
> Any ideas ?
>
> cheers

Report this message

#6: Re: windows service problem

Posted on 2008-04-23 19:10:12 by Andrew

sorry about that, here's the link again.

http://msdn2.microsoft.com/en-us/library/zt39148a(VS.80).asp x

cheers

"Phil Wilson" wrote:

> That link isn't workiung for me, so I don't know if it has installation
> instructions using installutil, installer classes or a setup project.
> If you're seeing ...vshost.exe that's the Visual Studio debugging host, so
> perhaps you've got a debug version installed or something.
>
> --
> Phil Wilson
> Definitive Guide to Windows Installer
> http://www.apress.com/book/view/1590592972
>
>
> "Andrew" <Andrew@discussions.microsoft.com> wrote in message
> news:270CADCE-E723-48AF-8AB9-6E9FFF28F8CD@microsoft.com...
> > Hi,
> >
> > I've created a windows application C# service according to:
> > http://msdn2.microsoft.com/en-us/library/ms123402.aspx?wa=ws ignin1.0
> >
> > But my service is not appearing in the computer management panel at all.
> > Any ideas ?
> >
> > cheers
>
>
>

Report this message

#7: Re: windows service problem

Posted on 2008-04-24 23:13:52 by Phil Wilson

It's a bit vague there about installation, but what you have to do is a
Setup&Deployment Project, adding your service executable to it, and adding
custom actions referring to your service executable with InstallerClass
true. Calling the installer class methods as custom actions is what installs
and uninstalls your service.
--
Phil Wilson
Definitive Guide to Windows Installer
http://www.apress.com/book/view/1590592972


"Andrew" <Andrew@discussions.microsoft.com> wrote in message
news:8CE59C13-ED62-4451-91CE-167C79D1EC93@microsoft.com...
> sorry about that, here's the link again.
>
> http://msdn2.microsoft.com/en-us/library/zt39148a(VS.80).asp x
>
> cheers
>
> "Phil Wilson" wrote:
>
>> That link isn't workiung for me, so I don't know if it has installation
>> instructions using installutil, installer classes or a setup project.
>> If you're seeing ...vshost.exe that's the Visual Studio debugging host,
>> so
>> perhaps you've got a debug version installed or something.
>>
>> --
>> Phil Wilson
>> Definitive Guide to Windows Installer
>> http://www.apress.com/book/view/1590592972
>>
>>
>> "Andrew" <Andrew@discussions.microsoft.com> wrote in message
>> news:270CADCE-E723-48AF-8AB9-6E9FFF28F8CD@microsoft.com...
>> > Hi,
>> >
>> > I've created a windows application C# service according to:
>> > http://msdn2.microsoft.com/en-us/library/ms123402.aspx?wa=ws ignin1.0
>> >
>> > But my service is not appearing in the computer management panel at
>> > all.
>> > Any ideas ?
>> >
>> > cheers
>>
>>
>>

Report this message