You install one of the following updates on a computer that is running Microsoft BizTalk Server 2010:
Cumulative update package 1 for BizTalk Server 2010
Cumulative update package 2 for BizTalk Server 2010
Cumulative update package 3 for BizTalk Server 2010
You add resources or import MSI files to deploy the BizTalk Server 2010 applications that include the following BizTalk Server 2010 assemblies in BizTalk Server 2010 Administration Console:
In this scenario, you cannot deploy the BizTalk Server 2010 applications. Additionally, you receive the following error message:
Change requests failed for some resources. (Microsoft.BizTalk.ApplicationDeployment.Engine) BizTalkAssemblyResourceManager failed to complete end type change request. (Microsoft.BizTalk.ResourceManagers) Failed to deploy map "<Map name>". Error saving map. Stored procedure returned non-zero result. Check if source and target schemas are present. (Microsoft.BizTalk.Deployment)
Note The issue also occurs in BizTalk Server 2009.
This issue occurs because BizTalk tries to deploy the MAPPER_ASSEMBLY assembly before the SCHEMA_ASSEMBLY assembly. However, the MAPPER_ASSEMBLY assembly uses schemas in the SCHEMA_ASSEMBLY assembly.
The hotfix that resolves this issue is included in cumulative update package 4 for BizTalk Server 2010. For more information about how to obtain the cumulative update package, see Cumulative update package 4 for BizTalk Server 2010. Important To resolve this issue, install this hotfix on the Visual Studio machine and rebuild the mapper or schema DLL that was failing to deploy. Deployment will be successful with the new mapper or schema DLL.
Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.
Microsoft BizTalk Server Branch 2010, Microsoft BizTalk Server Developer 2010, Microsoft BizTalk Server Enterprise 2010, Microsoft BizTalk Server Standard 2010, Microsoft BizTalk Server 2009 Branch, Microsoft BizTalk Server 2009 Developer, Microsoft BizTalk Server 2009 Enterprise, Microsoft BizTalk Server 2009 Standard