Server Error in '/' Application.

Exception of type 'System.OutOfMemoryException' was thrown.

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.OutOfMemoryException: Exception of type 'System.OutOfMemoryException' was thrown.

Source Error:


Line 214:			dataAdapter.SelectCommand = idbCommand;
Line 215:			DataSet dataSet = new DataSet();
Line 216:			dataAdapter.Fill(dataSet);
Line 217:			idbCommand.Parameters.Clear();
Line 218:			return dataSet;

Source File: g:\pleskvhosts\insatiable-critic.com\httpdocs\App_Code\DataAccessLayer\DBManager.cs    Line: 216

Stack Trace:


[OutOfMemoryException: Exception of type 'System.OutOfMemoryException' was thrown.]
   System.Data.SqlClient.TdsParser.ReadPlpUnicodeChars(Char[]& buff, Int32 offst, Int32 len, TdsParserStateObject stateObj) +92
   System.Data.SqlClient.TdsParser.ReadSqlStringValue(SqlBuffer value, Byte type, Int32 length, Encoding encoding, Boolean isPlp, TdsParserStateObject stateObj) +4902424
   System.Data.SqlClient.TdsParser.ReadSqlValue(SqlBuffer value, SqlMetaDataPriv md, Int32 length, TdsParserStateObject stateObj) +148
   System.Data.SqlClient.SqlDataReader.ReadColumnData() +77
   System.Data.SqlClient.SqlDataReader.ReadColumn(Int32 i, Boolean setTimeout) +215
   System.Data.SqlClient.SqlDataReader.GetValueInternal(Int32 i) +20
   System.Data.SqlClient.SqlDataReader.GetValues(Object[] values) +157
   System.Data.ProviderBase.CommonLanguageSubsetDataReader.GetValues(Object[] values) +13
   System.Data.ProviderBase.SchemaMapping.LoadDataRow() +44
   System.Data.Common.DataAdapter.FillLoadDataRow(SchemaMapping mapping) +96
   System.Data.Common.DataAdapter.FillFromReader(DataSet dataset, DataTable datatable, String srcTable, DataReaderContainer dataReader, Int32 startRecord, Int32 maxRecords, DataColumn parentChapterColumn, Object parentChapterValue) +164
   System.Data.Common.DataAdapter.Fill(DataSet dataSet, String srcTable, IDataReader dataReader, Int32 startRecord, Int32 maxRecords) +353
   System.Data.Common.DbDataAdapter.FillInternal(DataSet dataset, DataTable[] datatables, Int32 startRecord, Int32 maxRecords, String srcTable, IDbCommand command, CommandBehavior behavior) +164
   System.Data.Common.DbDataAdapter.Fill(DataSet dataSet, Int32 startRecord, Int32 maxRecords, String srcTable, IDbCommand command, CommandBehavior behavior) +287
   System.Data.Common.DbDataAdapter.Fill(DataSet dataSet) +94
   DataAccessLayer.DBManager.ExecuteDataSet(CommandType commandType, String commandText) in g:\pleskvhosts\insatiable-critic.com\httpdocs\App_Code\DataAccessLayer\DBManager.cs:216
   DataAccessLayer.Database.GetArticlesByType(Int32 tc, Int32 rowcount) in g:\pleskvhosts\insatiable-critic.com\httpdocs\App_Code\DataAccessLayer\Database.cs:118
   Insatiable.PresentationLayer.Presentation.Navigation(Int32 tc, Int32 count) in g:\pleskvhosts\insatiable-critic.com\httpdocs\App_Code\PresentationLayer\Presentation.cs:468
   Insatiable.UserControls.Navigation.Page_Load(Object sender, EventArgs e) in g:\pleskvhosts\insatiable-critic.com\httpdocs\UserControls\Navigation.ascx.cs:27
   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.Control.LoadRecursive() +141
   System.Web.UI.Control.LoadRecursive() +141
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +627


Version Information: Microsoft .NET Framework Version:2.0.50727.9061; ASP.NET Version:2.0.50727.9062