Microsoft KB Archive/302973

= BUG: ThirdPartyApp.exe Shuts Down When You Click Reflect =

Article ID: 302973

Article Last Modified on 10/22/2003

-

APPLIES TO


 * Microsoft BizTalk Server 2000 Service Pack 1

-



This article was previously published under Q302973



SYMPTOMS
When you run the ThirdPartyApp.exe program, which is located in the Microsoft BizTalk Server\SDK\XLANG Samples\Integrating BizTalk Services\BTF Correlation\ThirdPartyApp folder, the following error message occurs if you click Reflect before you click Get Message:

Run-time error '5':

Invalid procedure call or argument.

The program shuts down after you click OK.



CAUSE
If you do not use the Get Message button to retrieve a message from the queue, there is no message to prepare for the Reflect button. Instead of handling the error and generating a warning, the program causes a runtime error and shuts down.



RESOLUTION
Make sure that a message is retrieved before you click Reflect.



STATUS
Microsoft has confirmed that this is a problem in BizTalk Server 2000 SP1.



Steps to Reproduce This Behavior

 * 1) Run Setup.cmd and SubmitDoc.cmd in the Microsoft BizTalk Server\SDK\XLANG Samples\Integrating BizTalk Services\BTF Correlation folder.
 * 2) Run ThirdPartyApp.exe, which is located in the Microsoft BizTalk Server\SDK\XLANG Samples\Integrating BizTalk Services\BTF Correlation\ThirdPartyApp folder.
 * 3) Click Reflect.

Additional query words: SDK XLANG Integrating BizTalk Services

Keywords: kbbug kbnofix KB302973

-

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

© Microsoft Corporation. All rights reserved.