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
Event ID: 1023
Task Category: None
Level: Error
Keywords: Classic
User: N/A
Computer: <ServerName>
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
Event ID: 1000
Task Category: (100)
Level: Error
Keywords: Classic
User: N/A
Computer: <ServerName>
Faulting application name: BTSNTSvc64.exe, version:, 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
Event ID: 7031
Task Category: None
Level: Error
Keywords: Classic
User: N/A
Computer: <ServerName>
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.


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.


Cumulative update information

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


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


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:
    <section name="xlangs" type="Microsoft.XLANGs.BizTalk.CrossProcess.XmlSerializationConfigurationSectionHandler, Microsoft.XLANGs.BizTalk.CrossProcess" />

  4. Locate to the </runtime> node, and add the following:
    <AppDomains AssembliesPerDomain="50">
    <DefaultSpec SecondsIdleBeforeShutdown="-1" SecondsEmptyBeforeShutdown="-1"/>

  5. Recycle the host.

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.

Need more help?

Expand your skills
Explore Training
Get new features first
Join Microsoft Insiders

Was this information helpful?

What affected your experience?

Thank you for your feedback!