Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ...First Run Problems - EventQueue Issue ?First Run Problems - EventQueue Issue ?
Previous
 
Next
New Post
3/31/2007 8:11 AM
 
Hi,

a more simplistic solution would be to remove the code for these scheduler and eventqueue from Application_Start to the Application_BeginRequest event?

static bool _eventsProcessed = false;
static object _lock = new object();
 
public void Application_BeginRequest (..) {
    if (!_eventsProcessed)   {
         lock (_lock) {
            if (!_eventsProcessed) {
// Process scheduling and eventque events
ProcessApplicationStartEvents();
            }
        }    
    }
}

At this point the appropriate identity should be known, it does not requuire any rewrites and only adds a few lines of code.

Obviously, it is quite ugly but at least pragmatic.

Kind regards,
Martijn Kaag

 

 

 
New Post
5/9/2008 6:46 PM
 

The Event Queue code has been changed to use the database (4.5).  In addition the Scheduler is now started in OnBeginRequest (First Request only) as part of the changes in 4.8 to support the new IIS7 Integrated Pieline, so this should fix both of the issues discussed in this thread


Charles Nurse
Chief Architect
Evoq Content Team Lead,
DNN Corp.

Want to contribute to the Platform project? - See here
MVP (ASP.NET) and
ASPInsiders Member
View my profile on LinkedIn
 
Previous
 
Next
HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ...First Run Problems - EventQueue Issue ?First Run Problems - EventQueue Issue ?


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out