Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

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


View products that this article applies to.

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.

↑ Back to the top


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.

↑ Back to the top


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.

↑ Back to the top


Status

Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.

↑ Back to the top


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 .

↑ Back to the top


Keywords: kb, kbqfe, kbfix, kbexpertiseadvanced, kbsurveynew, kbbts

↑ Back to the top

Article Info
Article ID : 2673264
Revision : 1
Created on : 1/7/2017
Published on : 12/1/2014
Exists online : False
Views : 404