Server Error in '/SalesPortal' Application.

Object reference not set to an instance of an object.

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.NullReferenceException: Object reference not set to an instance of an object.

Source Error:


Line 500:            catch //If failed to log errors, throw the error that caused this event to be raised.
Line 501:            {
Line 502:                throw objErr;
Line 503:            }
Line 504:        }

Source File: c:\inetpub\wwwroot\SalesPortal\App_Code\BasePage.cs    Line: 502

Stack Trace:


[NullReferenceException: Object reference not set to an instance of an object.]
   BasePage.Page_Error(Object sender, EventArgs e) in c:\inetpub\wwwroot\SalesPortal\App_Code\BasePage.cs:502
   System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +51
   System.Web.UI.TemplateControl.OnError(EventArgs e) +9749070
   System.Web.UI.Page.HandleError(Exception e) +79
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +6695
   System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +245
   System.Web.UI.Page.ProcessRequest() +72
   System.Web.UI.Page.ProcessRequestWithNoAssert(HttpContext context) +21
   System.Web.UI.Page.ProcessRequest(HttpContext context) +58
   ASP.login_aspx.ProcessRequest(HttpContext context) in c:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\salesportal\66c89be9\ddd58113\App_Web_ndyi0yz2.4.cs:0
   System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +341
   System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +69


Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.36730