How to install a C# Windows Service on a remote server? -
hi have developed c# windows service in visual studio. able install service on local machine , works fine. want able install on remote server.
can tell me how this?
my service built on windows service vs template, it's simple.
i not geeky, useful tutorial, manual can understand.
i running vs 2010 professional.
you need have remote desktop access server.
when in can via commandline using this:
c:\windows\microsoft.net\framework\v2.0.50727\installutil /logtoconsole=true c:\path\to\service.exe
then can manage (start it, set auto start, stop it, restart it) going start | run , typing
services.msc
then press enter.
to uninstall use:
c:\windows\microsoft.net\framework\v2.0.50727\installutil /u /logtoconsole=true c:\path\to\service.exe
but need have stopped service first.
note: there new util in newer .net releases - notes while ago when built 2.0 service. in c:\windows\microsoft.net\framework\
version number matches .net you're developing in.
Comments
Post a Comment