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: SDK Messaging Samples Do Not Compile without Errors


View products that this article applies to.

This article was previously published under Q303054

↑ Back to the top


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.

↑ Back to the top


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:

a. Change the properties of all files in the folder so that they are not read-only.
b. Open the CustomPreProcessor.dsw workspace.
c. Change line 32 of file PreProcessor.cpp to #include <Msxml2.h>.
d. On the Project menu, click Settings. The Project Settings dialog box appears.
e. 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:

a. Change the properties of all files in the folder so that they are not read-only.
b. Open the AtlBTSComp.dsw workspace.
c. Change line 6 of file BTSComp.cpp to #include <Msxml2.h>.
d. On the Project menu, click Settings. The Project Settings dialog box appears.
e. 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.

↑ Back to the top


Status

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

↑ Back to the top


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)

↑ Back to the top


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.

↑ Back to the top


Keywords: KB303054, kbnofix, kbbug, kbdownload

↑ Back to the top

Article Info
Article ID : 303054
Revision : 6
Created on : 8/5/2004
Published on : 8/5/2004
Exists online : False
Views : 438