Hi Brian,
There sure is a bug in the ASP.NET code - specifically it looks like it is in this module "SetCustomerAcctDetail". What I normally do is using TRY/CATCH/FINALLY blocks to catch and process errors or narrow them down. In any case, there must be something either in this module that is wrong. It is likely that it is within a procedure in the module or that the module tries to call an outside procedure/function with invalid data at a certain point in time while it is not accounted for. Good error handling should reveal the issue pretty quick actually. But I am sure your developers are professionals that know what they are doing.
As for you - I understand why you monitor the eventlog, trying to correct something that should not be the case in the first place.
Checking for the EVENTID is one way to tackle it, there are sensors that can try a logon to the website and alert when it does not work - what might be even better for you.
The application pool won't go down due to an ASP.NET error, the pool is mainly the executing user, while the error might cause the application in the pool to restart and possibly lose e.g. the basket any 3rd user would have put together (not necessarily, depending on how it was coded - just an example), cause the application would restart. Or the application hangs and a restart of the AppPool just acts like closing/opening a program - kind a like task manager and killing an application/task.
Definitive get your developers on that and have them add good error handling to determine the root cause, simply because this can have a bigger effect then just users not being able to logon.
Check out this sensor for logon tests:
https://www.paessler.com/manuals/prtg/http_advanced_sensor
Hope this helps :-)
Florian Rossmark
www.it-admins.com
Add comment