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: BizTalk Server crashes with error code 80131544 when you have installed the .NET Framework 4.5


View products that this article applies to.

Symptoms

Assume that you have installed the .NET Framework 4.5.x on a server that has Microsoft BizTalk Server 2010 or 2013 installed. After this, the BizTalk Host instances crash with error code 80131544 that resembles the following in the event log:
Log Name: Application
Source: .NET Runtime
Date:
Event ID: 1023
Task Category: None
Level: Error
Keywords: Classic
User: N/A
Computer: <ServerName>
Description:
Application: BTSNTSvc64.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an internal error in the .NET Runtime at IP 000007FDED170BC1 (000007FDECE00000) with exit code 80131544.
Log Name: Application
Source: Application Error
Date:
Event ID: 1000
Task Category: (100)
Level: Error
Keywords: Classic
User: N/A
Computer: <ServerName>
Description:
Faulting application name: BTSNTSvc64.exe, version: 3.10.229.0, time stamp: 0x50fe567a
Faulting module name: clr.dll, version: 4.0.30319.19106, time stamp: 0x51a512d4
Exception code: 0x80131544
Fault offset: 0x0000000000370bc1
Faulting process id: 0xca8
Faulting application start time: 0x01ceb6394f1dd32a
Faulting application path: <Disk Name>:\Program Files (x86)\Microsoft BizTalk Server 2013\BTSNTSvc64.exe
Faulting module path: <Disk Name>:\Windows\Microsoft.NET\Framework64\v4.0.30319\clr.dll
Report Id: <ReportId>
Faulting package full name:
Faulting package-relative application ID:
Log Name: System
Source: Service Control Manager
Date:
Event ID: 7031
Task Category: None
Level: Error
Keywords: Classic
User: N/A
Computer: <ServerName>
Description:
The BizTalk Service BizTalk Group : BTSOrchHost service terminated unexpectedly. It has done this 2 time(s). The following corrective action will be taken in 60000 milliseconds: Restart the service.


↑ Back to the top


Cause

This issue occurs because you install the .NET Framework 4.5 in your BizTalk Server environment, and it is not officially supported prior to Cumulative Update 7 (CU7) for BizTalk Server 2010. You have to use the .NET Framework 4.0 when you run BizTalk Server 2010 Cumulative Update 6 (CU6) or earlier.

↑ Back to the top


Resolution

Cumulative update information

This issue was first fixed in the following cumulative update of BizTalk Server:

↑ 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


Workaround

To work around the issue, turn off XLANG AppDomain Shutdown by following steps:
  1. Locate to your BizTalk Server folder. By default, it is C:\Program Files (x86)\Microsoft BizTalk Server 2013.
  2. Save a copy of the BTSNTSvc64.exe.config file by using a new name.

    Note Save a copy of the BTSNTSvc.exe.config file if it is a 32-bit host. You can check the error message to see whether the crash occurs to BTSNTSvc.exe or BTSNTSvc64.exe.
  3. Open the original file in notepad and locate the <configuration> node. Then, directly below it, add the following:
    <configSections>
    <section name="xlangs" type="Microsoft.XLANGs.BizTalk.CrossProcess.XmlSerializationConfigurationSectionHandler, Microsoft.XLANGs.BizTalk.CrossProcess" />
    </configSections>
  4. Locate to the </runtime> node, and add the following:
    <xlangs>
    <Configuration>
    <AppDomains AssembliesPerDomain="50">
    <DefaultSpec SecondsIdleBeforeShutdown="-1" SecondsEmptyBeforeShutdown="-1"/>
    </AppDomains>
    </Configuration>
    </xlangs>
  5. Recycle the host.

↑ Back to the top


More Information

Starting with CU7, BizTalk Server 2010 supports both .NET Framework 4.0 and 4.5.x for the runtime. CU7 can be installed either prior to or after you install the .NET Framework 4.5.x.

↑ Back to the top


Keywords: kb, kbqfe, kbfix, kbsurveynew, kbexpertiseadvanced

↑ Back to the top

Article Info
Article ID : 2909928
Revision : 1
Created on : 1/7/2017
Published on : 3/14/2016
Exists online : False
Views : 421