Server Error in '/' Application.

Value cannot be null.
Parameter name: value

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.ArgumentNullException: Value cannot be null.
Parameter name: value

Source Error:


Line 30:                 <div style="padding: 10px">
Line 31:                   <div style="padding-bottom: 10px">
Line 32:                     <dx:ASPxLabel runat="server" Text='<%# Eval("nome") %>' Font-Size="Large" Font-Bold="True" />
Line 33:                   </div>
Line 34:                   <div style="padding: 3px">

Source File: c:\inetpub\portaltp-linharescolatina\consultas\institucional\secretarias.aspx    Line: 32

Stack Trace:


[ArgumentNullException: Value cannot be null.
Parameter name: value]
   DevExpress.Data.Helpers.ByIntDictionary`1.Add(Int32 index, Object value) +601
   DevExpress.Data.Helpers.ServerModeKeyedCache.FetchRows(CriteriaOperator where, Int32 take, Int32 validateCount, Int32 firstRecord, Boolean isFromBottom) +752
   DevExpress.Data.Helpers.ServerModeKeyedCache.FetchRowsAll(ServerModeGroupInfo gi) +73
   DevExpress.Data.Helpers.ServerModeKeyedCache.GetRowKey(Int32 index) +631
   DevExpress.Data.Helpers.ServerModeKeyedCache.Indexer(Int32 index) +97
   DevExpress.Data.Helpers.BaseListDataControllerHelper.GetRowValue(Int32 listSourceRow, DataColumnInfo columnInfo, OperationCompleted completed, Boolean userHandler) +39
   DevExpress.Data.DataController.GetRowValue(Int32 controllerRow, DataColumnInfo column, OperationCompleted completed) +71
   DevExpress.Data.DataController.GetRowValue(Int32 controllerRow, DataColumnInfo column) +32
   System.Web.UI.DataBinder.GetPropertyValue(Object container, String propName) +92
   System.Web.UI.DataBinder.Eval(Object container, String[] expressionParts) +90
   ASP.consultas_institucional_secretarias_aspx.__DataBinding__control17(Object sender, EventArgs e) in c:\inetpub\portaltp-linharescolatina\consultas\institucional\secretarias.aspx:32
   System.Web.UI.Control.OnDataBinding(EventArgs e) +99
   DevExpress.Web.Internal.DataHelper.PerformSelect() +41
   DevExpress.Web.Internal.DataContainer.PerformSelect() +151
   DevExpress.Web.ASPxDataWebControlBase.DataBindInternal() +173
   DevExpress.Web.ASPxWebControl.DataBind() +50
   System.Web.UI.Control.DataBindChildren() +249
   System.Web.UI.Control.DataBind(Boolean raiseOnDataBinding) +191
   DevExpress.Web.GridBaseTemplateContainer.DataBind() +16
   DevExpress.Web.ASPxWebControlBase.DataBindContainers(Control parent, Boolean bindContents, Boolean bindTemplates) +206
   DevExpress.Web.ASPxWebControlBase.DataBindContainers(Control parent, Boolean bindContents, Boolean bindTemplates) +270
   DevExpress.Web.ASPxWebControlBase.DataBindContainers(Control parent, Boolean bindContents, Boolean bindTemplates) +270
   DevExpress.Web.ASPxWebControlBase.DataBindContainers(Control parent, Boolean bindContents, Boolean bindTemplates) +270
   DevExpress.Web.ASPxWebControlBase.DataBindContainers(Control parent, Boolean bindContents, Boolean bindTemplates) +270
   DevExpress.Web.ASPxWebControlBase.DataBindContainers(Control parent, Boolean bindContents, Boolean bindTemplates) +270
   DevExpress.Web.ASPxWebControlBase.DataBindContainers(Control parent, Boolean bindContents, Boolean bindTemplates) +270
   DevExpress.Web.ASPxWebControlBase.DataBindContainers(Control parent, Boolean bindContents, Boolean bindTemplates) +270
   DevExpress.Web.ASPxWebControlBase.DataBindContainers(Control parent, Boolean bindContents, Boolean bindTemplates) +270
   DevExpress.Web.ASPxWebControl.DataBind() +50
   Portal.consultasinstitucional.secretarias.Page_Load(Object sender, EventArgs e) in C:\el\projetos\ctgi-dotnet-portaltp\Portal\consultas\institucional\secretarias.aspx.cs:37
   System.Web.UI.Control.OnLoad(EventArgs e) +104
   System.Web.UI.Control.LoadRecursive() +154
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +4082


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