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.

Miscellaneous Errors in BizTalk Server 2000 SDK Samples


View products that this article applies to.

This article was previously published under Q281473

↑ Back to the top


Symptoms

Several SDK samples included with BizTalk Server 2000 contain syntax errors. The files can be modified manually to correct the problems.

The following files in the Program Files\Microsoft BizTalk Server\SDK\Messaging Samples directory have a specific computer name:
\BTSAppIntegration\VB\config.vbs
\BTSAppIntegration\VC\ATL\config.vbs
\PipelineComponent\VB\config.vbs
\PipelineComponent\VC\ATL\config.vbs
The following files in the Program Files\Microsoft BizTalk Server\Messaging Samples directory contain a misspelling:
\CustomPreProcessor\CustomPreProcessor.cpp
\CustomPreProcessor\CustomPreProcessor.idl
\CustomPreProcessor\PreProcessor.cpp
\CustomPreProcessor\PreProcessor.h
\CustomPreProcessor\readme.txt
\CustomPreProcessor\StdAfx.cpp
\CustomPreProcessor\StdAfx.h
\SampleFunctoid\ConvDateFormat.cls
\SampleImporter\CustImport.cls
\VBCustPreProcessor\readme.txt
\VBCustPreProcessor\VBCustPreProcessor.cls

↑ Back to the top


Workaround

The Config.vbs files listed in the "Symptoms" section of this article contain a reference to a specific computer name, CSIPOS2B. This reference should be the actual target WebDav computer. (Localhost does not work). These files are used to set up the configurations for the samples. To use the local server where the script is being executed, replace the following code in each of the Config.vbs files:
doc.reference = "http://CSIPOS2B/BizTalkServerRepository/DocSpecs/Microsoft/CommonPO.xml"
				
with:
Dim WshNetwork
Set WshNetwork = WScript.CreateObject("WScript.Network")
doc.reference = "http://" & WshNetwork.ComputerName & "/BizTalkServerRepository/DocSpecs/Microsoft/CommonPO.xml"
				
To set the WebDav reference to specific server name, replace CSIPOS2B with the correct server name.

The files in the second list contain a misspelling. To resolve this problem, use a text editor to perform a search and replace to change "Micorsoft" to "Microsoft" in each of these files.

↑ Back to the top


Keywords: KB281473, kbpending, kbprb

↑ Back to the top

Article Info
Article ID : 281473
Revision : 3
Created on : 10/17/2003
Published on : 10/17/2003
Exists online : False
Views : 460