I'm experiencing something I've never seen before, and something that doesn't seem to be dicsussed on the internet. I have an AJAX web site that is designed to run continuously, 24 hours a day. Something that employees can walk past and review, then move on. It refreshes itself based on a timer control set to refresh every 10 seconds. OnTick, the timer calls a C# method that simply updates an UpdatePanel control on the page. Now, randomly, but every 48 hours it seems, the javascript crashes and throws a unique error each time, but all related to ScriptResource.axd. Some examples are:
Message: 'this._xmlHttpRequest' is null or not an object
Line: 5200
Char: 9
Code: 0
URI:
http://webapps/bjr/ScriptResource.axd?d=GogRU2uvfZZxVcSgcX_fTg6zFz76FDJs7m2FLRgB7MAkqOOLSZsVm-IfwVeTOrkCcJpmu_kwJivaVgB4RjObtxdQey8RwXjLaA_gO_bsuqk1&t=633549133346786994
Message: 'method' is null or not an object
Line: 61
Char: 9
Code: 0
URI: http://webapps/bjr/ScriptResource.axd?d=GogRU2uvfZZxVcSgcX_fTg6zFz76FDJs7m2FLRgB7MAkqOOLSZsVm-IfwVeTOrkCcJpmu_kwJivaVgB4RjObtxdQey8RwXjLaA_gO_bsuqk1&t=633549133346786994
Message: 'parameterArray' is null or not an object
Line: 140
Char: 9
Code: 0
URI: http://webapps/bjradmin_dev/ScriptResource.axd?d=hCrKQu2tYm9z1ADb8DKK4lMjuP3nEOJuHL5ktHfOjXCJvB-MPxhhyDy_smhIUHqtRFjlZ4hWqoJHZZ47r-QrG47c_T1Iyo0SKPIetlTHW0k1&t=633549133346786994
So far, I tried reducing the number of asynch postbacks by lengthening the timer to 30 minutes and 1 hour, but the problem persisted. I then tried changing the C# method to just reload the website every 10 seconds instead of just reloading the updatepanel, but still no good. I've had my head buried in this problem for so long, I need a fresh set of eyes to help me identify what causes this and how to work around it. Ultimately, I need the website to be running on a single workstation continuously, and refreshing an UpdatePanel asynchronously on a fixed interval. Your thoughts?
If this response answered your question, please click "Mark As Answer" above. Thank you!