Microsoft KB Archive/312775

= &quot;Variable Uses an Automation Type Not Supported in VBScript&quot; Error Message Occurs When You Run NestedTxns =

Article ID: 312775

Article Last Modified on 12/10/2001

-

APPLIES TO


 * Microsoft BizTalk Server 2002 Standard Edition

-



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.

Keywords: kbbug kbpending KB312775

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.