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.Text.StringBuilder.ToString() +36
   System.IO.StreamReader.ReadToEnd() +127
   System.IO.File.InternalReadAllText(String path, Encoding encoding, Boolean checkHost) +77
   System.IO.File.ReadAllText(String path) +42
   SANPHAM_controller.obj_SANPHAM_IdDanhMucSanPham(Int32 _IdDanhMucSanPham_, Int32 _IdKieuHienThi_, Int32 _soluongcanlay_) +38
   PUPLIC_SHOP_PC2_Home_Default.Repeater_DANHMUCSAPHAM_ShowHome_ItemDataBound(Object sender, RepeaterItemEventArgs e) +322
   System.Web.UI.WebControls.Repeater.OnItemDataBound(RepeaterItemEventArgs e) +109
   System.Web.UI.WebControls.Repeater.CreateItem(Int32 itemIndex, ListItemType itemType, Boolean dataBind, Object dataItem) +138
   System.Web.UI.WebControls.Repeater.AddDataItemsIntoItemsArray(IEnumerable dataSource, Boolean useDataSource) +212
   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() +131
   PUPLIC_SHOP_PC2_Home_Default.Page_Load(Object sender, EventArgs e) +1541
   System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +85
   System.Web.UI.Control.OnLoad(EventArgs e) +77
   System.Web.UI.Control.LoadRecursive() +130
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +2856


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