0

I have developed a asp.net application which is deployed on his personal server. The application is running in the background and updating his e-commerce database automatically. I have used Quartz.net for scheduling purpose.

My problem is that the application gets stopped after certain period (3-8 hours) of time.

I want a way to restart the application automatically as soon as it goes down.OR alternatively a service which visit the application periodically so it goes live.

Note: I have access to my client server and can yous windows scheduling if there is any solution relatively.

I have also read similar post but had no luck.

Your prompt response will be highly appreciated.

Thanks

Mehboob Afridi
  • 289
  • 2
  • 3
  • 19
  • Why is stopped ? do you have too many errors maybe that bring it down ? – Aristos May 12 '13 at 12:06
  • There is no error reported while stopping. – Mehboob Afridi May 12 '13 at 12:17
  • don't you know why is stopping ? And one more, what is stop, the pool, or the specific site ? – Aristos May 12 '13 at 12:18
  • The pool doesn't get stop because there are other sites in the same pool and running well. The specific site is down only. – Mehboob Afridi May 12 '13 at 12:24
  • Use this answer to first find the reason that is stop: http://stackoverflow.com/questions/8499791/application-crashing-due-to-stackoverflow then maybe you can find a solution by updating the question. To send message to auto start every minute is not going to solve your problems – Aristos May 12 '13 at 12:59
  • @Aristos: I read that referred link but I couldn't understand the accepted example as I am new to programming and need more information as where to put the code and how to get the result. Your co-operation will be highly appreciated. – Mehboob Afridi May 13 '13 at 11:42
  • There is the global.asax, and there is the ` Application_End`. Inside `Application_End` you use the code on the answer, get the strings, and log them somewhere. This strings tells you why the application stops. – Aristos May 13 '13 at 12:15
  • Oops its in C# while I am using VB.Net. I tried to convert to VB version using some websites but there is some problem in the last two lines saying "Expression is not a method". Any help please. – Mehboob Afridi May 13 '13 at 14:58

0 Answers0