Article ID: 884412 - Last Review: March 23, 2007 - Revision: 1.2 You may receive the “Build failed” compiler error message in BizTalk Server 2004SYMPTOMSWhen 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 1 Build failed. Compiler for file type '*.xsd' failed. Value cannot be null. Parameter name: pUnk Error message 2 Build failed. Compiler for file type '*.btp' failed. Value cannot be null.
Parameter name: pUnk CAUSEThis problem occurs if all the following conditions are true:
\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:
MORE INFORMATIONWhen you use the BTSInstaller utility to add a BizTalk project to the Application folder, the BTSInstaller
utility automatically includes all referenced assemblies. This includes assemblies that you install as part of the BizTalk Server 2004 product in the Windows Installer file. After you deploy the Windows Installer file, you may later decide to uninstall it. The Windows Installer file also uninstalls the BizTalk Server 2004 assemblies. This can cause an inoperative BizTalk Server 2004 environment. If this problem occurs, you can use Add or Remove Programs in Control Panel to repair your BizTalk Server 2004 installation. To repair your BizTalk Server 2004 installation, follow these steps:
REFERENCESFor additional information about using the BTSInstaller utility for assembly deployment, visit the following Microsoft Developer Network (MSDN) Web site: http://msdn2.microsoft.com/en-us/library/ms966455.aspx
(http://msdn2.microsoft.com/en-us/library/ms966455.aspx)
| Article Translations
|
Back to the top
