.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Win Surprise Gifts!!!

Top 5 Contributors of the Month
Melody Anderson
Eminent IT
Sandeep Singh

Home >> Forum >> .NET Framework >> Post New QuestionBookmark and Share Subscribe to Forum

Window Service C#.net not working properly

Posted By: Gaurav Pal     Posted Date: December 23, 2015    Points:5   Category :.NET Framework

I am creating a window service in which OnStart () time i am changing the system time on system restart. this service work fine on system restart
My Problems
1. but not working when i am proper shutdown the system and then start.
2. I want this service run on operating system boot time not after user login time.
3. i want to save system time on Sql Database table when my system is shutdown, logoff, restart or unexpected stop. I am also using OnStop() and OnShutdown() methods but these methods are not work properly.

Please help me for solving above problems.


No response found. Be the first to respond this post
Post Reply

You must Sign In To post reply
Find more Forum Questions on C#, ASP.Net, Vb.Net, SQL Server and more Here
Quick Links For Forum Categories:
ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  OOPs  SilverlightIISJQuery

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend