Microsoft KB Archive/312707

= PRB: Constants of Type UINT or INT Are Invalid Input Parameters for an Orchestration Scripting Component =

Article ID: 312707

Article Last Modified on 3/20/2002

-

APPLIES TO


 * Microsoft BizTalk Server 2002 Standard Edition

-



This article was previously published under Q312707



SYMPTOMS
If you map a constant value of the int data type to a Microsoft Visual Basic Script scripting component as a parameter on an Xlang schedule, the workflow may fail to complete and an error message that is similar to the following one is logged in the Application log:

Event Type: Error

Event Source: XLANG Scheduler

Event Category: Engine

Event ID: 12304

Date: 12/11/2001

Time: 10:42:39 AM

User: N/A

Computer: BIZTALKSERVER

Description:

The invoked method, whose dispatch ID is shown in the following message, reported an error. The name of the port on which the call was attempted is:

ParamPort

Error Code = 0x80020009 : Exception occurred.

Method #: 1

XLANG Scheduler Engine Internals Information:

File:

d:\biztalk_sp1\private\sked\src\runtime\techbind\com\combinder\IBindingExecutionContext.cpp

Line: 1417

However, if the parameter is passed to the scripting component programmatically (by using a script), you may see the following error message instead:

Script: C:\test\ParamPassing.vbs

Line: (17, 1)

Error: 0xC002302A

Code: C002302A

Source: (null)



CAUSE
This issue occurs because VBScript does not support the data types VT_INT or VT_BYREF.



RESOLUTION
To work around this issue, use the data type i4 instead of the data type int.



STATUS
This behavior is by design.

Keywords: kbnofix kbprb KB312707

-

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

© Microsoft Corporation. All rights reserved.