Jump to content
Software FX Community

Tying Datasource to Grid Issue


jvwiv

Recommended Posts

Guys,

I have a form that was working fine prior to taking the upgrade, but now receive the error shown below.  I've recreated the form in steps and have recreated the point in time when the error occurs, when I create a data grid on the screen and attach it to the data source that utilizes the stored proc.  The data source (stored proc) runs fine until it's attached to the grid.  Once it's attached to the grid, the following error occurs.

 Any thoughts?

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:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Stack Trace:

[NullReferenceException: Object reference not set to an instance of an object.]   he.a(IEnumerable A_0) +23   GridFX.WebForms.Grid.a(DataSourceSelectingEventArgs A_0) +1408   GridFX.WebForms.Grid.ab() +442   pq.m() +83   pq.a() +127   pq.e() +42   GridFX.WebForms.Grid.ac() +88   GridFX.WebForms.Grid.OnPreRender(EventArgs e) +36   System.Web.UI.Control.PreRenderRecursiveInternal() +77   System.Web.UI.Control.PreRenderRecursiveInternal() +161   System.Web.UI.Control.PreRenderRecursiveInternal() +161   System.Web.UI.Control.PreRenderRecursiveInternal() +161   System.Web.UI.Control.PreRenderRecursiveInternal() +161   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1360
Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...