Microsoft KB Archive/813642

= PRB: &quot;The XML Query Returned Zero Nodes&quot; Error Message When You Run BizTalk Orchestration Schedule =

Article ID: 813642

Article Last Modified on 1/22/2003

-

APPLIES TO


 * Microsoft BizTalk Server 2002 Standard Edition

-



SYMPTOMS
BizTalk XLANG schedules do not complete, and you receive an error message similar to the following in the application event log of the computer running BizTalk Server: Date:    1/20/2003 Time:      2:49:17 PM Type:       Error User:      N/A Computer:  BIZTALKSERVER Source:    XLANG Scheduler Category:  WFBinding Event ID:  20487 Description: The XML Query returned zero nodes.

Instance ID: {051B7678-25F2-416A-BB0E-256ACDCAD5E0} Port name: CommonPO Queue path: biztalkserver.biztalk.com\private$\commonpo Message type: CommonPO Message name: CommonPO Correlation ID: {00000000-0000-0000-0000-000000000000}-00000000

Error Code = 0xc0045007 :

XLANG Scheduler Engine Internals Information: File: e:\bizet\private\sked\src\runtime\techbind\mq\linda\mqconvert.cpp Line: 272



CAUSE
This error message might occur if the XLANG Schedule tries to evaluate a value in a node that does not exist in the XML document that it is processing.



RESOLUTION
 Verify that the following are marked as Required by the associated schema:  any nodes that the Data page of your XLANG schedule references any nodes that any decision logic in the schedule references

You can set the Required property on the Reference tab for the node in the BizTalk Editor.  Click to select the Validate messages against the specification option in the Message Specification Information dialog box of the XML Communication wizard for the inbound port implementation of your XLANG Schedule. If you want to validate messages against a specification, and those messages are missing any Required nodes, the error message that appears in the application event log states the missing element or attribute. For example, instead of the error message in the &quot;Symptoms&quot; section, you receive an error message similar to the following: Date:      1/20/2003 Time:      2:49:17 PM Type:       Warning User:      N/A Computer:  BIZTALKSERVER Source:    XLANG Scheduler Category:  WFBinding Event ID:  23846 Description:

The Message Queuing message was not successfully validated against the schema that was provided. Check the schema and the schema path.

Instance ID: {50AB3E55-3DF8-411A-9149-275F9B23EA60} Port name: CommonPO Queue path: biztalkserver.biztalk.com\private$\commonpo Message type: CommonPO Message name: CommonPO Required attribute 'Number' is missing. Error Code = 0x80045d26 :

XLANG Scheduler Engine Internals Information: File: e:\bizet\private\sked\src\runtime\techbind\mq\linda\mqqueue.cpp Line: 1214 </ol>

<div class="status_section">

STATUS
This behavior is by design.

Keywords: kberrmsg kbprb KB813642

-

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

© Microsoft Corporation. All rights reserved.