HomeHome Product Discus... Product Discus...SmithCartSmithCartCart Error Out of MemoryCart Error Out of Memory
Previous
 
Next
New Post
3/2/2011 6:56 PM
 

I am getting this error when I click on checkout with products. How to fix it?

A critical error has occurred.
Exception of type 'System.OutOfMemoryException' was thrown.

 
New Post
3/2/2011 10:04 PM
 

Which version of the cart are you using? And what version of DNN?

This sounds like a server/windows/dnn portal issue not a cart issue. What type of hosting do you have? How much memory do you have on your server or allocated to your site. Can you post the error from the dnn event viewer if one exists. Also check your window logs to see if you can see a related error.

Thanks,

Christian

 
New Post
3/3/2011 6:18 AM
 

I have shared hosing. DNN version 5.06.01 Cart version 4.1.0. I don't know how much memory is on the server. This error only happens in the cart module the dnn site is working ok. This is the error message from the dnn event viewer:

AssemblyVersion: 5.6.1
PortalID: 0
PortalName: UserID: 12
UserName:
ActiveTabID: 113
ActiveTabName: Store
RawURL: /Store/tabid/113/ctl/Cart/mid/632/Default.aspx
AbsoluteURL: /Default.aspx
AbsoluteURLReferrer: https://www.mydomian.com/Store/tabid/...
UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.13) Gecko/20101203 Firefox/3.6.13 ( .NET CLR 3.5.30729)
DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider
ExceptionGUID: 2d457b85-ba33-4412-919e-acc72ae81101
InnerException: Exception of type 'System.OutOfMemoryException' was thrown.
FileName:
FileLineNumber: 0
FileColumnNumber: 0
Method: System.String.GetStringForStringBuilder
StackTrace:
Message: DotNetNuke.Services.Exceptions.PageLoadException: Exception of type 'System.OutOfMemoryException' was thrown. ---> System.OutOfMemoryException: Exception of type 'System.OutOfMemoryException' was thrown. at System.String.GetStringForStringBuilder(String value, Int32 startIndex, Int32 length, Int32 capacity) at System.Text.StringBuilder.GetNewString(String currentString, Int32 requiredLength) at System.Text.StringBuilder.Append(String value) at Smith.DNN.Modules.BuyNow.Cart.BuildUPSRequest(String accessKey, String userId, String password) at Smith.DNN.Modules.BuyNow.Cart.GetUPSRates() at Smith.DNN.Modules.BuyNow.Cart.GetShippingRates() at Smith.DNN.Modules.BuyNow.Cart.CalShippingRates() at Smith.DNN.Modules.BuyNow.Cart.SetShippingPanel() at Smith.DNN.Modules.BuyNow.Cart.InitializeShipping() at Smith.DNN.Modules.BuyNow.Cart.Page_Load(Object sender, EventArgs e) at System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) at System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) at System.Web.UI.Control.OnLoad(EventArgs e) at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) --- End of inner exception stack trace

 
New Post
3/3/2011 6:52 AM
 
pik10 wrote:

This error only happens in the cart module the dnn site is working ok.

It may only happen on the cart page, because the cart page is using more system resources then the rest of the site, however, it could possibly be that theirs a conflict in your settings somewhere, which payment gateway are you using? Can you take a screenshot of your site's settings and post it?


The error message is basicly saying that there is not enough memory avaiable to complete the requested task (in this case, viewing the cart)

Also, have you tried restarting the application or the server?

Thanks,

Christian

 
New Post
3/3/2011 7:13 AM
 

The cart page is on the same page as the buynow module. I am using paypal standard payment gateway. Restarting the application didn't help. I only have basic settings in the store.

 
New Post
3/3/2011 10:56 AM
 

When was the last time you reset IIS? OutOFMemoryException is normally a DNN error, not a cart error.

 
Previous
 
Next
HomeHome Product Discus... Product Discus...SmithCartSmithCartCart Error Out of MemoryCart Error Out of Memory