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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...