SupportJPG
  Support Home   |   Search   |   Documentation
ArticleId = kb000090

PROBLEM: ASP scripts can't pass typed parameters to AVR Class.

The information in this article applies to:

    • ASNA Visual RPG, Release 3.1 and higher
    • ASP
    • VB Script
    • Web
    • ActiveX

SYMPTOMS:

When passing a parameter to a COM+ Component's method in Active Server Pages (ASP), the value stored in the variable passed to the method is not changed. Or the following error occurs: "Microsoft VBScript runtime error '800a000d' Type mismatch".

CAUSE:

VBScript will pass parameters to a method by value if the argument's data type is NOT declared as a variant and the parameter is passed by reference if the argument's data type is declared as variant by the method.

RESOLUTION:

AVR does not support the definition of a field or parameter as a variant data type. For this reason, passing parameters to an ASP is not currently supported for AVR developed objects. Consider using Properties instead.

MORE INFORMATION:

AVR Release 3.5 is expected to support variant data types.  You can obtain AVR 3.5 on our Download Page.

Microsoft KB Article:

Keywords: mismatch, web, parameter, variant, "data type", reference

Last Modified Date: 6/20/2005 11:20:53 AM

Copyright © 2005, 2006 ASNA Inc.

  Support Home   |   Search   |   Documentation