in

dashCommerce

An ASP.NET Open Source e-Commerce Application

I got another problem before solving previous one!!!!

Last post 06-19-2008 1:37 AM by dar. 1 replies.
Page 1 of 1 (2 items)
Sort Posts: Previous Next
  • 06-18-2008 6:34 AM

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

    I got another problem before solving previous one!!!!

    Problem:

    No product is displayed when i click at any 'Category Name' at left menu of dashCommerce site. I am using dashCommerce3 Source package. Just a messge 'Showing 1-4 of 4 Results' is displayed. Where are products description and their images??? :(

    when i tried to access Product's page by typing product url(with its ID) in browser, I got the following error message

    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:\Waqas Dar\days\03-06-2008\dc_3.0_Source_B\Web\controls\attributeSelector.ascx.cs    Line: 258

    Stack Trace:

    [NullReferenceException: Object reference not set to an instance of an object.]
    MettleSystems.dashCommerce.Web.controls.attributeSelector.GetInventory(String skuId) in e:\Waqas Dar\days\03-06-2008\dc_3.0_Source_B\Web\controls\attributeSelector.ascx.cs:258
    MettleSystems.dashCommerce.Web.product.LoadProduct() in e:\Waqas Dar\days\03-06-2008\dc_3.0_Source_B\Web\product.aspx.cs:260
    MettleSystems.dashCommerce.Web.product.Page_Load(Object sender, EventArgs e) in e:\Waqas Dar\days\03-06-2008\dc_3.0_Source_B\Web\product.aspx.cs:132
    System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) +15
    System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +33
    System.Web.UI.Control.OnLoad(EventArgs e) +99
    System.Web.UI.Control.LoadRecursive() +47
    System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1436

     

    kindly tell me, how to display products.

    Note: I also used dashCommerce3 WebReady package. It works fine and display all products efficiently with their images and name,description etc.

    But Source package doesn't:(

    Best Regards,

    Waqas dar  

    waqar dar
    Filed under:
  • 06-19-2008 1:37 AM In reply to

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

    Re: I got another problem before solving previous one!!!!

     I did it !

    I just copy all files from Webready package to web directory of Source package of dashCommerce.

    Everything is OK! 

    cheersWink

     

    waqar dar
Page 1 of 1 (2 items)