I have ASP.NET application on hosting provider for some tasks that I can’t do on my own PC due to my slow connection.
Application uses multithreading, and has login screen at the start but the only user of application is me. Everything was fine until few days ago when my application started to restart itself after an hour of work or so,I Guess it doesn’t lose session since I am still Loged on when restart happen,but my all variables and and controls are reverted to starting state.My application doesn’t delete or modify any folders or files on server so that can’t be a reason, and I am convinced this isn’t caused by any error since I’ve inspected application few times for any kind of errors.
When this started to happen I noticed few cosmetic changes on my hosts Control Panel,and now Im unable to login trough Firefox to CP,because Login screen of Host CP doesen’t recoginize that the cookies are enabled in my Browser and asks me to enable cookies.Everything works fine in Chrome and IE.
What can cause an application to suddenly start to reset itself, and It was running fine for few weeks? When I run application in VS everything seems fine and it can work for days that way.
Any help would be appreciated. Thanks!
PS. I tried catching something useful in Global.asax under Application End,Application Error and Session End but It seems like it doesen’t execute any of that?
I have experienced App restart because of error,but usually those kind of error can be catched when debugging in VS,as I said before everything is fine when I run it on my own PC in VS.
I had this happen with one of my sites, and it turned out that the app pool in IIS had a maximum virtual memory limit that was set too low for the application. So when we hit our virtual memory limit, the application pool restarted. Perhaps something similar is going on here.