If you want to add a Custom Section to the BizTalk Server Config file BTSNTSvc.exe.config, follow these Simple steps.

1. Take backup of Existing Config File.
2. Add the following Section as the First Child of Root Node.

    <section name=”MyConfigSection”  type=”System.Configuration.NameValueFileSectionHandler, System, Version=, Culture=neutral, PublicKeyToken=b77a5c561934e089 “/>

3. Add your new Config Section below the </configSections>

eg: <MyConfigSection file=”C:\Test.xml”></MyConfigSection>

Incase if you add any wrong section to the BTSNTSvc.exe.config file, you will not be able to start your host instance. You end up getting a weird error in Admin console which like below.

And below message will be shown up in EventLog.

Log Name: Application
Source: BizTalk Server
Date: 9/29/2011 1:49:01 PM
Event ID: 5410
Task Category: BizTalk Server
Level: Error
Keywords: Classic
User: N/A
Computer: ABC
A failure occurred when executing a Windows service request.

Service request: Start

BizTalk host name: BizTalkServerApplication
Windows service name: BTSSvc$BizTalkServerApplication

Additional error information:
Error code: 0x80131604
Error source: mscorlib
Error description: Exception has been thrown by the target of an invocation.

Hope it helps.
– Shiv

#1 all-in-one platform for Microsoft BizTalk Server management and monitoring
BizTalk Server

Over 650+ customers across
30+ countries depend on BizTalk360

Learn More

Operate efficiently with enterprise-grade Azure monitoring,
tracing, remediation & governance in one platform

Learn More

Back to Top