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.

BUG: "This Page Is Entered with Invalid Parameters" Error Message When You Use the Document Tracking Interface


View products that this article applies to.

Symptoms

When you try to use the Microsoft BizTalk Document Tracking interface, you may receive the following error message:
VBScript: BizTalk Document Tracking This page is entered with invalid parameters
When you click OK, you may receive the following error message:
Microsoft Internet Explorer: [Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified.
When you click OK in the second error message box, a blank query results window appears.

↑ Back to the top


Cause

The Document Tracking interface builds a query string that uses the organization names as parameters. If an organization name contains an ampersand character (&), the query string is not valid. Therefore, any ampersand characters that appear in the organization names must be escaped.

↑ Back to the top


Workaround

To work around this problem, you must modify the Utils.vbs file that is located in the Program Files\Microsoft BizTalk Server\BizTalkTracking\VBScripts folder. To do this, follow these steps:
  1. In a text editor such as Notepad, open the Utils.vbs file for editing.
  2. Locate the DecodeData function. Add the following line of code to the end of this function, directly before the line "DecodeData = sData":
    sData = Replace(sData, "%38", "&")    ' <--- modified to correct ampersand issue
    
  3. Locate the EncodeData function. Add the following line of code to the end of this function, directly before the line "EncodeData = sData":
    sData = Replace(sData, "&", "%38")    ' <--- modified to correct ampersand issue
    
  4. Save the file, and then quit the text editor.

↑ Back to the top


Status

Microsoft has confirmed that this is a bug in the Microsoft products that are listed at the beginning of this article.

↑ Back to the top


More information

Steps to Reproduce the Behavior

  1. Create an organization that has a name that contains an ampersand character (such as org&test).
  2. Create a messaging port to file. Use org&test for the destination organization.
  3. Create a channel that is bound to the port that you created in step 2. Use org&test for the source organization.
  4. In a blank document specification, enable tracking.
  5. Use a simple XML file (for example, <root></root>) to send a message by using either a receive function or the DirectIntegration tool that is included with the Microsoft BizTalk Server Software Development Kit (SDK). The DirectIntegration tool is located in the Microsoft BizTalk Server\SDK folder of your computer that is running BizTalk Server.
  6. Open the Document Tracking interface.
  7. Under Source Organizations, click only the org&test organization.
  8. Click Show documents.
  9. Click the document (if you use the example that appears in step 5, the document is root), and then click Query.

↑ Back to the top


Keywords: KB822560, kbbug, kbpending

↑ Back to the top

Article Info
Article ID : 822560
Revision : 4
Created on : 10/10/2003
Published on : 10/10/2003
Exists online : False
Views : 227