Important Notice from AspDotNetStorefront
It is with dismay that we report that we have been forced, through the action of hackers, to shut off write-access to this forum. We are keen to leave the wealth of material available to you for research. We have opened a new forum from which our community of users can seek help, support and advice from us and from each other. To post a new question to our community, please visit: http://forums.vortx.com
Results 1 to 3 of 3

Thread: Bug 9.1.3 - Edit Kit - Object not found

  1. #1
    lambrite is offline Senior Member
    Join Date
    Jun 2007
    Posts
    116

    Default Bug 9.1.3 - Edit Kit - Object not found

    I'm using the VB version of 9.0.1.3.

    I am adding a kit procuct for the first time, following instructions here.

    On clicking the EditKit link, I get the following error message:

    Page URL:/StoreFront/web/sfmgmt/editkit2.aspx
    Source:App_Web_-utyzzto
    Message:Object reference not set to an instance of an object.
    Stack Trace:
    at AspDotNetStorefrontAdmin.Admin_editkit2.Initialize DataSources() in C:\StoreFront\Web\sfmgmt\editkit2.aspx.vb:line 242
    at AspDotNetStorefrontAdmin.Admin_editkit2.OnInit(Eve ntArgs e) in C:\StoreFront\Web\sfmgmt\editkit2.aspx.vb:line 52
    at System.Web.UI.Control.InitRecursive(Control namingContainer)
    at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)


    Is anyone else having this problem?

  2. #2
    lambrite is offline Senior Member
    Join Date
    Jun 2007
    Posts
    116

    Default Bug Fix - New Kit Product

    In the vb version, update the sub InitializeDataSources() at line 241 of /admin/editkit2.aspx.vb so that the first line of code is:

    C#/VB.NET Code:
    If Me.Kit Is Nothing Then Kit = New KitProductData 

    Furthermore, in ASPDNSFCore - KitProduct.vb, after line 2518, you'll need to add

    C#/VB.NET Code:
    cmd.Connection conn 

    But even with that, the items do not save/redisplay properly...
    Last edited by lambrite; 09-28-2010 at 08:38 AM. Reason: additional fix required

  3. #3
    wuchun is offline Junior Member
    Join Date
    Sep 2010
    Posts
    1

    Default éclairage

    Quote Originally Posted by lambrite View Post
    In the vb version, update the sub InitializeDataSources() at line 241 of /admin/editkit2.aspx.vb so that the first line of code is:

    C#/VB.NET Code:
    If Me.Kit Is Nothing Then Kit = New KitProductData 

    Furthermore, in ASPDNSFCore - KitProduct.vb, after line 2518, you'll need to add

    C#/VB.NET Code:
    cmd.Connection conn 

    But even with that, the items do not save/redisplay properly...
    éclairage`````````````````````````````