Miscellaneous Errors in BizTalk Server 2000 SDK Samples (281473)



The information in this article applies to:

  • Microsoft BizTalk Server 2000

This article was previously published under Q281473

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

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.

Modification Type:MajorLast Reviewed:10/17/2003
Keywords:kbpending kbprb KB281473