≡ Menu


Just like web.config in asp.net and app.config in .net applicaiton.  BizTalk server stored configuration values in name value pair.

The File Name is “BTSNTSvc.Exe.Config”.

It is located at biztalk installation directory on you machines like

c:program files BizTalk Server 2006BTSNTSvc.exe.config

Sample config file look like this

<?xml version=”1.0″ ?>
<section name=”xlangs” type=”Microsoft.XLANGs.BizTalk.CrossProcess.XmlSerializationConfigurationSectionHandler, Microsoft.XLANGs.BizTalk.CrossProcess” />

<!– these settings are for BTS making HTTP/SOAP calls out, 2 concurrent connections is the default.
This should be in EVERY system where BTS is calling WebServices –>
<add address=”*” maxconnection=”40″/>
<assemblyBinding xmlns=”urn:schemas-microsoft-com:asm.v1″>
<probing privatePath=”BizTalk Assemblies;Developer Tools;Tracking;Trackinginterop” />
<provider id=”sspi” type=”Microsoft.BizTalk.XLANGs.BTXEngine.SecurityServerChannelSinkProvider,Microsoft.XLANGs.BizTalk.Engine” securityPackage=”ntlm” authenticationLevel=”packetPrivacy” />
<channel ref=”tcp” port=”0″ name=””>
<provider ref=”sspi” />
<formatter ref=”binary” typeFilterLevel=”Full”/>
<add key=”Key1″ value=”Hello, World!” />
<Configuration><!– MaxThreshold – “Max time in memory an Orch will reside before dehydrat” MinThreshold – “Min time” –>
<Dehydration MaxThreshold=”1800″ MinThreshold=”1″ ConstantThreshold=”-1″>
<!– Currently, virtual memory can become a bottleneck on 32-bit machines due to unmanaged heap fragmentation, so you should throttle by this resource as well. –>
<VirtualMemoryThrottlingCriteria OptimalUsage=”900″” MaximalUsage=”1300″ IsActive=”true” />
<!– This is a useful criterion for throttling, but appropriate values depend on whether the box is being shared among servers. If the machine has a lot of RAM and is not being shared with other functions, then these values can be significantly increased.Optimal and maximal usage are in MB.–>
<PrivateMemoryThrottlingCriteria OptimalUsage=”50″ MaximalUsage=”350″ IsActive=”true” />
<Debugging ValidateSchemas=”true” ValidateAssemblies=”true” ExtendedLogging=”true” ValidateCorrelations=”false” />
<AppDomains AssembliesPerDomain=”10″>
<AppDomainSpec Name=”DemoDomain” SecondsIdleBeforeShutdown=”-1″ SecondsEmptyBeforeShutdown=”12000″ />
<ExactAssignmentRule AssemblyName=”Configuration, Version=, Culture=neutral, PublicKeyToken=3a7d0586c62e754b” AppDomainName=”DemoDomain” />

It is very difficult to maintain BTSNTSvc.exe.config file if there are a lot of BizTalk application are running on BizTalk server. To easily maintained the BizTalk applications. The solution is to have separate configuration files for every application. Attach/import the path of these config files in BtsNTSvc.exe.config

1. In the “BtsNTSvc.exe.config” put an entry in the configSections

<?xml version=”1.0″ ?>
<section name=”MyAppSettings” type=”System.Configuration.NameValueFileSectionHandler, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089″ />
</ configSections>


2. In the “BtsNTSvc.exe.config” put an entry that associate the section with the external file

<?xml version=”1.0″ ?>






< MyAppSettings file=” MyApp.config” />


Two Important points to be noted

  1. 1. Please take the back up of BtsNTSvc.exe.config before modifying it.
  2. 2. After medication and save. Please restart the host instances.
{ 0 comments… add one }

Leave a Comment