 |
 |
 |
home > storefront 2000 > 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.
- Open your web store using FrontPage, Dreamweaver/UltraDev, or an FTP client.
- Once the web is open, open the Product Page where the error is occurring. Switch to HTML or code view.
- 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"-->
- 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
|
|
|
|
 |
 |
 |
|