Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

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


View products that this article applies to.

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

↑ Back to the top


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.

↑ Back to the top


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.

↑ Back to the top


Status

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

↑ Back to the top


Keywords: KB312775, kbpending, kbbug

↑ Back to the top

Article Info
Article ID : 312775
Revision : 3
Created on : 12/10/2001
Published on : 12/10/2001
Exists online : False
Views : 318