BUG: ThirdPartyApp.exe Shuts Down When You Click Reflect (302973)



The information in this article applies to:

  • Microsoft BizTalk Server 2000 SP1

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.

MORE INFORMATION

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.

Modification Type:MajorLast Reviewed:10/22/2003
Keywords:kbbug kbnofix KB302973