StoreFront Ecommerce News for FrontPage & Dreamweaver
Press CTRL+D to Bookmark StoreFrontGoodies.com
Click Here to sign up for our Monthly Newsletter.

| Home | New Forum! | StoreFront 6 | StoreFront 6 Add Ons | Search Engine Optimization | Essential Tools | StoreFront 5 | StoreFront 2000 | SFG Partners | Participate | Suggestion Box | Security |

home > storefront 2000 > storefront 2000 knowledge base

| StoreFront 2000 Knowledge Base |


Type mismatch: 'GetProductInfo'
 

Posted Friday, April 23, 2004

StoreFront users may sometimes encounter the following error message while trying to test a Run-time Product Page, or a Product Page that contains run-time data elements.

Error Type: Microsoft VBScript runtime (0x800A000D) Type mismatch: 'getProductInfo' /pagename.asp, line 14

This error occurs when the additional code that is necessary to support run-time product pages is absent from the page. It is a simple matter to resolve the error by manually adding the missing code to the page. Follow the instructions below to resolve the error.

 

  1. Open your web store using FrontPage, Dreamweaver/UltraDev, or an FTP client.

  2. Once the web is open, open the Product Page where the error is occurring. Switch to HTML or code view.

  3. If you are using StoreFront 5.0, paste the following lines of code into the page at the very top, before the <HTML> tag.

    <%@ Language=VBScript %>
    <%
    Response.Buffer = True
    %>
    <!--#include file="SFLib/db.conn.open.asp"-->
    <!--#include file="SFLib/adovbs.inc"-->
    <!--#include file="SFLib/incgeneral.asp"-->
    <!--#include file="SFLib/incDesign.asp"-->
    <!--#include file="SFLib/incText.asp"-->
    <!--#include file="SFLib/product.asp"-->
    <SCRIPT LANGUAGE="javascript" SRC="SFLib/sfCheckErrors.js"></SCRIPT>
    <SCRIPT LANGUAGE="javascript" SRC="SFLib/sfEmailFriend.js"></SCRIPT>


    If you are using StoreFront 2000, add only this line of code to the top of the page:

    <!--#include file="SFLib/product.inc"-->

  4. Save the changes to the page and test it again. This should resolve the error. To avoid the error in the future, always use the StoreFront 5.0 or StoreFront 2000 Product Page Template when creating your Product Pages. You can find more information about the Product Page Template in the StoreFront Help Files.

Browse more...
StoreFront 2000 Knowledge Base