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 4 of 4

Thread: Kit Product' detail page Error Message

  1. #1
    kgupta is offline Junior Member
    Join Date
    Oct 2010
    Posts
    13

    Default Kit Product' detail page Error Message

    Hi ,

    I have added the Kit product from the back end using the radio button list. But when I go to the Front side of the website and try to open the details page of the product. I recieved the below error:

    Assembly 'AspDotNetStorefrontControls, Version=9.0.1.3, Culture=neutral, PublicKeyToken=null' contains a Web resource with name 'AspDotNetStorefrontControls.Extenders.TextStateCh angePostbackBehavior.js', but does not contain an embedded resource with name 'AspDotNetStorefrontControls.Extenders.TextStateCh angePostbackBehavior.js'.
    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.InvalidOperationException: Assembly 'AspDotNetStorefrontControls, Version=9.0.1.3, Culture=neutral, PublicKeyToken=null' contains a Web resource with name 'AspDotNetStorefrontControls.Extenders.TextStateCh angePostbackBehavior.js', but does not contain an embedded resource with name 'AspDotNetStorefrontControls.Extenders.TextStateCh angePostbackBehavior.js'.

    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:


    [InvalidOperationException: Assembly 'AspDotNetStorefrontControls, Version=9.0.1.3, Culture=neutral, PublicKeyToken=null' contains a Web resource with name 'AspDotNetStorefrontControls.Extenders.TextStateCh angePostbackBehavior.js', but does not contain an embedded resource with name 'AspDotNetStorefrontControls.Extenders.TextStateCh angePostbackBehavior.js'.]
    System.Web.UI.WebResourceUtil.AssemblyContainsWebR esource(Assembly assembly, String resourceName) +345783
    System.Web.UI.WebResourceUtil.VerifyAssemblyContai nsReleaseWebResource(Assembly assembly, String releaseResourceName) +20
    System.Web.UI.ScriptReference.ShouldUseDebugScript (String releaseName, Assembly assembly, Boolean isDebuggingEnabled) +78
    System.Web.UI.ScriptReference.GetResourceName(Stri ng releaseName, Assembly assembly, Boolean isDebuggingEnabled) +20
    System.Web.UI.ScriptReference.GetUrlFromName(Scrip tManager scriptManager, IControl scriptManagerControl, Boolean zip) +51
    System.Web.UI.ScriptReference.GetUrl(ScriptManager scriptManager, Boolean zip) +196
    System.Web.UI.ScriptManager.RegisterUniqueScripts( List`1 uniqueScripts) +121
    System.Web.UI.ScriptManager.RegisterScripts() +386
    System.Web.UI.ScriptManager.OnPagePreRenderComplet e(Object sender, EventArgs e) +113
    System.Web.UI.Page.OnPreRenderComplete(EventArgs e) +8703326
    System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1029


    Any quick help would be appreciated.

    Kind Regards,
    Kanav

  2. #2
    ASPAlfred is offline Senior Member
    Join Date
    Nov 2007
    Posts
    2,244

    Default

    Do you have source or not? It seems like you're missing the TextStateChangePostbackBehavior.vb/cs Externders from AspDotNetStorefrontControls/Externder project. You can request the patch to be sent to your email by going to https://www.aspdotnetstorefront.com/t-knownissues.aspx. That link is only available as a free subscription through AspDotNetStorefront. To get access, add the following product to your cart and checkout free of charge: : http://www.aspdotnetstorefront.com/p...wn-issues.aspx

  3. #3
    kgupta is offline Junior Member
    Join Date
    Oct 2010
    Posts
    13

    Default

    Quote Originally Posted by AspDotNetStorefront Staff - Alfred View Post
    Do you have source or not? It seems like you're missing the TextStateChangePostbackBehavior.vb/cs Externders from AspDotNetStorefrontControls/Externder project. You can request the patch to be sent to your email by going to https://www.aspdotnetstorefront.com/t-knownissues.aspx. That link is only available as a free subscription through AspDotNetStorefront. To get access, add the following product to your cart and checkout free of charge: : http://www.aspdotnetstorefront.com/p...wn-issues.aspx
    Hi Alfred,

    Thank you for your response. Yes, I have the source code and my problem is resolved. But I have another question. On the back end when I try to add a kit product and Edit the Kit Product List .

    There is a Tab named "Inventory Variant Tab". When I Click on "Select" link there to select the variant. It give me another error:

    Server Error in '/GHM_CONNECT' Application.
    --------------------------------------------------------------------------------

    ExecuteReader: Connection property has not been initialized.
    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.InvalidOperationException: ExecuteReader: Connection property has not been initialized.

    Source Error:


    Line 132: Dim navigateToPage As Integer = e.Page
    Line 133:
    Line 134: Dim products As PaginatedList(Of ProductForKit) = ProductForKit.GetAll(ThisCustomer, searchFilter, alphaFilter, DEFAULT_PAGE_SIZE, navigateToPage)
    Line 135:
    Line 136:


    Source File: D:\OLB\Shopfastd\GHM_CONNECT\ghm-dashboard\kititeminventoryvariantlist.aspx.vb Line: 134

    Stack Trace:


    [InvalidOperationException: ExecuteReader: Connection property has not been initialized.]
    System.Data.SqlClient.SqlCommand.ValidateCommand(S tring method, Boolean async) +4875301
    System.Data.SqlClient.SqlCommand.RunExecuteReader( CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, DbAsyncResult result) +87
    System.Data.SqlClient.SqlCommand.RunExecuteReader( CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method) +32
    System.Data.SqlClient.SqlCommand.ExecuteReader(Com mandBehavior behavior, String method) +141
    System.Data.SqlClient.SqlCommand.ExecuteReader() +89
    AspDotNetStorefrontCore.ProductForKit.GetAll(Custo mer ThisCustomer, String alphaFilter, String searchFilter, Int32 pageSize, Int32 page) +1276
    AspDotNetStorefrontAdmin.Admin_kititeminventoryvar iantlist.ctrlSearch_ContentCreated(Object sender, FilterEventArgs e) in D:\OLB\Shopfastd\GHM_CONNECT\ghm-dashboard\kititeminventoryvariantlist.aspx.vb:134
    AspDotNetStorefrontControls.SearcheableTemplate.On ContentCreated(FilterEventArgs e) +86
    AspDotNetStorefrontControls.SearcheableTemplate.Cr eateChildControls() +2786
    System.Web.UI.Control.EnsureChildControls() +87
    System.Web.UI.Control.PreRenderRecursiveInternal() +44
    System.Web.UI.Control.PreRenderRecursiveInternal() +171
    System.Web.UI.Control.PreRenderRecursiveInternal() +171
    System.Web.UI.Control.PreRenderRecursiveInternal() +171
    System.Web.UI.Control.PreRenderRecursiveInternal() +171
    System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +842




    --------------------------------------------------------------------------------
    Version Information: Microsoft .NET Framework Version:2.0.50727.4952; ASP.NET Version:2.0.50727.4955

    Thank you for your help!
    Kanav

  4. #4
    kgupta is offline Junior Member
    Join Date
    Oct 2010
    Posts
    13

    Default

    Quote Originally Posted by AspDotNetStorefront Staff - Alfred View Post
    Do you have source or not? It seems like you're missing the TextStateChangePostbackBehavior.vb/cs Externders from AspDotNetStorefrontControls/Externder project. You can request the patch to be sent to your email by going to https://www.aspdotnetstorefront.com/t-knownissues.aspx. That link is only available as a free subscription through AspDotNetStorefront. To get access, add the following product to your cart and checkout free of charge: : http://www.aspdotnetstorefront.com/p...wn-issues.aspx
    Hi Alfred,

    thank you for your response. I have the source code and my problem is fixed. But I am getting another error in the backend while Editing the kit Products.

    When I edit the Kit Product List , there is a Tab named Inventory Variant. Under that tab there is grid containgng Select Link to select variant for each product of Kit. but when I click on SELECT , it give me the below error:

    Server Error in '/GHM_CONNECT' Application.
    --------------------------------------------------------------------------------

    ExecuteReader: Connection property has not been initialized.
    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.InvalidOperationException: ExecuteReader: Connection property has not been initialized.

    Source Error:


    Line 132: Dim navigateToPage As Integer = e.Page
    Line 133:
    Line 134: Dim products As PaginatedList(Of ProductForKit) = ProductForKit.GetAll(ThisCustomer, searchFilter, alphaFilter, DEFAULT_PAGE_SIZE, navigateToPage)
    Line 135:
    Line 136:


    Source File: D:\OLB\Shopfastd\GHM_CONNECT\ghm-dashboard\kititeminventoryvariantlist.aspx.vb Line: 134

    Stack Trace:


    [InvalidOperationException: ExecuteReader: Connection property has not been initialized.]
    System.Data.SqlClient.SqlCommand.ValidateCommand(S tring method, Boolean async) +4875301
    System.Data.SqlClient.SqlCommand.RunExecuteReader( CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, DbAsyncResult result) +87
    System.Data.SqlClient.SqlCommand.RunExecuteReader( CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method) +32
    System.Data.SqlClient.SqlCommand.ExecuteReader(Com mandBehavior behavior, String method) +141
    System.Data.SqlClient.SqlCommand.ExecuteReader() +89
    AspDotNetStorefrontCore.ProductForKit.GetAll(Custo mer ThisCustomer, String alphaFilter, String searchFilter, Int32 pageSize, Int32 page) +1276
    AspDotNetStorefrontAdmin.Admin_kititeminventoryvar iantlist.ctrlSearch_ContentCreated(Object sender, FilterEventArgs e) in D:\OLB\Shopfastd\GHM_CONNECT\ghm-dashboard\kititeminventoryvariantlist.aspx.vb:134
    AspDotNetStorefrontControls.SearcheableTemplate.On ContentCreated(FilterEventArgs e) +86
    AspDotNetStorefrontControls.SearcheableTemplate.Cr eateChildControls() +2786
    System.Web.UI.Control.EnsureChildControls() +87
    System.Web.UI.Control.PreRenderRecursiveInternal() +44
    System.Web.UI.Control.PreRenderRecursiveInternal() +171
    System.Web.UI.Control.PreRenderRecursiveInternal() +171
    System.Web.UI.Control.PreRenderRecursiveInternal() +171
    System.Web.UI.Control.PreRenderRecursiveInternal() +171
    System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +842




    --------------------------------------------------------------------------------
    Version Information: Microsoft .NET Framework Version:2.0.50727.4952; ASP.NET Version:2.0.50727.4955

    Thank you for your help!
    Kanav