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.Runtime.CompilerServices.RuntimeHelpers._CompileMethod(IRuntimeMethodInfo method) +0
   System.Reflection.Emit.DynamicMethod.CreateDelegate(Type delegateType) +14262195
   System.Data.Linq.SqlClient.ObjectReaderCompiler.Compile(SqlExpression expression, Type elementType) +789
   System.Data.Linq.SqlClient.SqlProvider.GetReaderFactory(SqlNode node, Type elemType) +132
   System.Data.Linq.SqlClient.SqlProvider.System.Data.Linq.Provider.IProvider.Execute(Expression query) +310
   System.Data.Linq.Table`1.System.Linq.IQueryProvider.Execute(Expression expression) +51
   PintorProject.ECommerceSystem.Comercial.Client.GetConfig() in C:\Programming\PintorProject.Platform\PintorProject.ECommerceSystem\Comercial\Client.cs:419
   PintorProject.ECommerceSystem.Comercial.Basket.getBasket(fce_currency Currency, Client Client, User User, Nullable`1 warehouseUid) in C:\Programming\PintorProject.Platform\PintorProject.ECommerceSystem\Comercial\Basket.cs:447
   PintorProject.ECommerceSystem.Comercial.Basket.getBasket(fce_currency Currency) in C:\Programming\PintorProject.Platform\PintorProject.ECommerceSystem\Comercial\Basket.cs:403
   PintorProject.ECommerceSystem.Comercial.Basket.getBasket() in C:\Programming\PintorProject.Platform\PintorProject.ECommerceSystem\Comercial\Basket.cs:394
   WebPartLogin.main.RegisterAjaxBehaivor() +143
   WebPartLogin.main.Page_Load(Object sender, EventArgs e) +3866
   System.Web.UI.Control.OnLoad(EventArgs e) +108
   System.Web.UI.Control.LoadRecursive() +90
   System.Web.UI.Control.LoadRecursive() +185
   System.Web.UI.Control.LoadRecursive() +185
   System.Web.UI.Control.LoadRecursive() +185
   System.Web.UI.Control.LoadRecursive() +185
   System.Web.UI.Control.LoadRecursive() +185
   System.Web.UI.Control.LoadRecursive() +185
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1533


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