FIX: Visual Basic Runtime Error When You Test Data in BizTalk Mapper (326578)



The information in this article applies to:

  • Microsoft BizTalk Server 2002

This article was previously published under Q326578

SYMPTOMS

When you try to test a map in the BizTalk Mapper by using a generated XML instance, you may receive the following error message:
The XSL transformation that uses the test-instance document for the source specification failed.
Reason: Microsoft VBScript runtime error
Subscript out of range: '9'
Line = 38, col = 4 (line is offset from the start of the script block).
Error returned from property or method call.
This problem can occur when you use multiple concatenation functoids. It can also occur when you use the cumulative concatenation functoids.

CAUSE

The generated XML instance causes the functoids to be called out of order, and causes indexes to be called before they are created.

RESOLUTION

Service Pack Information

To resolve this problem, obtain the latest service pack for Microsoft BizTalk Server 2002. For additional information, click the following article number to view the article in the Microsoft Knowledge Base:

815781 How to Obtain the Latest BizTalk Server 2002 Service Pack

Hotfix Information

A supported fix is now available from Microsoft, but it is only intended to correct the problem that is described in this article. Apply it only to computers that are experiencing this specific problem. This fix may receive additional testing. Therefore, if you are not severely affected by this problem, Microsoft recommends that you wait for the next service pack that contains this hotfix.

To resolve this problem immediately, contact Microsoft Product Support Services to obtain the fix. For a complete list of Microsoft Product Support Services phone numbers and information about support costs, visit the following Microsoft Web site:NOTE: In special cases, charges that are ordinarily incurred for support calls may be canceled if a Microsoft Support Professional determines that a specific update will resolve your problem. The typical support costs will apply to additional support questions and issues that do not qualify for the specific update in question.

The English version of this fix has the file attributes (or later) that are listed in the following table. The dates and times for these files are listed in coordinated universal time (UTC). When you view the file information, it is converted to local time. To find the difference between UTC and local time, use the Time Zone tab in the Date and Time tool in Control Panel.
   Date          Time    Version      Size      File name
   ----------------------------------------------------------------
   09-Sep-2002   22:14   3.0.1536.0   266,512   Cannedfunctoids.dll

				

Workaround

To avoid this problem, do not use the Generated XML to XML option in the BizTalk Mapper. Instead, use actual test data.

STATUS

Microsoft has confirmed that this is a bug in the Microsoft products that are listed at the beginning of this article. This problem was first corrected in Microsoft BizTalk Server 2002 Service Pack 1.

Modification Type:MinorLast Reviewed:10/12/2005
Keywords:kbHotfixServer kbQFE kbBizTalk2002SP1fix kbbug kberrmsg kbfix KB326578 kbAudDeveloper