While my page works most of the time I receive the following error on a daily basis multiple times per day. It makes reference to something being null. I've tried logging all information by checking on many lines what the problem is, all this inside a try/catch structure. No part of the method seem to execute... Does anybody have an idea of what could this be? All code inside the Load event is inside a try/catch (I even catch the generic Exception to make sure I catch all exceptions)and throws a custom exception that is logged. The custom exception is never thrown. This is the error: Source: App_Web_sk7upbo3 Message Object reference not set to an instance of an object. Stack Trace: at ReturnWebForm.Page_Load(Object sender, EventArgs e) Exception stack: ================= Method: Void LogError(System.Exception, System.String, Int32, Int32, Int32) Method: Void Application_Error(System.Object, System.EventArgs) Method: Void Invoke(System.Object, System.EventArgs) Method: Void RaiseOnError() Method: Void RecordError(System.Exception) Method: Void ResumeSteps(System.Exception) Method: System.IAsyncResult System.Web.IHttpAsyncHandler.BeginProcessRequest(System.Web.HttpContext, System.AsyncCallback, System.Object) Method: Void ProcessRequestInternal(System.Web.HttpWorkerRequest) Method: Void ProcessRequestNoDemand(System.Web.HttpWorkerRequest) Method: Int32 ProcessRequest(IntPtr, Int32)
this is hard to troubleshoot!! In general, this error means that the app is trying to access an object that has not be instantiated. Bruce DiscountASP.NET www.DiscountASP.NET