BizTalk Server Tutorial

BizTalk Server Concepts and Common Errors

How to Add a Custom Section to BTSNTSvc.exe.config (BizTalk Server Config File) ?

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


September 30, 2011 - Posted by | General, Interesting Ones… Have a Look | , , , , , ,


  1. then how to read the values from the added configuration file (C:\Test.xml). do we need to write any custom component??

    Comment by Anonymous | June 16, 2013 | Reply

  2. Put following section on top your configuration file under section, it will works:

    And rest that more sections you can create under

    Comment by Muhammad Kamran Khatri | March 9, 2012 | Reply

    • how to get the values from added config file (C:\Test.xml).. do we need to write any custom component for this??

      Comment by srikbob | June 16, 2013 | Reply

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: