Gokul's Blog

BizTalk Appsettings in a seperate file

Leave a comment

Using BTSNTSvc.exe.config to store the AppSettings value for BizTalk is a common practice.

We can use a separate file to store these values.

This can be achieved by following the steps below

1. In the appSettings element set its file attribute to the filename which will contain the appSettings
<appSettings file="MyFileName.Config">
<add key="WriteToDebugView" value="true"/>

2. Create the MyFileName.Config and store the content as follows
  <!– Common settings for all applications –>
  <add key="ConnectionString" value="Integrated Security=SSPI;Data Source=MyDS;Initial Catalog=MsgBoxDb" />
    <!– Settings for My Orchestration  –>
  <add key="DEBUG_FLAG" value="true"/>


Leave a Reply

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

WordPress.com Logo

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

Google+ photo

You are commenting using your Google+ 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 )


Connecting to %s