471,627 Members | 1,571 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

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

installing windows service

I am able to make a windows service in C#.NET
and also tested it on my own system by installing it this way(installutil
servicename.exe) and is running fine
now when I want to test it on other system
which files do i need to copy
or how can I make a project installer which can install it on other system.I
am using visual studio.net 2003
Feb 6 '06 #1
4 2631
http://www.codeproject.com/dotnet/si...owsservice.asp
i was able to create the setup with the help of this article
but now it installs on other system client gets connected to server(tcp
listener) in service but service is not giving any replies as giving on my
own computer
"Ankit Aneja" <ef*****@newsgroups.nospam> wrote in message
news:%2****************@TK2MSFTNGP11.phx.gbl...
I am able to make a windows service in C#.NET
and also tested it on my own system by installing it this way(installutil
servicename.exe) and is running fine
now when I want to test it on other system
which files do i need to copy
or how can I make a project installer which can install it on other
system.I am using visual studio.net 2003

Feb 6 '06 #2
Hello,

Does the service start successfully on the target server? Also, is there
any useful information in the system event log, for example, the service
failed to start up?

It is better to add some debug code to your windows service, for example,
write some log to a text file or system event log, to record if it start
sccuessfully or if it recieve client's request. These all can help to
trouble shoot the problem.

Luke Zhang
(This posting is provided "AS IS", with no warranties, and confers no
rights.)

Feb 7 '06 #3
yes its working fine,I just want a tutorial which can teach me how can i
make a setup which itself register comdll(which my service is using) on
server on which i run setup
"Luke Zhang [MSFT]" <lu******@online.microsoft.com> wrote in message
news:OL**************@TK2MSFTNGXA02.phx.gbl...
Hello,

Does the service start successfully on the target server? Also, is there
any useful information in the system event log, for example, the service
failed to start up?

It is better to add some debug code to your windows service, for example,
write some log to a text file or system event log, to record if it start
sccuessfully or if it recieve client's request. These all can help to
trouble shoot the problem.

Luke Zhang
(This posting is provided "AS IS", with no warranties, and confers no
rights.)

Feb 10 '06 #4
problem solved
thanks
"Ankit Aneja" <ef*****@newsgroups.nospam> wrote in message
news:eB**************@TK2MSFTNGP11.phx.gbl...
yes its working fine,I just want a tutorial which can teach me how can i
make a setup which itself register comdll(which my service is using) on
server on which i run setup
"Luke Zhang [MSFT]" <lu******@online.microsoft.com> wrote in message
news:OL**************@TK2MSFTNGXA02.phx.gbl...
Hello,

Does the service start successfully on the target server? Also, is there
any useful information in the system event log, for example, the service
failed to start up?

It is better to add some debug code to your windows service, for example,
write some log to a text file or system event log, to record if it start
sccuessfully or if it recieve client's request. These all can help to
trouble shoot the problem.

Luke Zhang
(This posting is provided "AS IS", with no warranties, and confers no
rights.)


Feb 10 '06 #5

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

1 post views Thread by Jeevan | last post: by
11 posts views Thread by tshad | last post: by
3 posts views Thread by Mukesh | last post: by
15 posts views Thread by =?Utf-8?B?RWxpb3Ro?= | last post: by
reply views Thread by leo001 | last post: by

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.