in

dashCommerce

An ASP.NET Open Source e-Commerce Application

what is this error?

Last post 06-23-2008 8:44 AM by dar. 0 replies.
Page 1 of 1 (1 items)
Sort Posts: Previous Next
  • 06-23-2008 8:44 AM

    • dar
    • Top 50 Contributor
    • Joined on 06-03-2008
    • Posts 17

    what is this error?

    when i click on a product to add it in cart, following error is displayed: 

    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.NullReferenceException: Object reference not set to an instance of an object.

    Source Error:

    Line 256:      Sku sku = new Sku("Sku", skuId);
    Line 257: if(sku.SkuId > 0) {
    Line 258: if ((!ThisPage.Product.AllowNegativeInventories) && (sku.Inventory > 0)) {
    Line 259: string previouslySelectedValue = ThisPage.Quantity.SelectedValue;
    Line 260: ThisPage.Quantity.Enabled = true;

    Source File: e:\dc_3.0_Source_B\Web\controls\attributeSelector.ascx.cs    Line: 258 

    waqar dar
    Filed under: , ,
Page 1 of 1 (1 items)