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:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Stack Trace:


[OutOfMemoryException: Exception of type 'System.OutOfMemoryException' was thrown.]
   System.Data.SqlClient.TdsParserStateObject.TryReadPlpBytes(Byte[]& buff, Int32 offst, Int32 len, Int32& totalBytesRead) +131
   System.Data.SqlClient.TdsParser.TryReadSqlValue(SqlBuffer value, SqlMetaDataPriv md, Int32 length, TdsParserStateObject stateObj, SqlCommandColumnEncryptionSetting columnEncryptionOverride, String columnName) +275
   System.Data.SqlClient.SqlDataReader.TryReadColumnData() +118
   System.Data.SqlClient.SqlDataReader.TryReadColumnInternal(Int32 i, Boolean readHeaderOnly) +60
   System.Data.SqlClient.SqlDataReader.TryReadColumn(Int32 i, Boolean setTimeout, Boolean allowPartiallyReadColumn) +139
   System.Data.SqlClient.SqlDataReader.GetValueInternal(Int32 i) +31
   System.Data.SqlClient.SqlDataReader.GetValue(Int32 i) +73
   lambda_method(Closure , Shaper ) +247
   System.Data.Common.Internal.Materialization.Shaper.HandleEntityAppendOnly(Func`2 constructEntityDelegate, EntityKey entityKey, EntitySet entitySet) +124
   lambda_method(Closure , Shaper ) +198
   System.Data.Common.Internal.Materialization.Coordinator`1.ReadNextElement(Shaper shaper) +168
   System.Data.Common.Internal.Materialization.SimpleEnumerator.MoveNext() +97
   System.Collections.Generic.List`1..ctor(IEnumerable`1 collection) +387
   System.Linq.Enumerable.ToList(IEnumerable`1 source) +58
   AloraBilisim.eAlora.BusinessLogic.Media.PictureService.GetPicturesByProductId(Int32 productId, Int32 recordsToReturn) +2863
   AloraBilisim.eAlora.BusinessLogic.Products.Product.get_DefaultPicture() +85
   AloraBilisim.eAlora.Web.Modules.ProductBox1Control.BindData() +501
   AloraBilisim.eAlora.Web.Modules.ProductBox1Control.DataBind() +28
   System.Web.UI.Control.DataBindChildren() +185
   System.Web.UI.Control.DataBind(Boolean raiseOnDataBinding) +160
   System.Web.UI.Control.DataBind() +17
   System.Web.UI.WebControls.Repeater.CreateItem(Int32 itemIndex, ListItemType itemType, Boolean dataBind, Object dataItem) +126
   System.Web.UI.WebControls.Repeater.AddDataItemsIntoItemsArray(IEnumerable dataSource, Boolean useDataSource) +217
   System.Web.UI.WebControls.Repeater.PostGetDataAction(IEnumerable dataSource) +71
   System.Web.UI.WebControls.Repeater.CreateControlHierarchy(Boolean useDataSource) +220
   System.Web.UI.WebControls.Repeater.OnDataBinding(EventArgs e) +62
   System.Web.UI.WebControls.Repeater.DataBind() +77
   AloraBilisim.eAlora.Web.Templates.Categories.ProductsInGrid.BindData() +3380
   AloraBilisim.eAlora.Web.Templates.Categories.ProductsInGrid.Page_Init(Object sender, EventArgs e) +91
   System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +51
   System.Web.UI.Control.OnInit(EventArgs e) +95
   System.Web.UI.UserControl.OnInit(EventArgs e) +83
   AloraBilisim.eAlora.Web.Templates.Categories.ProductsInGrid.OnInit(EventArgs e) +12
   System.Web.UI.Control.InitRecursive(Control namingContainer) +139
   System.Web.UI.Control.AddedControl(Control control, Int32 index) +185
   System.Web.UI.ControlCollection.Add(Control child) +86
   AloraBilisim.eAlora.Web.CategoryPage.CreateChildControlsTree() +152
   AloraBilisim.eAlora.Web.CategoryPage.OnInit(EventArgs e) +21
   System.Web.UI.Control.InitRecursive(Control namingContainer) +139
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +408


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