PRB: Constants of Type UINT or INT Are Invalid Input Parameters for an Orchestration Scripting Component (312707)
The information in this article applies to:
- Microsoft BizTalk Server 2002
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.
STATUSThis behavior is by design.
Modification Type: | Major | Last Reviewed: | 3/20/2002 |
---|
Keywords: | kbprb KB312707 |
---|
|