You are currently offline, waiting for your internet to reconnect

FIX: "Error saving map. Stored procedure returned non-zero result." error message when you deploy the BizTalk Server 2010 applications in BizTalk Server 2010 Administration Console

Symptoms
Consider the following scenario:
  • 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:
    • SCHEMA_ASSEMBLY
    • MAPPER_ASSEMBLY
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.
Cause
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.
Resolution

Cumulative update information

BizTalk Server 2009

The hotfix that resolves this issue is included in cumulative update package 7 for BizTalk Server 2009.
For more information about how to obtain the cumulative update package, see Cumulative update package 7 for BizTalk Server 2009.

BizTalk Server 2010

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.
Status
Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.
References
For information about the service packs and cumulative update list for BizTalk Server, see Service pack and cumulative update list for BizTalk Server.
For more information about BizTalk hotfixes and service packs support, see Information about BizTalk hotfixes and service pack support.
Properties

Article ID: 2673264 - Last Review: 12/01/2014 03:21:00 - Revision: 5.0

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

  • kbqfe kbfix kbexpertiseadvanced kbsurveynew kbbts KB2673264
Feedback
rePV = 1; var varClickTracking = 1; var varCustomerTracking = 1; var Route = "76500"; var Ctrl = ""; document.write(" ge-'+language.locale}}" href="" ng-click="setLanguage(language);" class="ng-binding" id="language-es-uy">Uruguay - Español
대한민국 - 한국어
España - Español
Paraguay - Español
Venezuela - Español
://c1.microsoft.com/c.gif?DI=4050&did=1&t="> var varCustomerTracking = 1; var Route = "76500"; var Ctrl = ""; document.write(" &did=1&t=">r m=document.createElement('meta');m.name='ms.dqp0';m.content='false';document.getElementsByTagName('head')[0].appendChild(m);" src="http://c1.microsoft.com/c.gif?"> >>