Server Error in '/' 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:


Line 16:                 ds = ObjAdmin.GetKeywordbyClientID();
Line 17:                 dlAlsoListed.DataSource = ds;
Line 18:                 dlAlsoListed.DataBind();
Line 19:                 ds = ObjAdmin.GetBusinessEmailbyID();
Line 20:                 cname.InnerHtml = ds.Tables[0].Rows[0]["sBusinessName"].ToString();

Source File: c:\inetpub\vhosts\ummat.in\zaroori.org\AlsoListed.aspx.cs    Line: 18

Stack Trace:


[HttpException (0x80004005): The IListSource does not contain any data sources.]
   System.Web.UI.DataSourceHelper.GetResolvedDataSource(Object dataSource, String dataMember) +11771752
   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
   roseaffairs.fmlifescience.AlsoListed.Page_Load(Object sender, EventArgs e) in c:\inetpub\vhosts\ummat.in\zaroori.org\AlsoListed.aspx.cs:18
   System.Web.UI.Control.OnLoad(EventArgs e) +106
   System.Web.UI.Control.LoadRecursive() +68
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +3785


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