Click here to Skip to main content
15,125,104 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi ,
I have created a windows service and successfully consumed that service in that local system.

But now I want to use that WCF service , which was hosted as, windows service hosting, in another client system.

For this i copied .exe of service and pasted in client system.

I also changed the app.config file ip address to client system ip address

I.e in app.config i changed to

<dns value="">


<add baseaddress="">


<dns value="localhost">


<add baseaddress="http://localhost:8734/Design_Time_Addresses/WcfjobLibrary/jobservice/">
and in admin mode I opened vs command prompt and typed the service.exe path

then I typed installutil service.exe

Then I successfully installed service

But when I go to services of control panel and started the service I am getting the error as below

" The service on local computer started and then stopped .Some services stop automatically if they are not in use by other services or programs"

I dont know how to rectify this error.Please suggest me!
ArunRajendra 3-Jul-13 5:10am
Check the eventviewer for any exception.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900