"Variable Uses an Automation Type Not Supported in VBScript" Error Message Occurs When You Run NestedTxns (312775)



The information in this article applies to:

  • Microsoft BizTalk Server 2002

This article was previously published under Q312775

SYMPTOMS

When you run the NestedTxns sample, which is located in the Program Files\Microsoft BizTalk Server\SDK\XLANG Samples\NestedTxns folder, the following error message occurs:
[27,13] Variable uses an Automation type not supported in VBScript

CAUSE

Currently, the XLANG engine does not convert the int type to a variant when passing it to a Microsoft Visual Basic Script component. Microsoft Visual Basic Script only supports variant data types.

RESOLUTION

To correct the sample, click the data tab on the NestedTxns.skv schedule, and then change the data types of the 11 constants from int to i4. Recompile NestedTxns.skv to NestedTxns.skx.

STATUS

Microsoft has confirmed that this is a problem in Microsoft BizTalk Server 2002.

Modification Type:MajorLast Reviewed:12/10/2001
Keywords:kbbug KB312775