لو سمحتم انا عندي مشكله في فتح موقع وزاره القوي العامله والهجره
بقالي اسبوع بحاول افتح الموقع لاكن مع كل محاوله يظهر لي هذه الرساله
كود:
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 121: ds = Dal.GetLastNews5Ministry();
Line 122: GridView2.DataSource = ds;
Line 123: GridView2.DataBind();
Line 124: if (GridView2.Rows.Count == 0)
Line 125: {
Source File: c:\MOME\home.aspx.cs Line: 123
Stack Trace:
[HttpException (0x80004005): The IListSource does not contain any data sources.]
System.Web.UI.DataSourceHelper.GetResolvedDataSource(Object dataSource, String dataMember) +8660770
System.Web.UI.WebControls.ReadOnlyDataSource.System.Web.UI.IDataSource.GetView(String viewName) +41
System.Web.UI.WebControls.DataBoundControl.ConnectToDataSourceView() +128
System.Web.UI.WebControls.DataBoundControl.GetData() +4
System.Web.UI.WebControls.DataBoundControl.PerformSelect() +60
System.Web.UI.WebControls.BaseDataBoundControl.DataBind() +73
System.Web.UI.WebControls.GridView.DataBind() +4
_Default.LoadLastFiveNewsMinistry() in c:\MOME\home.aspx.cs:123
_Default.Page_Load(Object sender, EventArgs e) in c:\MOME\home.aspx.cs:29
System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) +14
System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +35
System.Web.UI.Control.OnLoad(EventArgs e) +99
System.Web.UI.Control.LoadRecursive() +50
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +627
Version Information: Microsoft .NET Framework Version:2.0.50727.3074; ASP.NET Version:2.0.50727.3074
ارجو من الاخوه ان يساعدوني في حل هذه المشكله حيث انني اعتبرت ان هذه المشكله ممكن ان تكون في المتصفح لاكني استخدمت 4 متصفحات اخري ولاكن المشكلة كما هي
واشكركم جدا واسف علي الاطاله