Window service: service on local computer started and stopped. Some services stop automatically if they have no work to do.
In window service onstart method, i have written a code to fetch data from a table which is located on server,
when i start the service it gives the service1 service on local computer started and stopped. Some services stop automatically if they have no work to do.
but when i use connection string of my pc i mean database on my pc it work properly.
Any Idea!