Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / .NET Framework / New Users / October 2004

Tip: Looking for answers? Try searching our database.

WinService

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Johan Karlsson - 13 Oct 2004 10:09 GMT
Hi!

If I create an empty winservice projekt and just compile and install. That
service will keep running until I tell it to terminate, right?

I have a problem with a winservice that terminates unexpectedly without any
warning after about two hours of running perfectly fine. Every piece of code
is within try-catch blocks and the debuggeroutput just ends. Inside a
winform, the same code never fails.

I could use some advice how to debug this...

Thanks
/Johan
Colin - 15 Oct 2004 20:27 GMT
Are you using the Windows Forms Timer or the System.Timers.Timer? The former
is unstable.

> Hi!
>
[quoted text clipped - 10 lines]
> Thanks
> /Johan
Johan Karlsson - 19 Oct 2004 09:41 GMT
Hi!

I'm using the System.Threading.Timer.

Example: Private m_refinedLogTimer As Threading.Timer

/Johan

> Are you using the Windows Forms Timer or the System.Timers.Timer? The
> former
[quoted text clipped - 17 lines]
>> Thanks
>> /Johan

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.