Microsoft KB Archive/822560

= BUG: &quot;This Page Is Entered with Invalid Parameters&quot; Error Message When You Use the Document Tracking Interface =

Article ID: 822560

Article Last Modified on 10/10/2003

-

APPLIES TO


 * Microsoft BizTalk Server 2002 Standard Edition

-



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.



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.



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:  In a text editor such as Notepad, open the Utils.vbs file for editing.  Locate the DecodeData function. Add the following line of code to the end of this function, directly before the line &quot;DecodeData = sData&quot;: sData = Replace(sData, &quot;%38&quot;, &quot;&&quot;)   ' <--- modified to correct ampersand issue   Locate the EncodeData function. Add the following line of code to the end of this function, directly before the line &quot;EncodeData = sData&quot;: sData = Replace(sData, &quot;&&quot;, &quot;%38&quot;)   ' <--- modified to correct ampersand issue  Save the file, and then quit the text editor.



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



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,   ) 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.

Keywords: kbbug kbpending KB822560

-

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

© Microsoft Corporation. All rights reserved.