.NET Windows Service

P

Peter Milne

Hi,

I'm new to the windows service area. I have built a few of the examples of a
windows service (in C#) that are available on the net. Everything goes to
plan and they each install successfully with the Installutil.exe prog. My
trouble starts when I attempt to start the service, i get the message:

The AdderxService service failed to start due to the following error:

AdderxService is not a valid Win32 application.


All my other .NET apps work great.

Any help would be great

Thanks
Peter
 
G

Guest

Hi Peter,
We have successfully written and deployed widows services in C# as well as unmanaged code (for loading wks or svr flavor of CLR) and to host remoting service. Never had a problem like this one. OS- XP, W2k3.

Can you provide few more details about what exactly you are trying to do...

-Phani
 
L

Larry Powell

Hi,

I have built a couple of Windows Service Application in Visual Studio and
can deploy them successfully with the installutil command line utility.
When I add a setup project and try to run the resultant msi the install runs
without issue and completes successfully but the windows service does not
show up in the services applet.



Any ideas?



Thanks,



LP

Phani said:
Hi Peter,
We have successfully written and deployed widows services in C# as well
as unmanaged code (for loading wks or svr flavor of CLR) and to host
remoting service. Never had a problem like this one. OS- XP, W2k3.
 
M

MrPhil

Hi Larry,

Just camping, because I have pretty much the same issue. I use
installutil successfully. (You would think that the msi would take
care of this.) Additionally, my service will start, but stops
immediately without doing what it's designed to do.

Back to the drawing board....

PH
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top