Container12
 Knowledge Base

KB202: Timer not running on deployed server

Article ID : 202
Last Review : Monday, April 07, 2008
Revision : 1

SYMPTOMS

When you use timers you may encounter that the timer may not run on deployed server
 

CAUSE

This problem occurs because the timer feature is not enabled by default and requires enabling through a definition.

Back to the top

WORKAROUND

The timer feature is not enabled by default and requires enabling through the definition file by adding the following key to the WebGUI section.
This enabling process is due to the fact that timers are not yet considered to be 100% safe as the still lack a mechanism for self destruction. Meaning that timers need to be shout down by calling the Timer.Stop method. This is a temporary process until the timers feature is finalized. This does not mean you can not work with timers as the interface will not change and the only issue we have to solve is that it would be safe to forget to shout down the timer
To work around this problem, follow these steps:
  1. Open the Web.config file and find the <WebGUI> tag
  2. If exists set the <TimersEnabled Mode="On" /> Tag else add the specific tag. 
  3. Save your Web.Config file
  4. Rebuild your solution

Back to the top

STATUS

Gizmox has confirmed that this is a by design behavior in the Gizmox products that are listed in the "Applies to" section.

Back to the top

MORE INFORMATION

Steps to reproduce the behavior

  1. STEP1
  2. STEP2

Back to the top

REFERENCES

For more information, click the following article number to view the article in the Gizmox Knowledge Base:
KB_____**KB_TITLE_HERE**

Back to the top

APPLIES TO
  1. All Servers + SDK 

Back to the top

.NET Web, Cloud and Mobile application delivery platform | Sitemap | Terms of Use | Privacy Statement | Copyright © 2005-2011 Visual WebGui®       Visual WebGui weblog on ASP.NET Visual WebGui Group on LinkedIn Visual WebGui updates on Twitter Visual WebGui Page on Facebook Visual WebGui YouTube Channel Visual WebGui Platform News RSS