You may receive the "Build failed" compiler error message in BizTalk Server 2004 (884412)
The information in this article applies to:
- Microsoft BizTalk Server 2004 Enterprise Edition
- Microsoft BizTalk Server 2004 Developer Edition
- Microsoft BizTalk Server 2004 Standard Edition
- Microsoft BizTalk Server 2004 Partner Edition
SYMPTOMSWhen you compile a Microsoft BizTalk solution, you may receive
error messages that are similar to the following. This problem occurs in Microsoft BizTalk Server 2004. Error message 1Build failed. Compiler for file type '*.xsd' failed. Value cannot be null.
Parameter name: pUnk Error message 2Build failed. Compiler for file type '*.btp' failed. Value cannot be null.
Parameter name: pUnk
CAUSEThis problem occurs if all the following conditions are true: - You run a Microsoft Windows Installer package on your BizTalk Server 2004. The Windows Installer package is created by using the BTSInstaller SDK sample.
- The Windows Installer package contains assemblies that are installed as part of BizTalk Server 2004.
- You subsequently run the uninstall routine that was created by using the Windows Installer package.
Note By default, the BTSInstaller SDK sample is installed in the following directory of your BizTalk Server 2004: \Program Files\Microsoft BizTalk Server 2004\SDK\Utilities\BTSInstaller RESOLUTIONTo resolve this problem, do not create the Windows Installer package by using the BTSInstaller SDK sample. The BTSInstaller SDK sample contains assemblies that you do not want to use. These assemblies are installed as part of BizTalk Server 2004. To make sure that the Windows Installer package excludes assemblies that are installed as part of BizTalk Server 2004, follow these steps: - In Solution Explorer, click BTSInstaller.
- On the View menu, point to Editor, and then click File System.
- In the left pane, click Application Folder.
- Click all files that are listed in the Application folder except the following files:
- Project outputs
- Non-BizTalk product assemblies that are referenced by project outputs
- Other custom assemblies and their dependencies
- Btsicustomaction.dll
- Btsiassemblyorder.dll
- Bindingschema.xsd
- Btstd.xml
- In the Property pane, click to select the True check box in the Exclude box.
Notice that all the files that you select are excluded in the Windows Installer file.
REFERENCESFor additional information about using the BTSInstaller utility for assembly deployment, visit the following Microsoft Developer Network (MSDN) Web site:
Modification Type: | Major | Last Reviewed: | 11/3/2004 |
---|
Keywords: | kbtshoot kbprb KB884412 kbAudDeveloper kbAudITPRO |
---|
|