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: GetVariantPrice in ASPDNSF ver8

  1. #1
    mc9000 is offline Member
    Join Date
    Aug 2007
    Posts
    83

    Default GetVariantPrice in ASPDNSF ver8

    I'm not sure if this is a package issue or not.
    I'm using the XmlPackage entity.gridwithprices.xml.config (unmodified) for Categories and Manufacturers and get the following
    error:

    XmlPackage Exception: Exception=Last Trace Point=[]. An error occurred during a call to extension function 'GetVariantPrice'. See InnerException for a complete description of the error.

    Error Calling XSLTExtension Function GetVariantPrice: Invalid value specified for TaxClassID ()


    System.ArgumentException: Last Trace Point=[]. An error occurred during a call to extension function 'GetVariantPrice'. See InnerException for a complete description of the error.

    Error Calling XSLTExtension Function GetVariantPrice: Invalid value specified for TaxClassID ()

    at AspDotNetStorefrontCore.XmlPackage2.TransformStrin g() in D:\sites\iammo\ASPDNSFCore\XmlPackage2.vb:line 548 at AspDotNetStorefrontCore.AppLogic.RunXmlPackage(Xml Package2 p, Parser UseParser, Customer ThisCustomer, Int32 SkinID, Boolean ReplaceTokens, Boolean WriteExceptionMessage) in D:\sites\iammo\ASPDNSFCore\AppLogic.vb:line 1018


    Any ideas?

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

    Default

    Looks to be just a configuration issue in the admin. Do you have any value assigned in the Tax Class drop down list on the product's page (see below)?
    Name:  taxclass.jpg
Views: 94
Size:  6.4 KB

    Also, in the variant's page, do you have a value specified in the price field already?
    Name:  price.jpg
Views: 96
Size:  3.0 KB

  3. #3
    mc9000 is offline Member
    Join Date
    Aug 2007
    Posts
    83

    Default

    Sorry, meant to post back earlier on this.

    The solution is to shutdown Visual Studio 2008 and restart.

    I get strange errors now and then, and restarting VS helps every time.