Server Error in '/' Application.

Products cannot be empty.

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.ApplicationException: Products cannot be empty.

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:


[ApplicationException: Products cannot be empty.]
   Vianett.Ecommerce.SystemFramework.ApplicationAssert.CheckCondition(Boolean condition, String errorText, Int32 lineNumber) in C:\projects\frigg\ecommerce\Publishing\SystemFramework\ApplicationAssert.cs:84
   Vianett.Ecommerce.BusinessFacade.OrderSystem.CalculateSummary(ProductCollection products, Summary summary, CustomerDataSet customer, Int32 postalCode, FreightTotalDiscount totalDiscount1, ShippingMethodData shippingMethod, PaymentMethodData paymentMethod, UrlConfigurationRow urlData, Boolean addOrderMode, Decimal giftcardDiscount, String currency, Boolean calculateVat, Boolean freightUseAutomaticFreightCalculation) in C:\projects\frigg\ecommerce\Publishing\BusinessFacade\Ecommerce\OrderSystem.cs:34
   Vianett.Publishing.Template.Order.GetSummary(Boolean addVatText, String currency, Boolean calculateVat, Boolean addOrderMode, Boolean checkShippingAndPaymentMethod, Decimal giftcardDiscount) in C:\projects\frigg\Website\Template\Ecommerce\Order.cs:137
   Vianett.Ecommerce.WebCode.ModuleBase.GetOrderSummary() in C:\projects\frigg\ecommerce\Publishing\WebCode\Code\modulebase.cs:291
   Vianett.Ecommerce.Web.checkoutquick.BindShippingMethods() in C:\projects\frigg\ecommerce\WebPublishing\shop\modules\publishing\checkout_quick.ascx.cs:416
   Vianett.Ecommerce.Web.checkoutquick.BindOrderShippingAndPaymentMethod() in C:\projects\frigg\ecommerce\WebPublishing\shop\modules\publishing\checkout_quick.ascx.cs:306
   Vianett.Ecommerce.Web.checkoutquick.Page_PreRender(Object sender, EventArgs e) in C:\projects\frigg\ecommerce\WebPublishing\shop\modules\publishing\checkout_quick.ascx.cs:70
   System.Web.UI.Control.OnPreRender(EventArgs e) +99
   System.Web.UI.Control.PreRenderRecursiveInternal() +200
   System.Web.UI.Control.PreRenderRecursiveInternal() +297
   System.Web.UI.Control.PreRenderRecursiveInternal() +297
   System.Web.UI.Control.PreRenderRecursiveInternal() +297
   System.Web.UI.Control.PreRenderRecursiveInternal() +297
   System.Web.UI.Control.PreRenderRecursiveInternal() +297
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +7479


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