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_Id(Int32 _IdSanPham, Int32 _IdKieuHienThi_) +53
   PUPLIC_SHOP_PC2_SanPham_San_Pham.Page_Load(Object sender, EventArgs e) +258
   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