Webgrid databinding causing blank screen

2 replies. Last post: February 18, 2016 7:49 PM by zeeshan aamir
Tags :
  • New Discussion
  • New Question
  • New Product Feedback

Hey,

I have a page where there is only 1 webgrid. When the page loads I get a blank white screen. This only happens sometimes, but when it happens the logs show the following exception:

DATETIME: (hidden)

USERNAME: (hidden)

CLIENTID: (hidden)

TARGETNAME: APPLICATION_ERROR: ProcessRequest

METHODNAME: Application_Error

MESSAGE: Exception of type 'System.Web.HttpUnhandledException' was thrown.Object reference not set to an instance of an object. 

STACKTRACE FROM PARENT:    at System.Web.UI.Page.HandleError(Exception e)

  

 at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)

 

 at System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)

 

 at System.Web.UI.Page.ProcessRequest()

   at System.Web.UI.Page.ProcessRequest(HttpContext context)

  

 at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()

 

 at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) 

 at  ?. ?. ?(WebGridTable ?  )

   at  ?. ?.? (DataView    , String ?  , String    )

   at ISNet.WebUI.WebGrid.WebGrid.DataBind()

  

 at ISNet.WebUI.WebGrid.WebGrid.OnInitializeDataSource(Object dataSource)

   at ISNet.WebUI.WebGrid.WebGrid.OnLoad(EventArgs e)

  

 at System.Web.UI.Control.LoadRecursive()

   at System.Web.UI.Control.LoadRecursive()

   at System.Web.UI.Control.LoadRecursive()

  

 at System.Web.UI.Control.LoadRecursive()

   at System.Web.UI.Control.LoadRecursive()

   at System.Web.UI.Control.LoadRecursive()

  

 at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)

STACKTRACE:    at tfSW.processcontrol.LogError(String Message, String Stacktrace, String Target, String Method, String clientid)

SOURCE: tfSW

INNER STACKTRACE: 


I checked the data to make sure there might be something there but that looks fine. The weird thing is I only get this error sometimes. Any help would be greatly appreciated. Thanks.

All times are GMT -5. The time now is 3:39 AM.
Previous Next