BUG: SDK Messaging Samples Do Not Compile without Errors (303054)



The information in this article applies to:

  • Microsoft BizTalk Server 2000

This article was previously published under Q303054

SYMPTOMS

Several Microsoft Visual C++ sample projects in the \Microsoft BizTalk Server\SDK folder will not compile without generating errors. See the "More Information" section of this article for specific projects and error messages.

RESOLUTION

Install the Microsoft XML (MSXML) 3.0 SDK release from the Microsoft Download Center: When the Xmlsdk.exe file has been downloaded, implement the following changes to the Visual C++ environment to compile the BizTalk Messaging samples:
  1. On the Tools menu, click Options.
  2. Click the Directories tab, and then add the following paths to the Directories area for Include files:

    <System Drive>\Program Files\Common Files\Microsoft Shared\Enterprise Servers\Commerce

    <Install Drive>\Program Files\Microsoft BizTalk Server\SDK\Include

    <Install Drive>\Program Files\Microsoft XML Parser SDK\inc

  3. Add the following path to the Directories area for Executable files:

    <Install Drive>\Program Files\Microsoft BizTalk Server

  4. Add the following path to the Directories area for Library files:

    <Install Drive>\Program Files\Microsoft XML Parser SDK\lib

  5. Implement the following changes to the \Program Files\Microsoft BizTalk Server\SDK\Messaging Samples\CustomPreProcessor\CustomPreProcessor.dsw workspace:

    1. Change the properties of all files in the folder so that they are not read-only.
    2. Open the CustomPreProcessor.dsw workspace.
    3. Change line 32 of file PreProcessor.cpp to #include <Msxml2.h>.
    4. On the Project menu, click Settings. The Project Settings dialog box appears.
    5. Click the Link tab and add Msxml2.lib to the list of libraries in the Object/library modules area.
  6. Implement the following changes to the \Program Files\Microsoft BizTalk Server\SDK\Messaging Samples\BTSAppIntegration\VC\ATL\AtlBTSComp.dsw workspace:

    1. Change the properties of all files in the folder so that they are not read-only.
    2. Open the AtlBTSComp.dsw workspace.
    3. Change line 6 of file BTSComp.cpp to #include <Msxml2.h>.
    4. On the Project menu, click Settings. The Project Settings dialog box appears.
    5. Click the Link tab and add Msxml2.lib to the list of libraries in the Object/library modules area.
  7. In the \Program Files\Microsoft BizTalk Server\SDK\Xlang Samples\Loop\LoopControl\LoopControl.dsw workspace, change the properties of all files in the folder so that they are not read-only.

STATUS

Microsoft has confirmed that this is a problem in BizTalk Server 2000.

MORE INFORMATION

Custom Preprocessor

Project Location: \Program Files\Microsoft BizTalk Server\SDK\Messaging Samples\CustomPreProcessor

Error Message:
midl : command line error MIDL1001 : cannot open input file btsaic.idl Error executing midl.exe.
CustomPreProcessor.dll - 1 error(s), 0 warning(s)

BTSAppIntegration

Project Location: \Program Files\Microsoft BizTalk Server\SDK\Messaging Samples\BTSAppIntegration

Error Message:
midl : command line error MIDL1001 : cannot open input file btsaic.idl Error executing midl.exe.
AtlBTSComp.dll - 1 error(s), 0 warning(s)

Pipeline Component

Project Location: \Program Files\Microsoft BizTalk Server\SDK\Messaging Samples\PipelineComponent

Error Message:
midl : command line error MIDL1001 : cannot open input file pipecomp.idl Error executing midl.exe.
AtlPipelineComp.dll - 1 error(s), 0 warning(s)

Loop Control

Project Location: \Program Files\Microsoft BizTalk Server\SDK\Xlang Samples\Loop\LoopControl

Error Message:
midl : error MIDL2212 : error while writing to file .\LoopControl.h Error executing midl.exe.
LoopControl.dll - 1 error(s), 0 warning(s)

REFERENCES

For additional information about how to download Microsoft Support files, click the following article number to view the article in the Microsoft Knowledge Base:

119591 How to Obtain Microsoft Support Files from Online Services

Microsoft scanned this file for viruses. Microsoft used the most current virus-detection software that was available on the date that the file was posted. The file is stored on security-enhanced servers that help to prevent any unauthorized changes to the file.

Modification Type:MinorLast Reviewed:8/5/2004
Keywords:kbdownload kbbug kbnofix KB303054