Server Error in '/' Application.

Index 0 is either negative or above rows count.

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.IndexOutOfRangeException: Index 0 is either negative or above rows count.

Source Error:


Line 205:                    break;
Line 206:                case "2":
Line 207:                    wheader = Convert.ToString(dvwww[0]["name_" + Config.LangSite]) + " / " + Convert.ToString(GetGlobalResourceObject("Lang", "key123"));
Line 208:                    wpic = filedirectory + Config.ConvertStrFile(dvwww[0]["pic_" + Config.LangSite]);
Line 209:                    wtextsub = Convert.ToString(dvwww[0]["mu_telim_" + Config.LangSite]);

Source File: c:\inetpub\wwwroot\jomardpublishing.com\public_html\journals.aspx.cs    Line: 207

Stack Trace:


[IndexOutOfRangeException: Index 0 is either negative or above rows count.]
   System.Data.DataView.GetRow(Int32 index) +2209880
   System.Data.DataView.get_Item(Int32 recordIndex) +17
   journals.loadjournalsresult(String wid, String wmenu, String wtype, String winfo) in c:\inetpub\wwwroot\jomardpublishing.com\public_html\journals.aspx.cs:207
   journals.Page_Load(Object sender, EventArgs e) in c:\inetpub\wwwroot\jomardpublishing.com\public_html\journals.aspx.cs:52
   System.Web.UI.Control.OnLoad(EventArgs e) +108
   System.Web.UI.Control.LoadRecursive() +90
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1533


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