Our website has about 20+ web pages and we get about 7000+ web hits a day.
I have code which sends me an email anytime someone encounters and unhandled error, showing me the error stack and what page they were on when the error happened.
About 3 to 6 times a week I get this error:
Object reference not set to an instance of an object
I know that this is usually caused by an object not being instantiated with the New command. What is puzzling to me is; I have 7000+ web hits and less then one error a day, that means that the code works better then 99% of the time. Also I don’t just get the error on one page which means that it is either in some code that is shared in all pages like a custom control or that it has nothing to do with my code but is related to maybe a lost internet connection by our users or something else like that.
Has anyone encountered a similar problem, or know of a possible cause?
Thanks for any help
I have code which sends me an email anytime someone encounters and unhandled error, showing me the error stack and what page they were on when the error happened.
About 3 to 6 times a week I get this error:
Object reference not set to an instance of an object
I know that this is usually caused by an object not being instantiated with the New command. What is puzzling to me is; I have 7000+ web hits and less then one error a day, that means that the code works better then 99% of the time. Also I don’t just get the error on one page which means that it is either in some code that is shared in all pages like a custom control or that it has nothing to do with my code but is related to maybe a lost internet connection by our users or something else like that.
Has anyone encountered a similar problem, or know of a possible cause?
Thanks for any help