Link to home
Start Free TrialLog in
Avatar of RadhaKrishnaKiJaya
RadhaKrishnaKiJaya

asked on

How to host windows service on Windows Server 2008

Hello Experts,
I am trying to host a Windows Service in Windows Server 2008 R2.  I am able to host the same Service in the local machine using installutil  -i ...command in the DOS prompt.  By the the way, the services written in C# in Visual Studio 2010.  Please let me know.  

Thank you very much in advance!
ASKER CERTIFIED SOLUTION
Avatar of it_saige
it_saige
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of RadhaKrishnaKiJaya
RadhaKrishnaKiJaya

ASKER

Hi Saige,
Thank you!  I am using installutil -i and getting the following error.  What I am missing?

Thank you!

System.Security.SecurityException: The source was not found, but some or all event logs could not be searched.  Inaccessible logs: Security.
An exception occurred during the Rollback phase of the installation. This exception will be ignored and the rollback will continue. However, the machine might not fully revert to its initial state after the rollback is complete.
Thank you Saige.  I just had to close the Services window and reopened.