Problem with testing a Windows service

Posted by prateeksaluja20 on Stack Overflow See other posts from Stack Overflow or by prateeksaluja20
Published on 2010-04-05T12:05:12Z Indexed on 2010/04/05 12:13 UTC
Read the original article Hit count: 222

I want to make a Windows service that will access my database. My database is SQL Server 2005.

Actually I am working on a website and my database is inside our server. I need to access my database every second and update the records. For that purpose I need to make a Windows service that will install into our server and perform the task.

I have been accessing the database from my local machine and then running the service, but problem is I'm not sure how I can test this service.

I tried to install into my local machine. It installed and then I ran the service but it did not perform the task and I think service is not able to connect with the database.

There is no problem in the service nor its installer. The only issue is how to test my Windows service.

© Stack Overflow or respective owner

Related posts about c#

Related posts about Windows