webgrid runtime error

1 reply. Last post: October 15, 2009 12:29 AM by James
Tags :
  • New Discussion
  • New Question
  • New Product Feedback

hi,


we have the following error using the webgrid on runtime, our server is win 2008 server 64bit, IIS 7


Thanks,


Vince


Server Error in '/ISV/Speedy/CrmPhoenixRomaOrderGrid' 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 1643: </div>
Line 1644:
Line 1645: <ISWebGrid:WebGrid ID="WebGrid1" runat="server" UseDefaultStyle="True"
Line 1646: Height="45%" Width="100%"
Line 1647: DataSourceID="ISOrderPosDS" onaddrow="WebGrid1_AddRow" OnInitializeLayout="WebGrid1_InitializeLayout"


Source File: c:\Program Files\Microsoft Dynamics CRM\CRMWeb\ISV\Speedy\CrmPhoenixRomaOrderGrid\OrderPositionsGrid.aspx Line: 1645

Stack Trace:


[NullReferenceException: Object reference not set to an instance of an object.]
ISNet.WebUI.ISNetControl.(Byte[] t, String s) +1572
ISNet.WebUI.ISNetControl.(Byte[] t, String s) +46
ISNet.WebUI.ISNetControl.() +1001
ISNet.WebUI.ISNetControl..ctor() +369
ISNet.WebUI.WebGrid.WebGrid..ctor() +433
ASP.orderpositionsgrid_aspx.__BuildControlWebGrid1() in c:\Program Files\Microsoft Dynamics CRM\CRMWeb\ISV\Speedy\CrmPhoenixRomaOrderGrid\OrderPositionsGrid.aspx:1645
ASP.orderpositionsgrid_aspx.__BuildControlmain() in c:\Program Files\Microsoft Dynamics CRM\CRMWeb\ISV\Speedy\CrmPhoenixRomaOrderGrid\OrderPositionsGrid.aspx:1633
ASP.orderpositionsgrid_aspx.__BuildControlform1() in c:\Program Files\Microsoft Dynamics CRM\CRMWeb\ISV\Speedy\CrmPhoenixRomaOrderGrid\OrderPositionsGrid.aspx:24
ASP.orderpositionsgrid_aspx.__BuildControlTree(orderpositionsgrid_aspx __ctrl) in c:\Program Files\Microsoft Dynamics CRM\CRMWeb\ISV\Speedy\CrmPhoenixRomaOrderGrid\OrderPositionsGrid.aspx:1
ASP.orderpositionsgrid_aspx.FrameworkInitialize() in c:\Windows\Microsoft.NET\Framework64\v2.0.50727\Temporary ASP.NET Files\isv_speedy_crmphoenixromaordergrid\97eb6f5b\77516cf4\App_Web_a_gavmdk.0.cs:0
System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +54
System.Web.UI.Page.ProcessRequest() +90
System.Web.UI.Page.ProcessRequest(HttpContext context) +239
ASP.orderpositionsgrid_aspx.ProcessRequest(HttpContext context) in c:\Windows\Microsoft.NET\Framework64\v2.0.50727\Temporary ASP.NET Files\isv_speedy_crmphoenixromaordergrid\97eb6f5b\77516cf4\App_Web_a_gavmdk.0.cs:0
System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +598
System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +170




--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:2.0.50727.4016; ASP.NET Version:2.0.50727.4016

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