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.

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

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
Description:
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
turbo360

Back to Top