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

Article translations Article translations
Article ID: 2673264 - View products that this article applies to.
Expand all | Collapse all

On This Page

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)

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

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, click the following article number to view the article in the Microsoft Knowledge Base:
2667310 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, click the following article number to view the article in the Microsoft Knowledge Base:

2555976 Service pack and cumulative update list for BizTalk Server
For more information about BizTalk Server hotfixes, click the following article number to view the article in the Microsoft Knowledge Base:
2003907 Information about BizTalk Server hotfixes

Properties

Article ID: 2673264 - Last Review: December 13, 2012 - Revision: 4.0
Applies to
  • Microsoft BizTalk Server Branch 2010
  • Microsoft BizTalk Server Developer 2010
  • Microsoft BizTalk Server Enterprise 2010
  • Microsoft BizTalk Server Standard 2010
Keywords: 
kbqfe kbfix kbexpertiseadvanced kbsurveynew KB2673264

Give Feedback

 

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com