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

HomeHomeUsing DNN Platf...Using DNN Platf...Using Modules a...Using Modules a...How to start a scheduler on application startHow to start a scheduler on application start
Previous
 
Next
New Post
11/28/2012 3:46 AM
 

Parimi,

there is no need to modify the Application_Start event in the global.asax file.

I do not really see a need to set the "Run on event" to "APPLICATION_START" when you define a schedule (as you did above). Try to set it to none and restart the application.

Anyway: The problem we are talking about here is: If you do not set a recurring schedule and want the scheduled task only run at APPLICATION_START, then it does not execute. As mentioned above, I opened an issue on Gemini about that behaviour/bug - see here. It would be nice when someone would add some comments about having the same problem if applicable. Obviously I am not the only one having this problem. Maybe it helps to accelerate the reactions a bit...

Best wishes
Michael


Michael Tobisch
DNN★MVP

dnn-Connect.org - The most vibrant community around the DNN-platform
 
New Post
11/28/2012 4:12 AM
 
Parimi,
Try to give retry frequency less than time elapse once, I hope it will work. I am not getting why are you giving retry frequency 120 mins Is it correct. Kindly check it and we can give any scheduler on APP_START it won't create any problem or error. But here with out time elapse and on APP_START it has to work but that is not working we are trying for that. Change that retry frequency it may work if not kindly revert with specific error.

Regards,
Janardhan
 
New Post
11/28/2012 6:12 AM
 
Dear Janardhan,I was given retry frequency 5 mins still i am getting the issue.Below is the issue i am getting after iisreset if i try to access my application.Later i am changing to none in database its working fine.--------------------------------------------------------------------------------------------------------Server Error in '/' Application.Request timed out.Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. Exception Details: System.Web.HttpException: Request timed out.Source Error: An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.Stack Trace: [HttpException (0x80004005): Request timed out.]Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.272RegardsParimi
 
New Post
11/28/2012 11:59 PM
 
Parimi, What you changed to none in DB is that APP_START to none or some other. I am not getting that error which you posted. Any how post the solution it will help to others in future. If they get same problem.Rgards,Janardhan.
 
New Post
11/29/2012 8:51 AM
 

is due to you code need more time to execute and is exceed the predefine allow time.

Adjust the execution Timeout parameter in your application’s Web.config file.

<httpRuntime
            maxRequestLength="8924"  give to "10240"
            executionTimeout="36000"
/>

it may help full.

 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Using Modules a...Using Modules a...How to start a scheduler on application startHow to start a scheduler on application start


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