Developer forum

Forum » Development » Scheduled Tasks not working on Custom and other solutions

Scheduled Tasks not working on Custom and other solutions


Reply

I have converted some projects to .NET 2.0, and had some problems with the Global.asax file, but have solved those problems, so that Application_Start now will fire on fx. iisreset.


But I still can't use SheduledTask, because the service somehow is not running.


I have tried this settings for the Global.asax.cs file on method Application_Start:


protected void Application_Start(object sender, EventArgs e)


{


 


Dynamicweb.ScheduledTask.Thread.Start();


GlobalAsax.Application_Start(sender, e);


}


 


And this:


{


 


GlobalAsax.Application_Start(sender, e);


Dynamicweb.ScheduledTask.Thread.Start();


}


Is this a known bug, or am I doing something wrong. I have also tried Scheduled Tasks on some standard DW solutions, but seem to have the same problem.


Replies

 
Reply

Please check "Application" in the event viewer on the server and see if new ASP.NET warnings ocour, when the IIS is started.

 

You must be logged in to post in the forum