Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

PRB: "The XML Query Returned Zero Nodes" Error Message When You Run BizTalk Orchestration Schedule


View products that this article applies to.

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

↑ Back to the top


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.

↑ Back to the top


Resolution

  1. 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.
  2. 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 "Symptoms" 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

↑ Back to the top


Status

This behavior is by design.

↑ Back to the top


Keywords: KB813642, kbprb, kberrmsg

↑ Back to the top

Article Info
Article ID : 813642
Revision : 3
Created on : 1/22/2003
Published on : 1/22/2003
Exists online : False
Views : 263