Server Error in '/Culturetec' Application.

The IListSource does not contain any data sources.

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.Web.HttpException: The IListSource does not contain any data sources.

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:


[HttpException (0x80004005): The IListSource does not contain any data sources.]
   System.Web.UI.DataSourceHelper.GetResolvedDataSource(Object dataSource, String dataMember) +11770736
   System.Web.UI.WebControls.ReadOnlyDataSource.System.Web.UI.IDataSource.GetView(String viewName) +53
   System.Web.UI.WebControls.BaseDataList.ConnectToDataSourceView() +415
   System.Web.UI.WebControls.BaseDataList.GetData() +17
   System.Web.UI.WebControls.DataList.CreateControlHierarchy(Boolean useDataSource) +376
   System.Web.UI.WebControls.BaseDataList.OnDataBinding(EventArgs e) +88
   Web_MasterPage_Controls_ucMenuSuperior.CarregaTiposPortfolios() +155
   Web_MasterPage_Controls_ucMenuSuperior.Page_Load(Object sender, EventArgs e) +43
   System.Web.UI.Control.OnLoad(EventArgs e) +106
   System.Web.UI.Control.LoadRecursive() +68
   System.Web.UI.Control.LoadRecursive() +162
   System.Web.UI.Control.LoadRecursive() +162
   System.Web.UI.Control.LoadRecursive() +162
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +3785


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