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 / ASP.NET / Web Services / February 2005

Tip: Looking for answers? Try searching our database.

From working to not working :(

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
MA - 21 Feb 2005 18:18 GMT
Hi all!

I have a webservice that checks for mail every x seconds with a timer.
I had it set up on a win xp computer and it was working fine.

When I recently moved my webservice to a win 2003 server, it seems like the
timer stops working after a while. I have no idea why.

Actually, I dont think that it has something to do with my webservice, but I
really cant figure this out and need help :)

/Marre
IPGrunt - 21 Feb 2005 19:52 GMT
> Hi all!
>
[quoted text clipped - 8 lines]
>
> /Marre

OK, how is the timer implemented?

-- ipgrunt
MA - 21 Feb 2005 22:11 GMT
>> Hi all!
>>
[quoted text clipped - 15 lines]
>
> -- ipgrunt

I?m pushing a button. In the click event I set the timer run every 30
seconds. This app has ben stable on my other computer, but I had to upgrade
to a better one. I?ve tried it out for several weeks without this "error".

/Marre
Steve Lutz - 23 Feb 2005 01:19 GMT
My guess is the ASP.NET process is being restarted on Windows 2003
automatically.
Which means that your timer is going to get reset.

I believe that if you implemented this as a COM+ object, that object would
continue functioning after the ASP.NET process restarts.
If you've already got all the code, you may want to implement this as a
Window Service, and not a Webservice. If you're using VS, then this is not
difficult to implement.

Steve

> >> Hi all!
> >>
[quoted text clipped - 21 lines]
>
> /Marre
MA - 23 Feb 2005 11:06 GMT
Hi Steve!

As a "first step" i implemented this as a windows applikation. I will use
the Windows Service alternative as an option to my application.

It seems that this is working.

Thanks for giving me an answer/guess to what causing this problem!

/Marre

> My guess is the ASP.NET process is being restarted on Windows 2003
> automatically.
[quoted text clipped - 35 lines]
>>
>> /Marre

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.