System.IndexOutOfRangeException: Index was outside the bounds of the array. at System.Collections.Generic.List`1.Add(T item) at System.Data.Linq.SqlClient.SqlConnectionManager.UseConnection(IConnectionUser user) at System.Data.Linq.SqlClient.SqlProvider.Execute(Expression query, QueryInfo queryInfo, IObjectReaderFactory factory, Object[] parentArgs, Object[] userArgs, ICompiledSubQuery[] subQueries, Object lastResult) at System.Data.Linq.SqlClient.SqlProvider.ExecuteAll(Expression query, QueryInfo[] queryInfos, IObjectReaderFactory factory, Object[] userArguments, ICompiledSubQuery[] subQueries) at System.Data.Linq.SqlClient.SqlProvider.System.Data.Linq.Provider.IProvider.Execute(Expression query) at System.Data.Linq.DataQuery`1.System.Linq.IQueryProvider.Execute[S](Expression expression) at System.Linq.Queryable.FirstOrDefault[TSource](IQueryable`1 source) at NewsPaperDAL.DAL.NewsPaperManager.GetExactNewsPaperByName(String newsPaperName) in D:\Projects\NewsPaperLibrary\NewsPaperDAL\DAL\NewsPaperManager.cs:line 37 at NewsPaperLibrary.NewspaperInfo.LoadNewsPaperInfo() in D:\Projects\NewsPaperLibrary\NewsPaperLibrary\NewspaperInfo.aspx.cs:line 167 at NewsPaperLibrary.NewspaperInfo.PageLoad() in D:\Projects\NewsPaperLibrary\NewsPaperLibrary\NewspaperInfo.aspx.cs:line 33 at NewsPaperLibrary.Class.BasePage.Page_Load(Object sender, EventArgs e) in D:\Projects\NewsPaperLibrary\NewsPaperLibrary\App_Code\BasePage.cs:line 72 at System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) at System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) at System.Web.UI.Control.OnLoad(EventArgs e) at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)